spec/spec_helper.rb in chili-1.0.1 vs spec/spec_helper.rb in chili-2.0.0

- old
+ new

@@ -1,12 +1,13 @@ # This file is copied to spec/ when you run 'rails generate rspec:install' ENV["RAILS_ENV"] ||= 'test' -require File.expand_path("../dummy/example_app/config/environment", __FILE__) +require File.expand_path("../example_app/config/environment", __FILE__) require 'rspec/rails' # Requires supporting ruby files with custom matchers and macros, etc, # in spec/support/ and its subdirectories. Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f} +Dir[File.join(File.dirname(__FILE__),'support', '**', '*.rb')].each {|f| require f} RSpec.configure do |config| # == Mock Framework # # If you prefer to use mocha, flexmock or RR, uncomment the appropriate line: