Sha256: 0996d166221574c9e6e6a981c29dc4e57e8ea3ce56ce1e970cc36cf255d4c383

Contents?: true

Size: 623 Bytes

Versions: 2

Compression:

Stored size: 623 Bytes

Contents

begin
  require "pry"
rescue
  nil
end
require "bundler/setup"
require "tram/policy"
require "tram/policy/rspec"
require "rspec/its"

require_relative "support/fixtures_helper.rb"

RSpec.configure do |config|
  config.example_status_persistence_file_path = ".rspec_status"
  config.expect_with :rspec do |c|
    c.syntax = :expect
  end

  config.order = :random
  config.filter_run focus: true
  config.run_all_when_everything_filtered = true

  # Prepare the Test namespace for constants defined in specs
  config.before(:each) { Test = Class.new(Module) }
  config.after(:each)  { Object.send :remove_const, :Test }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tram-policy-0.2.0 spec/spec_helper.rb
tram-policy-0.1.1 spec/spec_helper.rb