Sha256: 1666464e5b3c401db938c03b018cc0493c9b1fb8e79397439775a1a7023f9ebd
Contents?: true
Size: 571 Bytes
Versions: 6
Compression:
Stored size: 571 Bytes
Contents
# Configure Rails Envinronment ENV['RAILS_ENV'] = 'test' require File.expand_path('../dummy/config/environment.rb', __FILE__) require 'rspec/rails' require 'debugger' if RUBY_VERSION == '1.9.3' require 'bourne' ENGINE_RAILS_ROOT=File.join(File.dirname(__FILE__), '../') # Requires supporting ruby files with custom matchers and macros, etc, # in spec/support/ and its subdirectories. Dir[File.join(ENGINE_RAILS_ROOT, 'spec/support/**/*.rb')].each { |f| require f } RSpec.configure do |config| config.mock_with :mocha config.use_transactional_fixtures = true end
Version data entries
6 entries across 6 versions & 1 rubygems