Notes posted by virusswb
RSS feed
0 thanks
you will be redirect to signin, when you want to create post before signin
code
def test_should_signin_first_before_add_post get "/admin/posts/new" follow_redirect! end

1 thank
post user authentication info to sessions create action
post_via_redirect(“sessions”, {:user=>{:email=> user.email, :password => user.password}})