On 26 August 2010 21:12, Georgie Porgie <[email protected]> wrote:
> Well this is all I get and i can't really make anything out of it:
>
> NoMethodError (You have a nil object when you didn't expect it!
> You might have expected an instance of Array.
> The error occurred while evaluating nil.+):
>  /test/integration/user_stories_test.rb:12:in `some_test'

Which is that line?  The code you showed only had 8 lines.

Colin

>  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
> 1.8/test/unit/testsuite.rb:34:in `run'
>  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
> 1.8/test/unit/testsuite.rb:33:in `each'
>  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
> 1.8/test/unit/testsuite.rb:33:in `run'
>  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
> 1.8/test/unit/testsuite.rb:34:in `run'
>  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
> 1.8/test/unit/testsuite.rb:33:in `each'
>  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
> 1.8/test/unit/testsuite.rb:33:in `run'
>  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
> 1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite'
>  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
> 1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator'
>  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
> 1.8/test/unit/ui/console/testrunner.rb:41:in `start'
>  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
> 1.8/test/unit/ui/testrunnerutilities.rb:29:in `run'
>  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
> 1.8/test/unit/autorunner.rb:216:in `run'
>  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
> 1.8/test/unit/autorunner.rb:12:in `run'
>  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
> 1.8/test/unit.rb:278
>  rake (0.8.7) lib/rake/rake_test_loader.rb:5
>
> Rendered rescues/_trace (36.6ms)
> Rendered rescues/_request_and_response (1.3ms)
> Rendering rescues/layout (internal_server_error)
>
> --
> 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.
>
>

-- 
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