Sha256: 443a7a2888c593ac41405c4cca4077b5fb9e0c560613ef60e2eaf75ab79c5664
Contents?: true
Size: 1.23 KB
Versions: 18
Compression:
Stored size: 1.23 KB
Contents
# frozen_string_literal: true require 'spec_helper' ENV['RAILS_ENV'] ||= 'test' require File.expand_path('../dummy/config/environment', __FILE__) require 'rspec/rails' require 'capybara/rspec' require 'webmock/rspec' require 'g5_authenticatable/rspec' require 'g5_updatable/rspec' require 'g5_updatable/factories' Rails.backtrace_cleaner.remove_silencers! # Requires supporting ruby files with custom matchers and macros, etc, # in spec/support/ and its subdirectories. Dir[File.expand_path('../support/**/*.rb', __FILE__)].each { |f| require f } RSpec.configure do |config| # If you're not using ActiveRecord, or you'd prefer not to run each of your # examples within a transaction, remove the following line or assign false # instead of true. config.use_transactional_fixtures = true # If true, the base class of anonymous controllers will be inferred # automatically. This will be the default behavior in future versions of # rspec-rails. config.infer_base_class_for_anonymous_controllers = false # Controller tests live under spec/controllers, etc. config.infer_spec_type_from_file_location! end Shoulda::Matchers.configure do |config| config.integrate do |with| with.test_framework :rspec with.library :rails end end
Version data entries
18 entries across 18 versions & 1 rubygems