empezar 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -0
- data/lib/empezar/runner.rb +1 -1
- data/lib/empezar/version.rb +1 -1
- data/spec/empezar/runner_spec.rb +1 -1
- metadata +1 -1
data/.gitignore
CHANGED
data/lib/empezar/runner.rb
CHANGED
@@ -9,7 +9,7 @@ module Empezar
|
|
9
9
|
unless File.exist? argument
|
10
10
|
raise ConfigurationFileMissingException, "The configuration file is missing from '#{argument}'"
|
11
11
|
end
|
12
|
-
Empezar::Configuration.instance.merge SymbolMatrix.new argument
|
12
|
+
Empezar::Configuration.instance.merge! SymbolMatrix.new argument
|
13
13
|
end
|
14
14
|
|
15
15
|
def self.start_logger
|
data/lib/empezar/version.rb
CHANGED
data/spec/empezar/runner_spec.rb
CHANGED
@@ -55,7 +55,7 @@ describe Empezar::Runner do
|
|
55
55
|
File.stub :exist? => true
|
56
56
|
config_stub = stub 'config'
|
57
57
|
SymbolMatrix.should_receive(:new).with('config/main.yaml').and_return config_stub
|
58
|
-
Empezar::Configuration.instance.should_receive(:merge).with(config_stub)
|
58
|
+
Empezar::Configuration.instance.should_receive(:merge!).with(config_stub)
|
59
59
|
|
60
60
|
Empezar::Runner.start_configuration 'config/main.yaml'
|
61
61
|
end
|