Move date coercion to #to_date

This commit is contained in:
David Cornu
2014-04-30 22:32:36 +00:00
parent 3ef29c624c
commit 8bc3792c0e
2 changed files with 21 additions and 27 deletions
-1
View File
@@ -186,7 +186,6 @@ class StandardFiltersTest < Test::Unit::TestCase
assert_equal "07/05/2006", @filters.date("1152098955", "%m/%d/%Y")
end
def test_first_last
assert_equal 1, @filters.first([1,2,3])
assert_equal 3, @filters.last([1,2,3])