From 93f2cd864576aae37e847886b02e0d3bd2d1dfc3 Mon Sep 17 00:00:00 2001 From: Timm Date: Fri, 11 Oct 2013 13:12:30 +0200 Subject: [PATCH] Included DomAssertions in url_helper- and atom_feed_helper_test.rb. --- actionview/test/template/atom_feed_helper_test.rb | 2 ++ actionview/test/template/url_helper_test.rb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/actionview/test/template/atom_feed_helper_test.rb b/actionview/test/template/atom_feed_helper_test.rb index a2d6b81aad..9d306310ea 100644 --- a/actionview/test/template/atom_feed_helper_test.rb +++ b/actionview/test/template/atom_feed_helper_test.rb @@ -207,6 +207,8 @@ end class AtomFeedTest < ActionController::TestCase tests ScrollsController + include Rails::Dom::Testing::Assertions::SelectorAssertions + def setup super @request.host = "www.nextangle.com" diff --git a/actionview/test/template/url_helper_test.rb b/actionview/test/template/url_helper_test.rb index f04532c77c..e0678ae1f7 100644 --- a/actionview/test/template/url_helper_test.rb +++ b/actionview/test/template/url_helper_test.rb @@ -25,7 +25,7 @@ class UrlHelperTest < ActiveSupport::TestCase include routes.url_helpers include ActionView::Helpers::JavaScriptHelper - include ActionView::Assertions::DomAssertions + include Rails::Dom::Testing::Assertions::DomAssertions include ActionView::Context include RenderERBUtils