aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/template/erb
diff options
context:
space:
mode:
authorbogdanvlviv <bogdanvlviv@gmail.com>2017-02-20 00:35:14 +0200
committerbogdanvlviv <bogdanvlviv@gmail.com>2017-02-20 01:27:32 +0200
commit32b74fe2551ad7e4b5e592bf6efe9b377bce8bbb (patch)
treea448ad1cb81a281867446b0974c027ede39454f5 /actionview/test/template/erb
parentf1a097733a6923d4c7b6b4413394ce86e17198d6 (diff)
downloadrails-32b74fe2551ad7e4b5e592bf6efe9b377bce8bbb.tar.gz
rails-32b74fe2551ad7e4b5e592bf6efe9b377bce8bbb.tar.bz2
rails-32b74fe2551ad7e4b5e592bf6efe9b377bce8bbb.zip
Set correct "routes" in tests cases
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