aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-09-08 16:30:13 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-09-08 16:30:13 +0000
commite6428abd23f8449900e174066a3acdd8ddcb7f03 (patch)
tree12661ce492f13c4f3274d3c690df4830208f12d5 /actionpack
parentfebc24dee7b5f5c34531bdad7712a7cdd1ddac6a (diff)
downloadrails-e6428abd23f8449900e174066a3acdd8ddcb7f03.tar.gz
rails-e6428abd23f8449900e174066a3acdd8ddcb7f03.tar.bz2
rails-e6428abd23f8449900e174066a3acdd8ddcb7f03.zip
Fixed a broken test
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2155 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/test/template/url_helper_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/template/url_helper_test.rb b/actionpack/test/template/url_helper_test.rb
index 650255a6f1..17eacce207 100644
--- a/actionpack/test/template/url_helper_test.rb
+++ b/actionpack/test/template/url_helper_test.rb
@@ -97,7 +97,7 @@ class UrlHelperTest < Test::Unit::TestCase
def test_link_tag_using_post_javascript_and_confirm
assert_equal(
- "<a href=\"http://www.example.com\" onclick=\"if (confirm('Are you serious?')) { f = document.createElement('form'); document.body.appendChild(f); f.method = 'POST'; f.action = url; f.submit(); };return false;\">Hello</a>",
+ "<a href=\"http://www.example.com\" onclick=\"if (confirm('Are you serious?')) { f = document.createElement('form'); document.body.appendChild(f); f.method = 'POST'; f.action = this.href; f.submit(); };return false;\">Hello</a>",
link_to("Hello", "http://www.example.com", :post => true, :confirm => "Are you serious?")
)
end