aboutsummaryrefslogtreecommitdiffstats
path: root/spec/shared/relation_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/shared/relation_spec.rb')
-rw-r--r--spec/shared/relation_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/shared/relation_spec.rb b/spec/shared/relation_spec.rb
index 06e8fd2027..1407dddb2a 100644
--- a/spec/shared/relation_spec.rb
+++ b/spec/shared/relation_spec.rb
@@ -37,7 +37,7 @@ share_examples_for 'A Relation' do
it "finds rows with a not predicate" do
expected = @expected.select { |r| r[@relation[:age]] != @pivot[@relation[:age]] }
- @relation.where(@relation[:age].not(@pivot[@relation[:age]])).should have_rows(expected)
+ @relation.where(@relation[:age].noteq(@pivot[@relation[:age]])).should have_rows(expected)
end
it "finds rows with a less than predicate" do