Sha256: 91dceebda19ab107fad2b5b1e2579ae35ea2f885760b25fae0342adc49be17f2

Contents?: true

Size: 644 Bytes

Versions: 4

Compression:

Stored size: 644 Bytes

Contents

# frozen_string_literal: true

ENV['RAILS_ENV'] ||= 'test'

require 'active_support'
require 'active_support/deprecation'
require 'active_support/core_ext'
require 'file_validators'
require 'rspec'
require 'coveralls'

Coveralls.wear!

locale_path = Dir.glob(File.dirname(__FILE__) + '/locale/*.yml')
I18n.load_path += locale_path unless I18n.load_path.include?(locale_path)
I18n.enforce_available_locales = false

Dir[File.join(File.dirname(__FILE__), 'support/**/*.rb')].each { |f| require f }

RSpec.configure do |config|
  config.include Helpers

  # Suppress stdout in the console
  config.before { allow($stdout).to receive(:write) }
end

Version data entries

4 entries across 3 versions & 2 rubygems

Version Path
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.1.0/gems/file_validators-3.0.0/spec/spec_helper.rb
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.3.0/gems/file_validators-3.0.0/spec/spec_helper.rb
file_validators-3.0.0 spec/spec_helper.rb
file_validators-3.0.0.beta2 spec/spec_helper.rb