Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'spec_helper'
- describe "FriendlyForwardings" do
- describe "should forward to the requested page after sigin" do
- user = Factory(:user)
- visit edit_user_path(user)
- fill_in :email, :with => user.email
- fill_in :password, :with => user.password
- click_button
- response.should render_template('users/edit')
- end
- end
Add Comment
Please, Sign In to add comment