spec/support/config/boot.rb in layout-0.1.0 vs spec/support/config/boot.rb in layout-0.2.0
- old
+ new
@@ -1,20 +1,9 @@
-ENV["BUNDLE_GEMFILE"] = File.dirname(__FILE__) + "/../../../../Gemfile"
require "bundler"
Bundler.setup
require "rails"
-
-%w(
- action_controller
- rails/test_unit
-).each do |framework|
- begin
- require "#{framework}/railtie"
- rescue LoadError
- end
-end
-
+require "action_controller/railtie"
Bundler.require(:default)
module Layout
class Application < Rails::Application