Sha256: e84fff828219c754d4567914e200411beb3c5080e5deee57ea17cacc095cbd2d

Contents?: true

Size: 596 Bytes

Versions: 4

Compression:

Stored size: 596 Bytes

Contents

ENV["RAILS_ENV"] = "test"

require 'bigcartel-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

4 entries across 4 versions & 1 rubygems

Version Path
bigcartel-currency-locales-1.6.0 spec/spec_helper.rb
bigcartel-currency-locales-1.5.0 spec/spec_helper.rb
bigcartel-currency-locales-1.4.0 spec/spec_helper.rb
bigcartel-currency-locales-1.3.1 spec/spec_helper.rb