summaryrefslogtreecommitdiff
path: root/spec/acceptance
diff options
context:
space:
mode:
authorHunter Haugen <hunter@puppetlabs.com>2015-01-13 17:21:28 -0800
committerHunter Haugen <hunter@puppetlabs.com>2015-01-13 17:21:28 -0800
commitbfb526899f215f3fde98ff00cf5f63aa51e657db (patch)
treef91e80e728343d58c9eca73269a11b5a29434265 /spec/acceptance
parent8db1f2e2f082cd688fa061fd6840cd0cea747232 (diff)
downloadpuppet-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-xspec/acceptance/fqdn_rotate_spec.rb2
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}'")