Sha256: 1f0284ae3f6b8ae3eb861a93fc78b089a2a474fd38f173ae3fb9302d5b038eca

Contents?: true

Size: 734 Bytes

Versions: 10

Compression:

Stored size: 734 Bytes

Contents

ENV['RAILS_ENV'] = 'test'
require 'bundler/setup'
require 'lurker'

require 'simplecov'
SimpleCov.start do
  filters.clear # This will remove the :root_filter that comes via simplecov's defaults
  add_filter do |src|
    # WTF??? if erb_schema_context gets into .resultset.json second time
    # coveralls WONT calculate overall coverage... o_O
    src.filename =~ /erb_schema_context/ || !(src.filename =~ /^#{SimpleCov.root}\/lib\/lurker/)
  end
end

Dir[File.expand_path '../support/**/*.rb', __FILE__].each { |file| require file }

RSpec.configure do |config|
  config.treat_symbols_as_metadata_keys_with_true_values = true
  config.run_all_when_everything_filtered = true
  config.filter_run :focus
  config.order = 'random'
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
lurker-0.6.12 spec/spec_helper.rb
lurker-0.6.11 spec/spec_helper.rb
lurker-0.6.10 spec/spec_helper.rb
lurker-0.6.9 spec/spec_helper.rb
lurker-0.6.8 spec/spec_helper.rb
lurker-0.6.7 spec/spec_helper.rb
lurker-0.6.6 spec/spec_helper.rb
lurker-0.6.5 spec/spec_helper.rb
lurker-0.6.4 spec/spec_helper.rb
lurker-0.6.3 spec/spec_helper.rb