gave the assertion a failure message

This commit is contained in:
Dane Harrigan 2011-06-04 21:35:04 -04:00
parent 6a756881f9
commit b2ab245835
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ When /^I change "(.*)" to contain "(.*)"$/ do |file, text|
end
Then /^the (.*) directory should exist$/ do |dir|
assert File.directory?(dir)
assert File.directory?(dir), "The directory \"#{dir}\" does not exist"
end
Then /^I should see "(.*)" in "(.*)"$/ do |text, file|