spec/spec_helper.rb in rubydora-1.8.1 vs spec/spec_helper.rb in rubydora-1.9.0
- old
+ new
@@ -1,21 +1,14 @@
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
+require 'simplecov'
+SimpleCov.start
-if ENV['COVERAGE'] and RUBY_VERSION =~ /^1.9/
- require 'simplecov'
- require 'simplecov-rcov'
-
- SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter
- SimpleCov.start
-end
-
require 'rspec/autorun'
require 'rubydora'
require 'webmock/rspec'
WebMock.allow_net_connect!
RSpec.configure do |config|
-
end