Sha256: 9ad5864bd55e0158b89027dc32beab2ebda7e0bdcfcb0681c23506dafd542c19
Contents?: true
Size: 392 Bytes
Versions: 1
Compression:
Stored size: 392 Bytes
Contents
require 'spec_helper' describe 'DatabaseRewinder::InsertRecorder#execute' do before do DatabaseRewinder.init Foo.create! name: 'foo1' Bar.create! name: 'bar1' DatabaseRewinder.cleaners end subject { DatabaseRewinder.instance_variable_get(:'@cleaners').detect {|c| c.db == ':memory:'} } its(:inserted_tables) { should == %w(foos bars) } its(:pool) { should be } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
database_rewinder-0.0.1 | spec/active_record_monkey_spec.rb |