Skip to content
This repository
Browse code

Fixed a broken test

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2155 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit e6428abd23f8449900e174066a3acdd8ddcb7f03 1 parent febc24d
David Heinemeier Hansson dhh authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  actionpack/test/template/url_helper_test.rb
2  actionpack/test/template/url_helper_test.rb
@@ -97,7 +97,7 @@ def test_link_tag_using_post_javascript
97 97
98 98 def test_link_tag_using_post_javascript_and_confirm
99 99 assert_equal(
100   - "<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>",
  100 + "<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>",
101 101 link_to("Hello", "http://www.example.com", :post => true, :confirm => "Are you serious?")
102 102 )
103 103 end

0 comments on commit e6428ab

Please sign in to comment.
Something went wrong with that request. Please try again.