On 23 Sep 2008, at 14:20, Hunt Jon wrote:
>
> I saw some code using a block like:
>
> test "describing the test" do
> assert true
> end
>
> in unit test code.
>
> But I can''t get it to work. Is there any thing to do (requiring a
> gem)?
>
What version of rails are you using? That was added to the as yet
unreleased rails 2.2.
Fred> This is an alternative way to write
>
> def test_describe_the_test
> assert true
> end
>
> right?
>
> I can''t find good documentation on how to use this.
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---