Sha256: db44f8a9a7f1ea785af6d0a77343f2a0442cee00a6943b0abbd88c956f462290

Contents?: true

Size: 755 Bytes

Versions: 3

Compression:

Stored size: 755 Bytes

Contents

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

if ENV['CODECLIMATE_REPO_TOKEN']
  require "codeclimate-test-reporter"
  CodeClimate::TestReporter.start
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.3.0 spec/spec_helper.rb
bidu-house-1.2.0 spec/spec_helper.rb
bidu-house-1.1.0 spec/spec_helper.rb