Skip to content

Commit

Permalink
Fix travis failure
Browse files Browse the repository at this point in the history
  • Loading branch information
durran committed Jan 14, 2012
1 parent 41e8ed4 commit 6ff71c1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions spec/unit/rails/mongoid_spec.rb
Expand Up @@ -15,9 +15,7 @@
end

before do
Rails::Mongoid.expects(:determine_model).with(
"spec/app/models/account.rb"
).returns(model)
Rails::Mongoid.expects(:determine_model).returns(model)
model.expects(:create_indexes).raises(Mongo::MongoArgumentError)
end

Expand Down

0 comments on commit 6ff71c1

Please sign in to comment.