summaryrefslogtreecommitdiff
path: root/spec/cli_spec.rb
diff options
context:
space:
mode:
authorKodApa85 <parsons151185@gmail.com>2018-04-27 13:48:47 +0100
committerGitHub <noreply@github.com>2018-04-27 13:48:47 +0100
commita40bb72e78755891ec84f5a4378c30114dae8316 (patch)
tree5e057527f163fa1bea10cbdc7318b035ff939200 /spec/cli_spec.rb
parentdbbe6af563072b62e373a9824c6a23482d20896e (diff)
parentf530a50a949310aa9996d764eeaaba7458b7d6b6 (diff)
Merge branch 'master' into xgs4600-cli
Diffstat (limited to 'spec/cli_spec.rb')
-rw-r--r--spec/cli_spec.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/cli_spec.rb b/spec/cli_spec.rb
index bf6058a..8b9b792 100644
--- a/spec/cli_spec.rb
+++ b/spec/cli_spec.rb
@@ -2,11 +2,11 @@ require 'spec_helper'
require 'oxidized/cli'
describe Oxidized::CLI do
- before(:each) do
- @original = ARGV
- Oxidized.asetus = Asetus.new
+ before(:each) do
+ @original = ARGV
+ Oxidized.asetus = Asetus.new
end
-
+
after(:each) do
ARGV.replace @original
end
@@ -21,7 +21,7 @@ describe Oxidized::CLI do
File.expects(:expand_path)
Kernel.expects(:exit)
- assert_output("#{Oxidized::VERSION}\n") { Oxidized::CLI.new }
+ assert_output("#{Oxidized::VERSION_FULL}\n") { Oxidized::CLI.new }
end
end
end