diff options
author | ytti <saku@ytti.fi> | 2016-02-20 18:12:42 +0200 |
---|---|---|
committer | ytti <saku@ytti.fi> | 2016-02-20 18:12:42 +0200 |
commit | 0b12bab3015e2968af3f57cee17ce39200d7306e (patch) | |
tree | 3cecb581ba3cff894bf160f83fd0bd4a90104274 /spec | |
parent | 0c9b345159b7cb70994d95bdd07a191fc3ad23d8 (diff) | |
parent | 4bc8dd6144c96901caf16e3090bb6114444c37c0 (diff) |
Merge pull request #331 from danilopopeye/config-root-env-var
config root env var
Diffstat (limited to 'spec')
-rw-r--r-- | spec/cli_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/cli_spec.rb b/spec/cli_spec.rb index 783d9c8..0a6c91b 100644 --- a/spec/cli_spec.rb +++ b/spec/cli_spec.rb @@ -12,7 +12,8 @@ describe Oxidized::CLI do before { ARGV.replace [option] } it 'prints the version and exits' do - Oxidized::Config.expects(:load).returns(asetus) + Oxidized::Config.expects(:load) + Oxidized.expects(:setup_logger) Kernel.expects(:exit) proc { |