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-3.4.0 lib/generators/symphonia/setup/templates/spec_helper.rb
symphonia-3.3.4 lib/generators/symphonia/setup/templates/spec_helper.rb
symphonia-3.3.3 lib/generators/symphonia/setup/templates/spec_helper.rb
symphonia-3.3.2 lib/generators/symphonia/setup/templates/spec_helper.rb
symphonia-3.3.0 lib/generators/symphonia/setup/templates/spec_helper.rb
symphonia-3.2.4 lib/generators/symphonia/setup/templates/spec_helper.rb
symphonia-3.2.3 lib/generators/symphonia/setup/templates/spec_helper.rb
symphonia-3.2.2 lib/generators/symphonia/setup/templates/spec_helper.rb
symphonia-3.2.1 lib/generators/symphonia/setup/templates/spec_helper.rb
symphonia-3.1.5 lib/generators/symphonia/setup/templates/spec_helper.rb
symphonia-3.1.4 lib/generators/symphonia/setup/templates/spec_helper.rb
symphonia-3.1.3 lib/generators/symphonia/setup/templates/spec_helper.rb
symphonia-3.1.2 lib/generators/symphonia/setup/templates/spec_helper.rb
symphonia-3.1.1 lib/generators/symphonia/setup/templates/spec_helper.rb
symphonia-3.1.0 lib/generators/symphonia/setup/templates/spec_helper.rb
symphonia-3.0.3 lib/generators/symphonia/setup/templates/spec_helper.rb
symphonia-3.0.2 lib/generators/symphonia/setup/templates/spec_helper.rb
symphonia-2.2.1 lib/generators/symphonia/setup/templates/spec_helper.rb
symphonia-3.0.1 lib/generators/symphonia/setup/templates/spec_helper.rb
symphonia-3.0.0 lib/generators/symphonia/setup/templates/spec_helper.rb