search for: better_user_view

Displaying 1 result from an estimated 1 matches for "better_user_view".

Did you mean: better_user_views
2011 Jul 22
1
rails3 tutorial: testing with factories
I''m having trouble understanding what the assigns() method does, as described at the following link: http://ruby.railstutorial.org/chapters/modeling-and-viewing-users-two#sec:better_user_views The User model has been ''rake db:test:prepare''ed, but I checked and no records were copied to the test db after doing that. Yet the description of assigns() says that the code: describe "GET ''show''" do before(:each) do @user = Factory(:...