Sha256: 69e8e2308d04c8ef6b547ed8b60176924d80c0320c4ca5f107557f08a8f86f1d

Contents?: true

Size: 644 Bytes

Versions: 26

Compression:

Stored size: 644 Bytes

Contents

ENV['RAILS_ENV'] = 'test'

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

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

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

RSpec.configure do |config|
  # 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

26 entries across 26 versions & 1 rubygems

Version Path
iam-0.3.3 spec/spec_helper.rb
iam-0.3.2 spec/spec_helper.rb
iam-0.3.1 spec/spec_helper.rb
iam-0.3.0 spec/spec_helper.rb
iam-0.2.2 spec/spec_helper.rb
iam-0.2.1 spec/spec_helper.rb
iam-0.1.12 spec/spec_helper.rb
iam-0.1.11 spec/spec_helper.rb
iam-0.1.10 spec/spec_helper.rb
iam-0.1.9 spec/spec_helper.rb
iam-0.1.8 spec/spec_helper.rb
iam-0.1.7 spec/spec_helper.rb
iam-0.1.6 spec/spec_helper.rb
iam-0.1.5 spec/spec_helper.rb
iam-0.1.4 spec/spec_helper.rb
iam-0.1.3 spec/spec_helper.rb
iam-0.1.2 spec/spec_helper.rb
iam-0.1.1 spec/spec_helper.rb
iam-0.1.0 spec/spec_helper.rb
iam-0.0.9 spec/spec_helper.rb