Sha256: d7ed1cdc004e427ed81e3515c7bf68ea7f20448c2a8313ccf518b0119f7d84ef
Contents?: true
Size: 687 Bytes
Versions: 1
Compression:
Stored size: 687 Bytes
Contents
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) require 'bundler' Bundler.require :development require 'yaml' Bundler.setup require 'configoro' # Requires supporting files with custom matchers and macros, etc, # in ./support/ and its subdirectories. Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f} RSpec.configure do |config| config.before :each do application = double('Rails.application', :class => 'MyApp::Application') ::Rails = double('Rails', :application => application, :env => 'development', :root => File.join(File.dirname(__FILE__), 'data')) Configoro.initialize end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
configoro-1.4.1 | spec/spec_helper.rb |