Sha256: 7e2c70680b755e0738ff4750d1e05190f71f4a6f5314270c2af7a445ad50064c

Contents?: true

Size: 696 Bytes

Versions: 4

Compression:

Stored size: 696 Bytes

Contents

require 'kango'

PROJECT_DIR = File.join(Dir.pwd, 'my_extension')
def erase_fixture_project
  FileUtils.rm_r(PROJECT_DIR) if File.exists?(PROJECT_DIR)
end


RSpec.configure do |config|
  config.treat_symbols_as_metadata_keys_with_true_values = true
  config.run_all_when_everything_filtered = true
  config.filter_run :focus

  # Run specs in random order to surface order dependencies. If you find an
  # order dependency and want to debug it, you can fix the order by providing
  # the seed, which is printed after each run.
  #     --seed 1234
  config.order = 'random'

  config.before(:suite) do
    erase_fixture_project
  end

  config.after(:suite) do
    erase_fixture_project
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
kango-0.1.0.0.9.2 spec/spec_helper.rb
kango-0.0.3.0.9.2 spec/spec_helper.rb
kango-0.0.2.0.9.2 spec/spec_helper.rb
kango-0.0.1.0.9.2 spec/spec_helper.rb