diff options
author | Hunter Haugen <hunter@puppetlabs.com> | 2015-01-13 17:21:28 -0800 |
---|---|---|
committer | Hunter Haugen <hunter@puppetlabs.com> | 2015-01-13 17:21:28 -0800 |
commit | bfb526899f215f3fde98ff00cf5f63aa51e657db (patch) | |
tree | f91e80e728343d58c9eca73269a11b5a29434265 /spec/acceptance | |
parent | 8db1f2e2f082cd688fa061fd6840cd0cea747232 (diff) | |
download | puppet-stdlib-bfb526899f215f3fde98ff00cf5f63aa51e657db.tar.gz puppet-stdlib-bfb526899f215f3fde98ff00cf5f63aa51e657db.tar.bz2 |
Change all to each
The existence of this directory is behavior for each test, but will also
stop rspec 3 from complaining.
Diffstat (limited to 'spec/acceptance')
-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}'") |