Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix description about not_equal method
  • Loading branch information
tbaba committed Sep 28, 2012
1 parent fca7cca commit 7222b10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/where_spec.rb
Expand Up @@ -6,7 +6,7 @@
it { should =~ /WHERE "users"."name" = 'matz'/ }
end

describe '#=~' do
describe '#!=' do
subject { User.where { :name != 'nobu' }.to_sql }
it { should =~ /WHERE \("users"."name" != 'nobu'\)/ }
end
Expand Down

0 comments on commit 7222b10

Please sign in to comment.