Sha256: 2f3f9b98b20cef5c48d09ebbf26ed7c4e56ee7ca8319421fecee593c99eae6f7
Contents?: true
Size: 765 Bytes
Versions: 4
Compression:
Stored size: 765 Bytes
Contents
require 'simplecov' module SimpleCov # SimpleCov configuration module Configuration def clean_filters @filters = [] end end end SimpleCov.configure do clean_filters load_profile 'test_frameworks' end ENV['COVERAGE'] && SimpleCov.start do add_filter '/.rvm/' add_filter '/.rubies/' add_filter '/vendor/' end $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) require 'rspec' require 'quickstart' # Requires supporting files with custom matchers and macros, etc, # in ./support/ and its subdirectories. Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } RSpec.configure do |config| config.expect_with :rspec do |c| c.syntax = :expect end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
quickstart-0.8.11 | spec/spec_helper.rb |
quickstart-0.8.2 | spec/spec_helper.rb |
quickstart-0.8.1 | spec/spec_helper.rb |
quickstart-0.8.0 | spec/spec_helper.rb |