Permalink
Browse files

Rails 3.2.6 automatically include url helpers from mounted engines in…

…to integration tests so there is no more need to include them manually.
  • Loading branch information...
1 parent 9bce4de commit 7f4561e6eb3da37361dff6d9807b9505d3b13845 @ugisozols ugisozols committed Jun 14, 2012
Showing with 0 additions and 11 deletions.
  1. +0 −1 core/spec/support/refinery.rb
  2. +0 −1 testing/lib/refinery/testing.rb
  3. +0 −9 testing/lib/refinery/testing/url_helper.rb
@@ -4,7 +4,6 @@
config.extend Refinery::Testing::ControllerMacros::Authentication, :type => :controller
config.include Refinery::Testing::ControllerMacros::Methods, :type => :controller
config.extend Refinery::Testing::RequestMacros::Authentication, :type => :request
- config.include Refinery::Testing::UrlHelper
config.include Warden::Test::Helpers
# set some config values so that image and resource factories don't fail to create
@@ -25,7 +25,6 @@ def load_factories
end
require 'refinery/testing/railtie'
- require 'refinery/testing/url_helper'
autoload :ControllerMacros, 'refinery/testing/controller_macros'
autoload :RequestMacros, 'refinery/testing/request_macros'
@@ -1,9 +0,0 @@
-module Refinery
- module Testing
- module UrlHelper
- def refinery
- Refinery::Core::Engine.routes.url_helpers
- end
- end
- end
-end

0 comments on commit 7f4561e

Please sign in to comment.