Done:
http://rspec.lighthouseapp.com/projects/5645-rspec/tickets/641-form-tag-helpers-in-helpers
Regards
-c
Op 30-dec-08, om 16:41 heeft David Chelimsky het volgende geschreven:
On Tue, Dec 30, 2008 at 9:14 AM, Ivo Dancet > wrote:
Hi
I bumped into a problem and tracked it down to this:
Form
On Tue, Dec 30, 2008 at 9:14 AM, Ivo Dancet wrote:
> Hi
>
> I bumped into a problem and tracked it down to this:
>
> Form tag helpers in helpers do not seem to be testable. The helper does
> actually work like it should if used in a view.
>
> Example:
>
> This helper:
> #
> def form_bu
Hi
I bumped into a problem and tracked it down to this:
Form tag helpers in helpers do not seem to be testable. The helper
does actually work like it should if used in a view.
Example:
This helper:
#
def form_builder
form_tag "foo" do
text_field_tag("bar")
end
end
And