Sha256: f5d9f091397bff29dfef647d8bb5f06fccb465255097f0b3d66e843b43b09311

Contents?: true

Size: 577 Bytes

Versions: 22

Compression:

Stored size: 577 Bytes

Contents

ENV['RAILS_ENV'] ||= 'test'
require File.expand_path('../../config/environment', __FILE__)
# Prevent database truncation if the environment is production
abort('The Rails environment is running in production mode!') if Rails.env.production?

# require 'symphonia'
RSpec.configure do |config|
  Dir.glob(File.join(__dir__, 'support', '*.rb')).each { |f| require f }

  require 'symphonia/spec_helper'

  # Load AuthLogic
  require 'authlogic/test_case'
  config.include Authlogic::TestCase

  config.infer_spec_type_from_file_location!
  config.filter_rails_from_backtrace!
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
symphonia-2.1.8 lib/generators/symphonia/setup/templates/spec_helper.rb
symphonia-2.1.7 lib/generators/symphonia/setup/templates/spec_helper.rb