X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=spec%2Fspec_helper.rb;h=608ead7b893277f3dafb59144be0775ccc12172b;hb=07acbb1582f12f3dcde0351277cc42a36e61e87b;hp=eacf13a1111c5deca2597a36531cac6a943090b7;hpb=7f38e9910061e8a71db6dac57327ca1f5d3c27cd;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'