safetypin

Untitled

Feb 8th, 2018
321
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.15 KB | None | 0 0
  1.   test "should redirect update when not logged in" do
  2.     patch user_path(@user)
  3.     assert_not flash.empty?
  4.     assert_redirected_to login_url
  5.   end
Advertisement
Add Comment
Please, Sign In to add comment