diff --git a/features/step_definitions/steps.rb b/features/step_definitions/steps.rb index 0e733d2..846467c 100644 --- a/features/step_definitions/steps.rb +++ b/features/step_definitions/steps.rb @@ -96,7 +96,7 @@ end Then(/^Text File "([^"]+)" contains "([^"]+)"$/) do |file, substring| - raise "File #{file} doesn't exit" unless File.exist?(file) + raise "File #{file} doesn't exist" unless File.exist?(file) content = File.read(file) raise "File #{file} doesn't contain \"#{substring}\":\n#{content}" \