Quoting drewB <[email protected]>:
> 
> I have just encountered a funny situation.  I have a number of
> functional and unit cases that are all written with the notation:
> 
> def ----
> 
> #test case
> 
> end
> 
> I just created a new model and controller with test cases written in a
> similar format.  When I run the test cases, no test are actually run
> (i see, "0 tests, 0 assertions, 0 failures, 0 errors").  If I convert
> to the format:
> 
> test "----" do
> 
> end
> 
Just to clarify, the first case is actually

def test_---
  #test case
end

Methods with the "test_" prefix are run, others are assumed to be supporting
code.

Jeffrey

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to