spec/railtie_spec.rb in couch_potato-1.10.0 vs spec/railtie_spec.rb in couch_potato-1.10.1
- old
+ new
@@ -85,10 +85,10 @@
context 'yaml file contains additional_databases' do
it 'assigns additional_databases to config' do
allow(File).to receive_messages(:read => "test:\n database: test\n additional_databases:\n db2: test2")
- expect(CouchPotato::Config).to receive(:additional_databases=).with('db2' => 'test2')
+ expect(CouchPotato::Config).to receive(:additional_databases=).with({'db2' => 'test2'})
CouchPotato.rails_init
end
end