summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDanilo Sousa <dsgoncalves@uoldiveo.com>2016-02-19 16:37:32 -0200
committerDanilo Sousa <code@danilosousa.net>2016-02-19 22:01:28 -0200
commit3a57984ed70d7d217147b4d7341dff86aeceed70 (patch)
tree03761cbaa77ad4e3c70f01b1d9d9ea25fd4e5d6c /spec
parenta486e086fc3b52f26ade94e58a16fa2150fc9cae (diff)
fix intermitent failing of version tests
Diffstat (limited to 'spec')
-rw-r--r--spec/cli_spec.rb3
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 {