test/faked_project/spec/spec_helper.rb in simplecov-0.9.2 vs test/faked_project/spec/spec_helper.rb in simplecov-0.10.0
- old
+ new
@@ -1,15 +1,11 @@
-require 'bundler/setup'
+require "bundler/setup"
# We're injecting simplecov_config via aruba in cucumber here
# depending on what the test case is...
begin
- require File.join(File.dirname(__FILE__), 'simplecov_config')
-rescue LoadError => err
+ require File.join(File.dirname(__FILE__), "simplecov_config")
+rescue LoadError
$stderr.puts "No SimpleCov config file found!"
end
-require 'faked_project'
-
-RSpec.configure do |config|
- # some (optional) config here
-end
+require "faked_project"