Sha256: 830ace907241683822f620cd61faa5055a4e107047b3089062868fdd75983c96

Contents?: true

Size: 830 Bytes

Versions: 5

Compression:

Stored size: 830 Bytes

Contents

ENV["RAILS_ENV"] = 'test'

# Require dummy Rails app
require File.expand_path("../../spec/dummy/config/environment", __FILE__)

require 'rspec/rails'
require 'rspec/autorun'

# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories.
Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}

RSpec.configure do |config|
  # If you're not using ActiveRecord, or you'd prefer not to run each of your
  # examples within a transaction, remove the following line or assign false
  # instead of true.
  config.use_transactional_fixtures = true

  # If true, the base class of anonymous controllers will be inferred
  # automatically. This will be the default behavior in future versions of
  # rspec-rails.
  config.infer_base_class_for_anonymous_controllers = false
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
money-rails-0.4.0 spec/spec_helper.rb
money-rails-0.3.1 spec/spec_helper.rb
money-rails-0.3.0 spec/spec_helper.rb
money-rails-0.2.0 spec/spec_helper.rb
money-rails-0.1.0 spec/spec_helper.rb