diff options
author | Danilo Sousa <dsgoncalves@uoldiveo.com> | 2016-02-19 16:37:32 -0200 |
---|---|---|
committer | Danilo Sousa <dsgoncalves@uoldiveo.com> | 2016-02-19 16:37:32 -0200 |
commit | e1cc9a2350702b7db1438eb17c163230d7c9b0f3 (patch) | |
tree | 07f6db5f2f4c05a67b369a7b1e1784b8471b9831 /spec/cli_spec.rb | |
parent | dcecaecf90767bc7cc3b5aed85309fee1d67a6e6 (diff) |
fix intermitent failing of version tests
Diffstat (limited to 'spec/cli_spec.rb')
-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 { |