spec/empezar/runner_spec.rb in empezar-0.0.1 vs spec/empezar/runner_spec.rb in empezar-0.0.2
- old
+ new
@@ -53,10 +53,10 @@
context 'the configuration file exists' do
it 'should initialize the configuration with the argument' do
File.stub :exist? => true
config_stub = stub 'config'
SymbolMatrix.should_receive(:new).with('config/main.yaml').and_return config_stub
- Empezar::Configuration.instance.should_receive(:merge).with(config_stub)
+ Empezar::Configuration.instance.should_receive(:merge!).with(config_stub)
Empezar::Runner.start_configuration 'config/main.yaml'
end
end
\ No newline at end of file