Sha256: f12a742dbf321a887f4c9fbf3c883b39130b8e8b516257c267a0b7ca8e8ccfa5
Contents?: true
Size: 855 Bytes
Versions: 2
Compression:
Stored size: 855 Bytes
Contents
# frozen_string_literal: true require "spec_helper" ENV["RAILS_ENV"] ||= "test" require_relative "dummy/config/environment" # Prevent database truncation if the environment is production abort("The Rails environment is running in production mode!") if Rails.env.production? require "rspec/rails" # Add additional requires below this line. Rails is not loaded until this point! Dir[NulogySSO::Engine.root.join("spec/support/**/*.rb")].each { |f| require f } require "nulogy_sso/test_utilities/auth_mock" require "nulogy_sso/test_utilities/test_helper" begin ActiveRecord::Migration.maintain_test_schema! rescue ActiveRecord::PendingMigrationError => e puts e.to_s.strip exit 1 end RSpec.configure do |config| config.infer_spec_type_from_file_location! # Filter lines from Rails gems in backtraces. config.filter_rails_from_backtrace! end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nulogy_sso-0.3.0 | spec/rails_helper.rb |
nulogy_sso-0.2.0 | spec/rails_helper.rb |