Skip to content

Commit

Permalink
Change all to each
Browse files Browse the repository at this point in the history
The existence of this directory is behavior for each test, but will also
stop rspec 3 from complaining.
  • Loading branch information
hunner committed Jan 14, 2015
1 parent 8db1f2e commit bfb5268
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/acceptance/fqdn_rotate_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
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}'")
Expand Down

0 comments on commit bfb5268

Please sign in to comment.