Skip to content

Commit bfb5268

Browse files
committed
Change all to each
The existence of this directory is behavior for each test, but will also stop rspec 3 from complaining.
1 parent 8db1f2e commit bfb5268

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/acceptance/fqdn_rotate_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
after :each do
2222
shell("if [ -f '#{facts_d}/fqdn.txt' ] ; then rm '#{facts_d}/fqdn.txt' ; fi")
2323
end
24-
before :all do
24+
before :each do
2525
#No need to create on windows, PE creates by default
2626
if fact('osfamily') !~ /windows/i
2727
shell("mkdir -p '#{facts_d}'")

0 commit comments

Comments
 (0)