aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/template/erb
diff options
context:
space:
mode:
authorGuillermo Iguaran <guilleiguaran@gmail.com>2017-02-20 13:55:36 +0900
committerGitHub <noreply@github.com>2017-02-20 13:55:36 +0900
commite4088b70023ceebca2948c2c3d270d4279e8e657 (patch)
treea448ad1cb81a281867446b0974c027ede39454f5 /actionview/test/template/erb
parent4f2aa162ed3dc419fa1a7880ecd77d47ba28a8d3 (diff)
parent32b74fe2551ad7e4b5e592bf6efe9b377bce8bbb (diff)
downloadrails-e4088b70023ceebca2948c2c3d270d4279e8e657.tar.gz
rails-e4088b70023ceebca2948c2c3d270d4279e8e657.tar.bz2
rails-e4088b70023ceebca2948c2c3d270d4279e8e657.zip
Merge pull request #28073 from bogdanvlviv/routes-in-tests
Add assertion to polymorphic_routes_test.rb
Diffstat (limited to 'actionview/test/template/erb')
-rw-r--r--actionview/test/template/erb/tag_helper_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionview/test/template/erb/tag_helper_test.rb b/actionview/test/template/erb/tag_helper_test.rb
index 84e328d8be..233f37c48a 100644
--- a/actionview/test/template/erb/tag_helper_test.rb
+++ b/actionview/test/template/erb/tag_helper_test.rb
@@ -18,8 +18,8 @@ module ERBTest
end
test "percent equals works with form tags" do
- expected_output = %r{<form.*action="foo".*method="post">.*hello*</form>}
- assert_match expected_output, render_content("form_tag('foo')", "<%= 'hello' %>")
+ expected_output = %r{<form.*action="/foo".*method="post">.*hello*</form>}
+ assert_match expected_output, render_content("form_tag('/foo')", "<%= 'hello' %>")
end
test "percent equals works with fieldset tags" do