Skip to content

Commit

Permalink
Fixed some test cases
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@298 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
dhh committed Jan 1, 2005
1 parent 250a570 commit 3b05d41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion actionpack/test/template/date_helper_test.rb
Expand Up @@ -213,7 +213,7 @@ def test_date_select_with_zero_value_and_no_start_year


def test_date_select_with_zero_value_and_no_end_year def test_date_select_with_zero_value_and_no_end_year
expected = %(<select name="date[first][year]">\n) expected = %(<select name="date[first][year]">\n)
2003.upto(2009) { |y| expected << %(<option>#{y}</option>\n) } 2003.upto(2010) { |y| expected << %(<option>#{y}</option>\n) }
expected << "</select>\n" expected << "</select>\n"


expected << %(<select name="date[first][month]">\n) expected << %(<select name="date[first][month]">\n)
Expand Down
3 changes: 1 addition & 2 deletions actionpack/test/template/url_helper_test.rb
Expand Up @@ -58,7 +58,6 @@ def test_mail_to
end end


def test_link_with_nil_html_options def test_link_with_nil_html_options
assert "<a href=\"http://www.world.com\">Hello</a>", assert_equal "<a href=\"http://www.world.com\">Hello</a>", link_to("Hello", {:action => 'myaction'}, nil)
link_to("Hello", {:action => 'myaction'}, nil)
end end
end end

0 comments on commit 3b05d41

Please sign in to comment.