Sha256: ba6f97b0c5606abbfdfcfae01ee0a2f815a7b1bab6a1513514be349fc720e741

Contents?: true

Size: 618 Bytes

Versions: 1

Compression:

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
file_validators-3.0.0.beta1 spec/spec_helper.rb