Sha256: 01a004ff4e977aab8a6d7fbafff0839a2dafc63aa48748d0071c52b2ce19a381

Contents?: true

Size: 587 Bytes

Versions: 2

Compression:

Stored size: 587 Bytes

Contents

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|
  # Suppress stdout in the console
  config.before { allow($stdout).to receive(:write) }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
file_validators-2.3.0 spec/spec_helper.rb
file_validators-2.2.0.beta1 spec/spec_helper.rb