Skip to content

Commit

Permalink
Fix spec on find_first method
Browse files Browse the repository at this point in the history
  • Loading branch information
taki committed Nov 29, 2015
1 parent 121dc54 commit f1116b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/shared_examples/example_app_shared.rb
Expand Up @@ -90,7 +90,7 @@ def reload_model(model)
end

it 'should return nil if no conditions match' do
user_adapter.find_first(name: 'Betty').should.nil?
user_adapter.find_first(name: 'Betty').should be_nil
end

# it 'should return the first model if no conditions passed' do
Expand Down

0 comments on commit f1116b0

Please sign in to comment.