Displaying 1 result from an estimated 1 matches for "test_amazon_date_parse".
2006 Apr 25
7
Quick functional test question
...;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("25
October, 2000")
#other tests
end
end
All I keep getting when i try to run the test is:
NoMethodError: undefined method `parse_amazon_date'' for
#<ContributeControllerTest:0x4096aea4>
/u...