Guest User

Untitled

a guest
Jun 19th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. require 'spec_helper'
  2.  
  3. describe "FriendlyForwardings" do
  4. describe "should forward to the requested page after sigin" do
  5. user = Factory(:user)
  6. visit edit_user_path(user)
  7. fill_in :email, :with => user.email
  8. fill_in :password, :with => user.password
  9. click_button
  10. response.should render_template('users/edit')
  11. end
  12. end
Add Comment
Please, Sign In to add comment