Sha256: 5bc8720fa8e30d226f6d7928370fcecb4865185c3215fb8718e674fc8041f294
Contents?: true
Size: 722 Bytes
Versions: 2
Compression:
Stored size: 722 Bytes
Contents
ENV['RAILS_ENV'] ||= 'test' # Load dummy app require File.expand_path("../dummy/config/environment.rb", __FILE__) # Load rspec components require 'rspec/rails' require 'byebug' # Nice backtraces Rails.backtrace_cleaner.remove_silencers! # Load support files Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } # configure rspec RSpec.configure do |config| config.mock_with :rspec config.use_transactional_fixtures = true config.infer_base_class_for_anonymous_controllers = false config.order = "random" config.extend CacheSwitchingMacros config.expect_with :rspec do |c| c.syntax = [:should, :expect] end config.mock_with :rspec do |c| c.syntax = [:should, :expect] end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
infopark_component_cache-3.0.0 | spec/spec_helper.rb |
infopark_component_cache-2.0.0 | spec/spec_helper.rb |