Sha256: b54c065f4c2f85d3a9afdb37e8d97b5a78ec57f42b117c09a0c4ec236d0a61bf

Contents?: true

Size: 519 Bytes

Versions: 2

Compression:

Stored size: 519 Bytes

Contents

ENV["RAILS_ENV"] ||= "test"
require "garage"

require File.expand_path("../dummy/config/environment", __FILE__)
require "rspec/rails"
require "rspec/autorun"
require "webmock/rspec"

Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}

RSpec.configure do |config|
  config.filter_run :focus => true
  config.run_all_when_everything_filtered = true
  config.include FactoryGirl::Syntax::Methods
  config.include RSpec::JsonMatcher, type: :request

  config.before(:each) do
    Rails.cache.clear
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
garage-doorkeeper-2.0.0 spec/spec_helper.rb
garage-doorkeeper-1.0.0 spec/spec_helper.rb