spec/cases/mongoscript_spec.rb in mongoscript-0.0.8 vs spec/cases/mongoscript_spec.rb in mongoscript-0.0.9

- old
+ new

@@ -16,10 +16,10 @@ Object.stubs(:const_defined?).with("Mongoid").returns(true) MongoScript.orm_adapter.should == MongoScript::ORM::MongoidAdapter end it "raises a NoORMError if no Mongo ORM is available" do - MongoScript.stubs(:const_defined?).with("Mongoid").returns(false) + Object.stubs(:const_defined?).with("Mongoid").returns(false) expect { MongoScript.orm_adapter }.to raise_exception(MongoScript::NoORMError) end end end \ No newline at end of file