Sha256: 913146a83961500b1f56283cae9b7af359f453ee5dd31b7c7bc302f0e7f28161
Contents?: true
Size: 374 Bytes
Versions: 2
Compression:
Stored size: 374 Bytes
Contents
require 'spec_helper' describe 'Fetcher::Mongoid::Models::Db' do context 'When I create a filter' do before do Fetcher::Mongoid::Models::Db.new "./config/main.yml" @filter = Filter.new end it 'should return true when inserted on the db' do @filter.save.should == true end after do @filter.remove end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fetcher-mongoid-models-0.0.2 | spec/models/filter_spec.rb |
fetcher-mongoid-models-0.0.1 | spec/models/filter_spec.rb |