class TimeagoStub
include Rails::Timeago::Helper
I18n.backend.store_translations :en, :hello => 'World'
def time_tag(time, content, options = {})
options = options.map { |k,v| "#{k}=\"#{v}\""}
""
end
def time_ago_in_words(time)
"%time_ago_in_words%"
end
def javascript_tag(source)
""
end
end