On 15 April 2010 03:33, vfr292 <[email protected]> wrote: > I'm running a unit test in rails 2.3.5 > > Below is the error: > > 1) Error: > test1s(ActionView::TestCase): > TypeError: wrong argument type Class (expected Module) > > Has anyone seen this before? Is there a solution/work around? > > I have tried changing my testing code, but it always shows up as the > fourth test which makes me think that it is a general error rather > then something to do with my test.
Can you reduce your test rb file to the minimum that shows the error and paste it here? Actually I would not be surprised if you found the problem while reducing it. Colin -- 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.

