Permalink
Browse files

Add magic comment for Ruby2.0.0

Ruby2.0.0 default encoding is UTF-8 instead of US_ASCII
  • Loading branch information...
1 parent 0320ab6 commit 304a38f7b02e51a6d5eb1919e1a422dca7825771 @sanemat sanemat committed Dec 15, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/capybara/spec/session/screenshot.rb
@@ -1,3 +1,4 @@
+#coding: US-ASCII
Capybara::SpecHelper.spec "#save_screenshot" do
let(:image_path) { File.join(Dir.tmpdir, 'capybara-screenshot.png') }

0 comments on commit 304a38f

Please sign in to comment.