test/test_helper.rb
# Add more helper methods to be used by all tests here...
Add more helper methods to be used by all tests here
Add more helper methods to be used by all tests here
def root_not_logged_in?
      get root_url
      assert_redirected_to public_url
      follow_redirect!
      assert_response :success
      assert_template 'sessions/new'
    end
def root_not_logged_in? get root_url assert_redirected_to public_url follow_redirect! assert_response :success assert_template 'sessions/new' end
Add more helper methods to be used by all tests here...
Add more helper methods to be used by all tests here ...