Sha256: d4fe2dca6c1a971f116a215634b4af76f1fd8fadb890bfab9f2eecd5e5f61d8f

Contents?: true

Size: 819 Bytes

Versions: 10

Compression:

Stored size: 819 Bytes

Contents

require "bundler/setup"

Bundler.require(:default, :test)

require (Pathname.new(__FILE__).dirname + "../lib/potassium").expand_path

Dir["./spec/support/**/*.rb"].each { |file| require file }

RSpec.configure do |config|
  config.include PotassiumTestHelpers

  config.expect_with :rspec do |expectations|
    expectations.include_chain_clauses_in_custom_matcher_descriptions = true
  end

  config.mock_with :rspec do |mocks|
    mocks.verify_partial_doubles = true
  end

  config.filter_run :focus
  config.run_all_when_everything_filtered = true
  config.disable_monkey_patching!

  config.before(:all) do
    add_fakes_to_path
    create_tmp_directory
  end

  config.after(:each) do
    docker_cleanup
  end

  config.before(:each) do
    FakeGithub.clear!
    FakeHeroku.clear!
    FakeOctokit.clear!
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
potassium-7.2.0 spec/spec_helper.rb
potassium-7.1.0 spec/spec_helper.rb
potassium-7.0.0 spec/spec_helper.rb
potassium-6.7.0 spec/spec_helper.rb
potassium-6.6.0 spec/spec_helper.rb
potassium-6.5.0 spec/spec_helper.rb
potassium-6.4.0 spec/spec_helper.rb
potassium-6.3.0 spec/spec_helper.rb
potassium-6.2.0 spec/spec_helper.rb
potassium-6.1.0 spec/spec_helper.rb