Jeremy Kemper
4/17/2009 4:51:00 PM
On Fri, Apr 17, 2009 at 11:45 AM, Fernando Perez <pedrolito@lavache.com> wr=
ote:
> Hi,
>
> I have tests written as:
>
> test "some test" do
> =A0...
> end
>
>
> But when I want to run a single test it doesn't work like before:
>
> $ ruby test/functional/some_controller_test.rb -n some_test
>
> Iget 0 test, 0 assertions...
>
> I also rewrote the test to :
>
> def some_test
> =A0...
> end
>
>
> And still no luck. Has anything changed from the various tutorials found
> on the internet? Also guides.rubyonrails.org has nothing about that.
test "some test" do ...
becomes
def test_some_test ...
so use -n test_some_test
jeremy