Skip to content

Commit cfb156a

Browse files
committed
Still debugging
1 parent 7c8db73 commit cfb156a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/hook/step_definitions/running-a-deploy-hook-steps.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def write_ruby_deploy_hook(callback_name, content)
161161
end
162162

163163
Given %r{^my app's (.+) ruby deploy hook contains syntax errors$} do |callback_name|
164-
write_ruby_deploy_hook(callback_name, ')_!$')
164+
write_ruby_deploy_hook(callback_name, "# encoding: UTF-8\n\n)_!$")
165165
end
166166

167167
Then %r{^I see a notice about the (.+) syntax error$} do |callback_name|

0 commit comments

Comments
 (0)