Sha256: d46f62968955d62e5502821b11eb4ac2da3048d2dace2144d200eb1d8a013eeb
Contents?: true
Size: 474 Bytes
Versions: 6
Compression:
Stored size: 474 Bytes
Contents
require "test_helper" =begin What's being tested here? - Access to user_guide. =end class Admin::BaseControllerTest < ActionController::TestCase test "user_guide is not displayed when user is not logged in" do get :user_guide assert_response :redirect assert_redirected_to new_admin_session_path # (:back_to => '/admin/user_guide') end test "user_guide display" do admin_sign_in get :user_guide assert_response :success end end
Version data entries
6 entries across 6 versions & 1 rubygems