Sha256: 4672f3dde27031c7ce3e01ab55e8a52c6eb4b240a48ba745e9b806fabe0c8a77
Contents?: true
Size: 452 Bytes
Versions: 19
Compression:
Stored size: 452 Bytes
Contents
# http://api.rubyonrails.org/classes/ActionDispatch/IntegrationTest.html require 'test_helper' class Cms::Fortress::UsersControllerIntegrationTest < ActionDispatch::IntegrationTest setup do @comfy_cms_site = comfy_cms_sites(:default) end test "it should redirect to login if unauthenticated" do get "/cms-admin/" follow_redirect! follow_redirect! assert_equal 200, status assert_equal "/cms-admin/login", path end end
Version data entries
19 entries across 19 versions & 1 rubygems