Sha256: 19e735125fe08038b432d846fc8e5568ecf5748c69dd01a1fe01a5eab5d09456
Contents?: true
Size: 810 Bytes
Versions: 1
Compression:
Stored size: 810 Bytes
Contents
# frozen_string_literal: true require "simplecov" SimpleCov.start :rails 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.3.0 | lib/archangel/commands/templates/common/spec/rails_helper.rb.tt |