Sha256: d241b152567b2df693410d63de86920855353c5f7198c6ed474c3cac0535a5b0

Contents?: true

Size: 745 Bytes

Versions: 12

Compression:

Stored size: 745 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.before(:each) do
    FakeGithub.clear!
    FakeHeroku.clear!
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
potassium-5.2.2 spec/spec_helper.rb
potassium-5.2.1 spec/spec_helper.rb
potassium-5.2.0 spec/spec_helper.rb
potassium-5.1.4 spec/spec_helper.rb
potassium-5.1.3 spec/spec_helper.rb
potassium-5.1.2 spec/spec_helper.rb
potassium-5.1.1 spec/spec_helper.rb
potassium-3.0.0 spec/spec_helper.rb
potassium-2.3.0 spec/spec_helper.rb
potassium-2.2.0 spec/spec_helper.rb
potassium-2.1.0 spec/spec_helper.rb
potassium-2.0.0 spec/spec_helper.rb