Sha256: 25c20c501727895853f21b36dd7ddaae68557618e38495bdde223db63e9ef672

Contents?: true

Size: 591 Bytes

Versions: 1

Compression:

Stored size: 591 Bytes

Contents

begin
  require "pry"
rescue
  nil
end
require "bundler/setup"
require "tram/policy"
require "tram/policy/matchers"
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.around(:each) do |example|
    Test = Class.new(Module)
    example.run
    Object.send :remove_const, :Test
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tram-policy-0.0.1 spec/spec_helper.rb