Sha256: f09d41a5a5388b87809e426207c9b13e512bd9877144b05245c90368714d93bc
Contents?: true
Size: 340 Bytes
Versions: 1
Compression:
Stored size: 340 Bytes
Contents
require "spec_helper" describe "Fetcher::Mongoid::Models::Db" do context "when i create a user" do before do Fetcher::Mongoid::Models::Db.new "./config/main.yml" end let(:user) {User.new} it "should return true when inserted in database" do user.save.should be_true end after do user.remove end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fetcher-mongoid-models-0.0.0 | spec/models/user_spec.rb |