Configure the url helpers correctly

Since
6c7d895dda
action dispatch routing helpers are only included in action view using
the railtie. Since we don't load the railtie in test environment we need
to properly setup it
This commit is contained in:
Rafael Mendonça França 2014-03-10 15:18:49 -03:00
parent f6d0c10ffa
commit e228dbedbc
1 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,8 @@ require 'minitest/autorun'
require 'active_model'
require 'action_controller'
require 'action_view'
ActionView::RoutingUrlFor.send(:include, ActionDispatch::Routing::UrlFor)
require 'action_view/template'
require 'action_view/test_case'