test/test_helper.rb in attr_initializable-0.0.1 vs test/test_helper.rb in attr_initializable-0.0.2

- old
+ new

@@ -1,15 +1,23 @@ +require File.expand_path('../test_utils', __FILE__) + +require 'coveralls' +Coveralls.wear! + # Configure Rails Environment -ENV["RAILS_ENV"] = "test" +ENV['RAILS_ENV'] = 'test' -require File.expand_path("../dummy/config/environment.rb", __FILE__) -require "rails/test_help" +require File.expand_path("../#{TestUtils.dummy_app_dir}/config/environment.rb", __FILE__) +require 'rails/test_help' +puts "Rails #{Rails.version} is loaded" + Rails.backtrace_cleaner.remove_silencers! # Load support files Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } # Load fixtures from the engine if ActiveSupport::TestCase.method_defined?(:fixture_path=) - ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__) + ActiveSupport::TestCase.fixture_path = File.expand_path('../fixtures', __FILE__) end +