Displaying 1 result from an estimated 1 matches for "m000574".
Did you mean:
000574
2007 Jul 31
11
helper spec not finding rails core helpers
Hi,
My helper specs were going ok until I added a call to a rails
DateHelper method in one of my helpers
http://api.rubyonrails.com/classes/ActionView/Helpers/
DateHelper.html#M000574
The helper runs fine from my view templates, just dies in the spec test.
I boiled my question down to a simple (not too useful) example. I''m
not sure what I''m missing.
# application_helper.rb
module ApplicationHelper
def app_foo
t = Time.now
distance_of_time_in_...