Skip to content

Commit

Permalink
Add magic comment for Ruby2.0.0
Browse files Browse the repository at this point in the history
Ruby2.0.0 default encoding is UTF-8 instead of US_ASCII
  • Loading branch information
sanemat committed Dec 15, 2012
1 parent 0320ab6 commit 304a38f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions 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') }

Expand Down

0 comments on commit 304a38f

Please sign in to comment.