Ruby on Rails
Sunday, December 7, 2014
Hello,
Sorry for the double post but on reddit nobody seems to have the solution.
im following the agile web developement book but then with my own layout.
Now am at chapter 9 where a shopping card is added. But as soon as I try to test the card I see this error
LineItemsControllerTest#test_should_create_line_item:
RuntimeError: @controller is nil: make sure you set it in your test's setup method.
my code can be found here : https://github.com/roelof1967/commerce-try
Who can help me figure out why this test is failing. According to the book it must all be successfull.
Roelof
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/996b9816-29bc-4dcf-9452-1c804be67ba7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment