Hey gang,
I have this dead-simple method defined in a helper:
def add_category_link(name)
link_to_function name do |page|
page.insert_html :bottom, :categories, :partial =>
'category', :object => Category.new
end
end
Where, and mostly how, would I spec this? I haven't been able to find
how to stub the rjs in a helper spec, so I'd appreciate any pointers
whatsoever..
thanks!
bartz