Mocha Stub problem
21 Aug 2011, 14:21
Andrew Sage (7 posts)
I’ve no idea what page it is as I’m viewing on a Kindle but it is 30% in.
When I added the “lets stub an object” test to project_test.rb I got the following error:
ProjectTest: test_lets_stub_an_object (0.06s) ERROR test_should_be_able_to_retrieve_projects_based_on_day (0.12s) NoMethodError: undefined method `assigns’ for # /Users/andrew/Rails/huddle/test/unit/project_test.rb:7:in `block in ‘
|You must be logged in to comment|