Sha256: 128736256d2e42dd22a0115edda824c6b4ef73c0b55284b0f2c804cbdb1b23a9

Contents?: true

Size: 576 Bytes

Versions: 3

Compression:

Stored size: 576 Bytes

Contents

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

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

3 entries across 3 versions & 1 rubygems

Version Path
tram-policy-0.1.0 spec/spec_helper.rb
tram-policy-0.0.3 spec/spec_helper.rb
tram-policy-0.0.2 spec/spec_helper.rb