Sha256: 13d180c0c107bf6718f2002247e3099c43fc15ecc819b09bc77cef0ed0a8fcd5

Contents?: true

Size: 549 Bytes

Versions: 1

Compression:

Stored size: 549 Bytes

Contents

RSpec.configure do |config|
  config.order = 'random'
  config.expect_with(:rspec){ |c| c.syntax = :expect }
  config.mock_with(:rspec){ |c| c.syntax = :expect }

  # don't complain that I'm using symbols as metadata...
  config.treat_symbols_as_metadata_keys_with_true_values = true
  # reseting the mock space doesn't seem to work on jruby
  config.filter_run_excluding :clear_mocks if RUBY_ENGINE == "jruby"
  config.after(:each, :clear_mocks) do
    # expect_any_instance_of hangs around between specs
    RSpec::Mocks.space.reset_all
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vendorise-0.3.0 spec/spec_helper.rb