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