Sha256: 037b37e0f7f6697c1d03aa4e6cd7af77fccfef7ebd9999df41ddd23d3145254b
Contents?: true
Size: 661 Bytes
Versions: 7
Compression:
Stored size: 661 Bytes
Contents
# This file is copied to spec/ when you run 'rails generate rspec:install' ENV['RAILS_ENV'] ||= 'test' require File.expand_path('../../config/environment', __FILE__) require 'rspec/rails' # 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| config.mock_with :rspec config.extend ControllerMacros, :type => :controller config.include FactoryGirl::Syntax::Methods config.include Devise::TestHelpers, :type => :controller config.include MailerMacros config.before(:each) { reset_email } end
Version data entries
7 entries across 7 versions & 1 rubygems