spec/spec_helper.rb in active_metadata-0.6.4 vs spec/spec_helper.rb in active_metadata-0.6.5

- old
+ new

@@ -1,13 +1,14 @@ # encoding: utf-8 require 'rubygems' ENV["RAILS_ENV"] ||= 'test' +require File.expand_path("../dummy/config/environment.rb", __FILE__) + require 'rails/all' require 'active_metadata' require 'rack/test/uploaded_file' -require File.expand_path("../dummy/config/environment.rb", __FILE__) ENGINE_RAILS_ROOT=File.join(File.dirname(__FILE__), '../') Dir[File.join(ENGINE_RAILS_ROOT, "spec/support/**/*.rb")].each {|f| require f } require 'rspec/rails' \ No newline at end of file