spec/spec_helper.rb in watir-webdriver-0.6.2 vs spec/spec_helper.rb in watir-webdriver-0.6.3
- old
+ new
@@ -1,14 +1,10 @@
# encoding: utf-8
$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
-if ENV['coverage']
- raise "simplecov only works on Ruby 1.9" unless RUBY_VERSION =~ /^1\.9/
-
- require 'simplecov'
- SimpleCov.start { add_filter "spec/" }
-end
+require 'coveralls'
+Coveralls.wear!
require 'watir-webdriver'
require 'locator_spec_helper'
require 'rubygems'
require 'rspec'