Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix 1.8.7 in cuke land too

  • Loading branch information...
commit 2baef5d1553077e1a73df7164428fc940ba7fd5e 1 parent 9ab2bf2
@bensie bensie authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  features/step_definitions/general_steps.rb
View
2  features/step_definitions/general_steps.rb
@@ -13,7 +13,7 @@
@klass.class_eval do
define_method(:upcase) do
content = File.read(current_path)
- File.write(current_path, content.upcase)
+ File.open(current_path, 'w') { |f| f.write content.upcase }
end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.