Sha256: eb0fbbfa70eda22968a5532d1d34f0326e817732948513d824cb533cbe1d8d49

Contents?: true

Size: 645 Bytes

Versions: 3

Compression:

Stored size: 645 Bytes

Contents

require 'simplecov'
SimpleCov.profiles.define 'gem' do
  add_filter '/spec/'
end

SimpleCov.start 'gem'

require 'pry-nav'
require 'bidu/house'

require 'active_record'
ActiveRecord::Base.establish_connection(adapter: "sqlite3", database: ":memory:")

support_files = File.expand_path("spec/support/**/*.rb")
Dir[support_files].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.filter_run_excluding :integration unless ENV['ALL']

  config.order = 'random'

  config.before do
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bidu-house-1.0.0 spec/spec_helper.rb
bidu-house-0.2.1 spec/spec_helper.rb
bidu-house-0.2.0 spec/spec_helper.rb