X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=spec%2Fspec_helper.rb;fp=spec%2Fspec_helper.rb;h=608ead7b893277f3dafb59144be0775ccc12172b;hb=e2bfe13863188f286cdfda010aac750591a7e027;hp=eacf13a1111c5deca2597a36531cac6a943090b7;hpb=2978dd081219adda6952feb65b1782cfe749f133;p=graph.njae.git diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index eacf13a..608ead7 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,12 +1,4 @@ -$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) -$LOAD_PATH.unshift(File.dirname(__FILE__)) -require 'rspec' -require 'graph.njae' - -# Requires supporting files with custom matchers and macros, etc, -# in ./support/ and its subdirectories. -Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f} +require 'simplecov' +SimpleCov.start -RSpec.configure do |config| - -end +require 'graph.njae'