aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xactionpack/test/template/date_helper_test.rb2
-rw-r--r--actionpack/test/template/url_helper_test.rb3
2 files changed, 2 insertions, 3 deletions
diff --git a/actionpack/test/template/date_helper_test.rb b/actionpack/test/template/date_helper_test.rb
index 30cb73da71..fcc2da9655 100755
--- a/actionpack/test/template/date_helper_test.rb
+++ b/actionpack/test/template/date_helper_test.rb
@@ -213,7 +213,7 @@ class DateHelperTest < Test::Unit::TestCase
def test_date_select_with_zero_value_and_no_end_year
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 name="date[first][month]">\n)
diff --git a/actionpack/test/template/url_helper_test.rb b/actionpack/test/template/url_helper_test.rb
index 9de510d0a4..cb0e3fe2e2 100644
--- a/actionpack/test/template/url_helper_test.rb
+++ b/actionpack/test/template/url_helper_test.rb
@@ -58,7 +58,6 @@ class UrlHelperTest < Test::Unit::TestCase
end
def test_link_with_nil_html_options
- assert "<a href=\"http://www.world.com\">Hello</a>",
- link_to("Hello", {:action => 'myaction'}, nil)
+ assert_equal "<a href=\"http://www.world.com\">Hello</a>", link_to("Hello", {:action => 'myaction'}, nil)
end
end