Skip to content

Commit

Permalink
Merge pull request #1059 from takiy33/fix-spec-on-find-first-method
Browse files Browse the repository at this point in the history
Fix spec on find_first method
  • Loading branch information
cheerfulstoic committed Nov 29, 2015
2 parents ef1e74f + f1116b0 commit 094f54f
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 094f54f

Please sign in to comment.