diff options
author | sersut <serdar@opscode.com> | 2014-03-18 10:55:23 -0700 |
---|---|---|
committer | sersut <serdar@opscode.com> | 2014-03-18 12:40:16 -0700 |
commit | 3c76ef6baf49f2bb57644255b7311c44ee3b24c5 (patch) | |
tree | 7f8f39e126e02324e5d365be8fec75ecb702c11a /spec | |
parent | b5bb8b6a041823851624b2ce21d02196500f49fa (diff) | |
download | chef-3c76ef6baf49f2bb57644255b7311c44ee3b24c5.tar.gz |
Updates based on PR comments.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/unit/application/client_spec.rb | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/spec/unit/application/client_spec.rb b/spec/unit/application/client_spec.rb index 80427e3f15..02ea0035dc 100644 --- a/spec/unit/application/client_spec.rb +++ b/spec/unit/application/client_spec.rb @@ -150,17 +150,10 @@ describe Chef::Application::Client, "run_application", :unix_only do describe "when splay is set" do before do - @original_splay = Chef::Config[:splay] - @original_interval = Chef::Config[:interva] Chef::Config[:splay] = 1 Chef::Config[:interval] = 10 end - - after do - Chef::Config[:splay] = @original_splay - Chef::Config[:interval] = @original_interval - end - + it "shouldn't sleep when sent USR1" do pid = fork do @app.run_application |