Sha256: 7fa55469028acecc1f0e0bbe1080878f6744bef8149da75c6fdc904b8fe73ccd

Contents?: true

Size: 651 Bytes

Versions: 1

Compression:

Stored size: 651 Bytes

Contents

# frozen_string_literal: true

require 'simplecov'

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

SimpleCov.start 'gem'

require 'zyra'
require 'pry-nav'

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

support_files = File.expand_path('spec/support/**/*.rb')

Dir[support_files].sort.each { |file| require file }

RSpec.configure do |config|
  config.run_all_when_everything_filtered = true
  config.filter_run :focus
  config.filter_run_excluding :integration unless ENV['ALL']

  config.order = 'random'
end

RSpec::Matchers.define_negated_matcher :not_change, :change

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
zyra-0.0.2 spec/spec_helper.rb