aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/asset_tag_helper_test.rb
diff options
context:
space:
mode:
authorCarlos Galdino + Rafael Mendonça França <rafael.franca+carlos.galdino@plataformatec.com.br>2012-05-14 16:26:27 -0300
committerCarlos Galdino + Rafael Mendonça França <rafael.franca+carlos.galdino@plataformatec.com.br>2012-05-14 16:43:54 -0300
commitd47d6e7eda3aa3e6aa28d0c17ac6801234bb97d1 (patch)
treec3398dc0629fd9c7d273b658e73a13ed4dfcc6ee /actionpack/test/template/asset_tag_helper_test.rb
parent21141e777bdce8534e3755c8de7268324b3d8714 (diff)
downloadrails-d47d6e7eda3aa3e6aa28d0c17ac6801234bb97d1.tar.gz
rails-d47d6e7eda3aa3e6aa28d0c17ac6801234bb97d1.tar.bz2
rails-d47d6e7eda3aa3e6aa28d0c17ac6801234bb97d1.zip
Fix typo
Diffstat (limited to 'actionpack/test/template/asset_tag_helper_test.rb')
-rw-r--r--actionpack/test/template/asset_tag_helper_test.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/actionpack/test/template/asset_tag_helper_test.rb b/actionpack/test/template/asset_tag_helper_test.rb
index adc13f0be6..4aa9f76f47 100644
--- a/actionpack/test/template/asset_tag_helper_test.rb
+++ b/actionpack/test/template/asset_tag_helper_test.rb
@@ -441,14 +441,14 @@ class AssetTagHelperTest < ActionView::TestCase
end
def test_image_tag_with_mouseover
- assert_deprecated ":mouseover options is deprecated and will be removed from Rails 4.0" do
+ assert_deprecated ":mouseover option is deprecated and will be removed from Rails 4.0" do
assert_dom_equal(
%(<img alt="Mouse" onmouseover="this.src='/images/mouse_over.png'" onmouseout="this.src='/images/mouse.png'" src="/images/mouse.png" />),
image_tag("mouse.png", :mouseover => "/images/mouse_over.png")
)
end
- assert_deprecated ":mouseover options is deprecated and will be removed from Rails 4.0" do
+ assert_deprecated ":mouseover option is deprecated and will be removed from Rails 4.0" do
assert_dom_equal(
%(<img alt="Mouse" onmouseover="this.src='/images/mouse_over.png'" onmouseout="this.src='/images/mouse.png'" src="/images/mouse.png" />),
image_tag("mouse.png", :mouseover => image_path("mouse_over.png"))
@@ -1111,11 +1111,11 @@ class AssetTagHelperNonVhostTest < ActionView::TestCase
assert_dom_equal(%(/collaboration/hieraki/stylesheets/style.css), stylesheet_path("style"))
assert_dom_equal(%(/collaboration/hieraki/images/xml.png), image_path("xml.png"))
- assert_deprecated ":mouseover options is deprecated and will be removed from Rails 4.0" do
+ assert_deprecated ":mouseover option is deprecated and will be removed from Rails 4.0" do
assert_dom_equal(%(<img alt="Mouse" onmouseover="this.src='/collaboration/hieraki/images/mouse_over.png'" onmouseout="this.src='/collaboration/hieraki/images/mouse.png'" src="/collaboration/hieraki/images/mouse.png" />), image_tag("mouse.png", :mouseover => "/images/mouse_over.png"))
end
- assert_deprecated ":mouseover options is deprecated and will be removed from Rails 4.0" do
+ assert_deprecated ":mouseover option is deprecated and will be removed from Rails 4.0" do
assert_dom_equal(%(<img alt="Mouse2" onmouseover="this.src='/collaboration/hieraki/images/mouse_over2.png'" onmouseout="this.src='/collaboration/hieraki/images/mouse2.png'" src="/collaboration/hieraki/images/mouse2.png" />), image_tag("mouse2.png", :mouseover => image_path("mouse_over2.png")))
end
end
@@ -1131,11 +1131,11 @@ class AssetTagHelperNonVhostTest < ActionView::TestCase
assert_dom_equal(%(gopher://assets.example.com/collaboration/hieraki/stylesheets/style.css), stylesheet_path("style"))
assert_dom_equal(%(gopher://assets.example.com/collaboration/hieraki/images/xml.png), image_path("xml.png"))
- assert_deprecated ":mouseover options is deprecated and will be removed from Rails 4.0" do
+ assert_deprecated ":mouseover option is deprecated and will be removed from Rails 4.0" do
assert_dom_equal(%(<img alt="Mouse" onmouseover="this.src='gopher://assets.example.com/collaboration/hieraki/images/mouse_over.png'" onmouseout="this.src='gopher://assets.example.com/collaboration/hieraki/images/mouse.png'" src="gopher://assets.example.com/collaboration/hieraki/images/mouse.png" />), image_tag("mouse.png", :mouseover => "/images/mouse_over.png"))
end
- assert_deprecated ":mouseover options is deprecated and will be removed from Rails 4.0" do
+ assert_deprecated ":mouseover option is deprecated and will be removed from Rails 4.0" do
assert_dom_equal(%(<img alt="Mouse2" onmouseover="this.src='gopher://assets.example.com/collaboration/hieraki/images/mouse_over2.png'" onmouseout="this.src='gopher://assets.example.com/collaboration/hieraki/images/mouse2.png'" src="gopher://assets.example.com/collaboration/hieraki/images/mouse2.png" />), image_tag("mouse2.png", :mouseover => image_path("mouse_over2.png")))
end
end
@@ -1147,11 +1147,11 @@ class AssetTagHelperNonVhostTest < ActionView::TestCase
assert_dom_equal(%(gopher://assets.example.com/collaboration/hieraki/stylesheets/style.css), stylesheet_path("style"))
assert_dom_equal(%(gopher://assets.example.com/collaboration/hieraki/images/xml.png), image_path("xml.png"))
- assert_deprecated ":mouseover options is deprecated and will be removed from Rails 4.0" do
+ assert_deprecated ":mouseover option is deprecated and will be removed from Rails 4.0" do
assert_dom_equal(%(<img alt="Mouse" onmouseover="this.src='gopher://assets.example.com/collaboration/hieraki/images/mouse_over.png'" onmouseout="this.src='gopher://assets.example.com/collaboration/hieraki/images/mouse.png'" src="gopher://assets.example.com/collaboration/hieraki/images/mouse.png" />), image_tag("mouse.png", :mouseover => "/images/mouse_over.png"))
end
- assert_deprecated ":mouseover options is deprecated and will be removed from Rails 4.0" do
+ assert_deprecated ":mouseover option is deprecated and will be removed from Rails 4.0" do
assert_dom_equal(%(<img alt="Mouse2" onmouseover="this.src='gopher://assets.example.com/collaboration/hieraki/images/mouse_over2.png'" onmouseout="this.src='gopher://assets.example.com/collaboration/hieraki/images/mouse2.png'" src="gopher://assets.example.com/collaboration/hieraki/images/mouse2.png" />), image_tag("mouse2.png", :mouseover => image_path("mouse_over2.png")))
end
end