summaryrefslogtreecommitdiff
path: root/spec/unit/application/apply_spec.rb
diff options
context:
space:
mode:
authorDavid Workman <workmad3@gmail.com>2014-09-14 15:43:39 +0100
committerDavid Workman <workmad3@gmail.com>2014-09-14 15:43:39 +0100
commit75fa6a4bfcdb9f413779cf11c9caace4e433df0c (patch)
tree9df61fc577752ef6effde344db8a7c0f754c4f5b /spec/unit/application/apply_spec.rb
parentf196d2037c9dcffe5a03b12cc3f009503455c638 (diff)
downloadchef-75fa6a4bfcdb9f413779cf11c9caace4e433df0c.tar.gz
Ensuring no arguments interfere with tests
Pushed the ARGV.clear statement required for the apply_spec file up into a before(:suite).
Diffstat (limited to 'spec/unit/application/apply_spec.rb')
-rw-r--r--spec/unit/application/apply_spec.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/unit/application/apply_spec.rb b/spec/unit/application/apply_spec.rb
index 913faee3a2..be06612cd9 100644
--- a/spec/unit/application/apply_spec.rb
+++ b/spec/unit/application/apply_spec.rb
@@ -28,7 +28,6 @@ describe Chef::Application::Apply do
describe "configuring the application" do
it "should set solo mode to true" do
- ARGV.clear
@app.reconfigure
Chef::Config[:solo].should be_true
end