Sha256: bcc491a410e6a1e65e5fcea0265cf1ac4f48ac065ba3fbc69f4dc23693ad765e
Contents?: true
Size: 351 Bytes
Versions: 2
Compression:
Stored size: 351 Bytes
Contents
require "spec_helper" describe "Fetcher::Mongoid::Models::Db" do context "when i create a PersonUser" do before do Fetcher::Mongoid::Models::Db.new "./config/main.yml" @personuser = PersonUser.new end it "should return true when inserted" do @personuser.save.should == true end after do @personuser.remove end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fetcher-mongoid-models-0.0.2 | spec/models/person_user_spec.rb |
fetcher-mongoid-models-0.0.1 | spec/models/person_user_spec.rb |