Sha256: c1921e6a94037c38f1fe569f8038709e78a31b36cd99e5c054418b1788492644
Contents?: true
Size: 765 Bytes
Versions: 1
Compression:
Stored size: 765 Bytes
Contents
# frozen_string_literal: true ENV["RAILS_ENV"] ||= "test" begin require File.expand_path("dummy/config/environment", __dir__) rescue LoadError puts "Could not load test application. Run `bundle exec rake dummy_app` first" exit end if Rails.env.production? abort("The Rails environment is running in production mode!") end require "spec_helper" require "pry-byebug" require "rspec/rails" # Archangel support files require "archangel/testing_support/support" # Local support files Dir[Rails.root.join("../support/**/*.rb")].each { |f| require f } RSpec.configure do |config| config.color = true config.mock_with :rspec config.raise_errors_for_deprecations! config.filter_rails_from_backtrace! config.infer_spec_type_from_file_location! end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
archangel-0.4.0 | lib/archangel/commands/templates/common/spec/rails_helper.rb.tt |