Sha256: a727570563da18e51230a73da9b45a0568b3181a931cf65c5a22935fd0d5986d

Contents?: true

Size: 671 Bytes

Versions: 8

Compression:

Stored size: 671 Bytes

Contents

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

require File.expand_path("../dummy/config/environment.rb",  __FILE__)
require "dotenv/load"
require "rspec/rails"
require "shoulda/matchers"
require "pry-rails"
require "webmock/rspec"

# Load support files
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }

Shoulda::Matchers.configure do |config|
  config.integrate do |with|
    with.test_framework :rspec
    with.library :rails
  end
end

RSpec.configure do |config|
  config.mock_with :rspec
  config.use_transactional_fixtures = true
  config.infer_base_class_for_anonymous_controllers = false
  config.order = "random"
  config.raise_errors_for_deprecations!
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
bookingsync-engine-6.0.1 spec/spec_helper.rb
bookingsync-engine-6.0.0 spec/spec_helper.rb
bookingsync-engine-5.1.0 spec/spec_helper.rb
bookingsync-engine-5.0.0 spec/spec_helper.rb
bookingsync-engine-4.0.3 spec/spec_helper.rb
bookingsync-engine-4.0.2 spec/spec_helper.rb
bookingsync-engine-4.0.1 spec/spec_helper.rb
bookingsync-engine-4.0.0 spec/spec_helper.rb