Sha256: edf49261f63e809f86f3a786fda7101f6cce84911727deeb3c9d222712d87c0f

Contents?: true

Size: 455 Bytes

Versions: 5

Compression:

Stored size: 455 Bytes

Contents

require 'capybara/rspec'
require 'bundler/setup'

Bundler.require(:default, :test)

require (Pathname.new(__FILE__).dirname + '../lib/roboparts').expand_path

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

RSpec.configure do |config|
  config.include RobopartsTestHelpers

  config.before(:all) do
    create_tmp_directory
  end

  config.before(:each) do
    drop_dummy_database
    remove_project_directory

    FakeGithub.clear!
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
roboparts-0.6.4 spec/spec_helper.rb
roboparts-0.6.3 spec/spec_helper.rb
roboparts-0.6.2 spec/spec_helper.rb
roboparts-0.6.1 spec/spec_helper.rb
roboparts-0.6.0 spec/spec_helper.rb