diff options
author | Travis Fields <cyberious@users.noreply.github.com> | 2015-01-13 17:26:14 -0800 |
---|---|---|
committer | Travis Fields <cyberious@users.noreply.github.com> | 2015-01-13 17:26:14 -0800 |
commit | 39fa2d1bd8e88d08ace75dcbcb8fa98c555550b1 (patch) | |
tree | f91e80e728343d58c9eca73269a11b5a29434265 /spec | |
parent | 8db1f2e2f082cd688fa061fd6840cd0cea747232 (diff) | |
parent | bfb526899f215f3fde98ff00cf5f63aa51e657db (diff) |
Merge pull request #396 from hunner/change_each
Change all to each
Diffstat (limited to 'spec')
-rwxr-xr-x | spec/acceptance/fqdn_rotate_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/acceptance/fqdn_rotate_spec.rb b/spec/acceptance/fqdn_rotate_spec.rb index c37b35a..753068b 100755 --- a/spec/acceptance/fqdn_rotate_spec.rb +++ b/spec/acceptance/fqdn_rotate_spec.rb @@ -21,7 +21,7 @@ describe 'fqdn_rotate function', :unless => UNSUPPORTED_PLATFORMS.include?(fact( after :each do shell("if [ -f '#{facts_d}/fqdn.txt' ] ; then rm '#{facts_d}/fqdn.txt' ; fi") end - before :all do + before :each do #No need to create on windows, PE creates by default if fact('osfamily') !~ /windows/i shell("mkdir -p '#{facts_d}'") |