Sha256: 4c569963bb564c82bff6de5d8b1c6d31ecc4260588751bac656dd300f40a09e8
Contents?: true
Size: 851 Bytes
Versions: 6
Compression:
Stored size: 851 Bytes
Contents
require 'rubygems' # Configure Rails Environment ENV["RAILS_ENV"] ||= 'test' require File.expand_path("../dummy/config/environment", __FILE__) require 'rspec/rails' require 'capybara/rspec' RSpec.configure do |config| config.mock_with :rspec config.filter_run :focus => true config.run_all_when_everything_filtered = true config.backtrace_exclusion_patterns = %w( rails actionpack railties capybara activesupport rack warden rspec actionview activerecord dragonfly benchmark ).map { |noisy| /#{noisy}/ } end # Requires supporting files with custom matchers and macros, etc, # in ./support/ and its subdirectories including factories. ([Rails.root.to_s] | ::Refinery::Plugins.registered.pathnames).map{|p| Dir[File.join(p, 'spec', 'support', '**', '*.rb').to_s] }.flatten.sort.each do |support_file| require support_file end
Version data entries
6 entries across 6 versions & 1 rubygems