diff options
author | Elvin Efendi <elvin.efendiyev@gmail.com> | 2016-06-02 22:34:19 +0200 |
---|---|---|
committer | Elvin Efendi <elvin.efendiyev@gmail.com> | 2016-06-02 22:34:19 +0200 |
commit | 7000d42b8634396b518568939bb1f6ac9e49e4d3 (patch) | |
tree | 0ec7c2f2dd6bd3132d3f5cd9654938dc86363ec3 /spec/cli_spec.rb | |
parent | 684f9b60fc6ffcc028081304de9c70cae793095f (diff) |
fix specs
Diffstat (limited to 'spec/cli_spec.rb')
-rw-r--r-- | spec/cli_spec.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/cli_spec.rb b/spec/cli_spec.rb index 0a6c91b..b248766 100644 --- a/spec/cli_spec.rb +++ b/spec/cli_spec.rb @@ -9,11 +9,9 @@ describe Oxidized::CLI do %w[-v --version].each do |option| describe option do - before { ARGV.replace [option] } + before { ARGV.push(option) } it 'prints the version and exits' do - Oxidized::Config.expects(:load) - Oxidized.expects(:setup_logger) Kernel.expects(:exit) proc { |