Sha256: 3fcc61441f18f953fb40286f20af7b58829a06fc20bbcca85dccb0c603ad4537

Contents?: true

Size: 586 Bytes

Versions: 1

Compression:

Stored size: 586 Bytes

Contents

ENV["RAILS_ENV"] = "test"

require 'currency-locales'

begin
  require 'action_controller/railtie'
  $stdout.puts "Testing against Rails #{ Rails::VERSION::STRING }"
rescue LoadError
  gem 'rails'
  require 'action_pack'
  require 'action_controller'
  $stdout.puts "Testing against Rails #{ ActionPack::VERSION::STRING }"
end

BigCartel::CurrencyLocales.insert

if Module.const_defined?("RSpec")
  RSpec.configure do |config|
    config.mock_with :rspec
    config.fail_fast = true
  end
else
  require 'spec'
  Spec::Runner.configure do |config|
    config.mock_with :rspec
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bigcartel-currency-locales-1.3.0 spec/spec_helper.rb