aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/template
diff options
context:
space:
mode:
authorAkshay Vishnoi <akshay.vishnoi@vinsol.com>2015-09-29 10:08:30 +0530
committerAkshay Vishnoi <akshay.vishnoi@vinsol.com>2015-09-29 10:08:30 +0530
commit23a658ae5938665a2b9809add3bd56f5fd66db08 (patch)
tree7fc9d85ac81c80a469519cd8c83f8c2f3f1ea70d /actionview/test/template
parenteb73c58003f4e71317800d5dd44d05af991351a3 (diff)
downloadrails-23a658ae5938665a2b9809add3bd56f5fd66db08.tar.gz
rails-23a658ae5938665a2b9809add3bd56f5fd66db08.tar.bz2
rails-23a658ae5938665a2b9809add3bd56f5fd66db08.zip
Fix names of test cases
Diffstat (limited to 'actionview/test/template')
-rw-r--r--actionview/test/template/form_tag_helper_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/actionview/test/template/form_tag_helper_test.rb b/actionview/test/template/form_tag_helper_test.rb
index a9d9562580..0e02332a0e 100644
--- a/actionview/test/template/form_tag_helper_test.rb
+++ b/actionview/test/template/form_tag_helper_test.rb
@@ -450,21 +450,21 @@ class FormTagHelperTest < ActionView::TestCase
ActionView::Base.automatically_disable_submit_tag = true
end
- def test_data_disable_with_string
+ def test_submit_tag_having_data_disable_with_string
assert_dom_equal(
%(<input data-disable-with="Processing..." data-confirm="Are you sure?" name='commit' type="submit" value="Save" />),
submit_tag("Save", { "data-disable-with" => "Processing...", "data-confirm" => "Are you sure?" })
)
end
- def test_data_disable_with_boolean
+ def test_submit_tag_having_data_disable_with_boolean
assert_dom_equal(
%(<input data-confirm="Are you sure?" name='commit' type="submit" value="Save" />),
submit_tag("Save", { "data-disable-with" => false, "data-confirm" => "Are you sure?" })
)
end
- def test_data_hash_disable_with_boolean
+ def test_submit_tag_having_data_hash_disable_with_boolean
assert_dom_equal(
%(<input data-confirm="Are you sure?" name='commit' type="submit" value="Save" />),
submit_tag("Save", { :data => { :confirm => "Are you sure?", :disable_with => false } })