Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- it "should redisplay the form if they didn't enter the same password" do
- user = Factory.create(:user_waiting_activation)
- post :create, :user => {:password => "homersimpson", :password_confirmation => "homer"}, :id => user.id
- response.should render_template("new")
- end
Add Comment
Please, Sign In to add comment