Skip to content

Commit

Permalink
supporting ruby 1.9.2-head
Browse files Browse the repository at this point in the history
  • Loading branch information
lfcipriani committed Aug 17, 2010
1 parent 8262c47 commit d0c666e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ end

desc "Run test coverage (need cover_me gem)"
task :coverage do
ENV[:coverage] = "true"
ENV["coverage"] = "true"
Rake::Task["test"].invoke
end

Expand Down
4 changes: 2 additions & 2 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
if ENV[:coverage]
if ENV["coverage"]
require 'cover_me'
CoverMe.config do |c|
# where is your project's root:
Expand All @@ -13,4 +13,4 @@
require 'rubygems'
require 'ruby-debug'

require 'lib/punkt-segmenter'
require 'punkt-segmenter'

0 comments on commit d0c666e

Please sign in to comment.