diff options
author | Hunter Haugen <hunter@puppetlabs.com> | 2015-01-14 09:17:24 -0800 |
---|---|---|
committer | Hunter Haugen <hunter@puppetlabs.com> | 2015-01-14 09:17:24 -0800 |
commit | 462bea8d802a8130113ef7b3a0047e89d8e6581f (patch) | |
tree | 1ad28545798d047c922f8615e2de40f12e3c5590 | |
parent | 712a58a5ce1f8465710dacad49ca2e60c5d0150e (diff) | |
parent | 39fa2d1bd8e88d08ace75dcbcb8fa98c555550b1 (diff) |
Merge pull request #398 from puppetlabs/master
Pull in RSpec 3.0 fixes.
-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}'") |