diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2004-12-10 17:16:11 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2004-12-10 17:16:11 +0000 |
commit | 1188d3005a35df9a9ef3fd43b6ab7252b10399aa (patch) | |
tree | fe4f8bddc637bf8b49f028ef81a4cdf2fba0cdb4 /actionpack/test/template/url_helper_test.rb | |
parent | 0c72e6d665048d51de06f6bc3dfe674be31391a4 (diff) | |
download | rails-1188d3005a35df9a9ef3fd43b6ab7252b10399aa.tar.gz rails-1188d3005a35df9a9ef3fd43b6ab7252b10399aa.tar.bz2 rails-1188d3005a35df9a9ef3fd43b6ab7252b10399aa.zip |
Fixed problem with cookies not being set to path=/ by default and a test buggerboo
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@110 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/template/url_helper_test.rb')
-rw-r--r-- | actionpack/test/template/url_helper_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/template/url_helper_test.rb b/actionpack/test/template/url_helper_test.rb index e624c188db..61b642a19e 100644 --- a/actionpack/test/template/url_helper_test.rb +++ b/actionpack/test/template/url_helper_test.rb @@ -29,12 +29,12 @@ class UrlHelperTest < Test::Unit::TestCase def test_link_to_image assert_equal( - "<a href=\"http://www.world.com\"><img alt=\"Rss\" height=\"45\" src=\"/images/rss.png\" width=\"30\" /></a>", + "<a href=\"http://www.world.com\"><img alt=\"Rss\" border=\"0\" height=\"45\" src=\"/images/rss.png\" width=\"30\" /></a>", link_to_image("rss", "http://www.world.com", "size" => "30x45") ) assert_equal( - "<a class=\"admin\" href=\"http://www.world.com\"><img alt=\"Feed\" height=\"45\" src=\"/images/rss.gif\" width=\"30\" /></a>", + "<a class=\"admin\" href=\"http://www.world.com\"><img alt=\"Feed\" border=\"0\" height=\"45\" src=\"/images/rss.gif\" width=\"30\" /></a>", link_to_image("rss.gif", "http://www.world.com", "size" => "30x45", "alt" => "Feed", "class" => "admin") ) end |