summaryrefslogtreecommitdiff
path: root/spec/functional/resource/windows_path_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/functional/resource/windows_path_spec.rb')
-rw-r--r--spec/functional/resource/windows_path_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/functional/resource/windows_path_spec.rb b/spec/functional/resource/windows_path_spec.rb
index 912abe6b24..1d08d6113c 100644
--- a/spec/functional/resource/windows_path_spec.rb
+++ b/spec/functional/resource/windows_path_spec.rb
@@ -35,7 +35,7 @@ describe Chef::Resource::WindowsPath, :windows_only do
end
describe "adding path" do
- after { remove_path }
+ after do remove_path end
it "appends the user given path in the Environment variable Path" do
subject.run_action(:add)
@@ -44,7 +44,7 @@ describe Chef::Resource::WindowsPath, :windows_only do
end
describe "removing path" do
- before { add_path }
+ before do add_path end
it "removes the user given path from the Environment variable Path" do
subject.run_action(:remove)