Displaying 1 result from an estimated 1 matches for "parse_amazon_date".
2006 Apr 25
7
Quick functional test question
...f doing it but seems to work. however, thought this would be a
good time to start testing so i can throw all sorts of different inputs
at it, but the test is not recognizing the method. In the controller
I''ve got::
class ContributeController < ApplicationController
...
private
def parse_amazon_date(date)
...
end
end
and in my functional test I''ve got:
require File.dirname(__FILE__) + ''/../test_helper''
require ''contribute_controller''
....
def test_amazon_date_parse
assert_equal Time.gm(2000, "oct", 25), parse_amazon_date("...