Skip to content
This repository was archived by the owner on Nov 2, 2019. It is now read-only.

Commit

Permalink
Making the directory test more specific
Browse files Browse the repository at this point in the history
  • Loading branch information
Demitri Swan committed Aug 13, 2016
1 parent 942a073 commit b816eb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/unit/vagrant_spec_test/command_spec/init_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def execute_protection_proc
context 'when the @directory does not exist' do
it '#execute creates the @directory' do
execute_protection_proc.call
expect(FileUtils).to receive(:mkdir)
expect(FileUtils).to receive(:mkdir).with(subject.directory)
subject.execute
end
end
Expand Down

0 comments on commit b816eb7

Please sign in to comment.