spec/spec_helper.rb in loaf-0.4.0 vs spec/spec_helper.rb in loaf-0.5.0
- old
+ new
@@ -16,12 +16,11 @@
end
# Configure Rails Environment
ENV["RAILS_ENV"] = "test"
-require File.expand_path("../rails_app/config/environment.rb", __FILE__)
+require 'rails_app/config/environment.rb'
require 'rspec/rails'
-
require 'loaf'
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
RSpec.configure do |config|