Guest User

Untitled

a guest
Feb 19th, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. context "on get to /users" do
  2. setup { get :index }
  3. should "call the finder", :before => lambda {User.expects(:finder).returns(@users)} do
  4. assert_equal @users, assigns(:users)
  5. end
  6. end
Add Comment
Please, Sign In to add comment