Sha256: 81edd6248b630a7e17fa5937ffacc3fa304158af47553e85a4fab07db46c7024
Contents?: true
Size: 684 Bytes
Versions: 1
Compression:
Stored size: 684 Bytes
Contents
$LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) begin require 'rubygems' require 'bundler/setup' Bundler.require(:default, :test) require 'action_controller' require 'action_controller/test_process' require 'active_record' require 'initializer' tmp_dir = File.dirname(__FILE__) + '/../tmp' Dir.mkdir(tmp_dir) unless File.exist?(tmp_dir) RAILS_ROOT = tmp_dir module Rails def self.configuration Rails::Configuration.new end end require 'walruz_rails' require 'scenario' Spec::Runner.configure do |config| config.include(ActionController::TestProcess) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
walruz-rails-0.0.11 | spec/spec_helper.rb |