From 340929fc158e80601722e0898427da4ba18ca2e9 Mon Sep 17 00:00:00 2001 From: Darshana Venkatesh Date: Wed, 18 Dec 2024 09:05:36 -0800 Subject: [PATCH] change context statement to when --- spec/mongoid/association_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/mongoid/association_spec.rb b/spec/mongoid/association_spec.rb index 2ebeac80cd..3850280e9b 100644 --- a/spec/mongoid/association_spec.rb +++ b/spec/mongoid/association_spec.rb @@ -116,7 +116,7 @@ class AssocationSpecModel end end - context "validation tests on associated values" do + context "when validation depends on association" do before(:all) do class Author include Mongoid::Document