Sha256: 4a0f040fb14dd2f59e9a8e7b7f981aa1acad2928808fd4aff35bf9ad2a1165fd
Contents?: true
Size: 766 Bytes
Versions: 3
Compression:
Stored size: 766 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 '<%= name %>' # 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
quickstart-0.8.11 | doc/examples/gem/spec/spec_helper.rb |
quickstart-0.8.2 | doc/examples/gem/spec/spec_helper.rb |
quickstart-0.8.1 | doc/examples/gem/spec/spec_helper.rb |