Sha256: 3e5361523657194d79b89fc5bade96e6ffd9a3f933b45c26b5b9c6baf8341b62

Contents?: true

Size: 625 Bytes

Versions: 7

Compression:

Stored size: 625 Bytes

Contents

ENV['RAILS_ENV'] ||= 'test'

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

# 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

7 entries across 7 versions & 1 rubygems

Version Path
bookingsync-engine-3.0.2 spec/spec_helper.rb
bookingsync-engine-3.0.1 spec/spec_helper.rb
bookingsync-engine-3.0.0 spec/spec_helper.rb
bookingsync-engine-2.0.2 spec/spec_helper.rb
bookingsync-engine-2.0.1 spec/spec_helper.rb
bookingsync-engine-2.0.0 spec/spec_helper.rb
bookingsync-engine-1.1.0 spec/spec_helper.rb