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

Version Path
cms-fortress-1.3.15 test/integration/cms/fortress/users_controller_test.rb
cms-fortress-1.3.14 test/integration/cms/fortress/users_controller_test.rb
cms-fortress-1.3.13 test/integration/cms/fortress/users_controller_test.rb
cms-fortress-1.3.12 test/integration/cms/fortress/users_controller_test.rb
cms-fortress-1.3.11 test/integration/cms/fortress/users_controller_test.rb
cms-fortress-1.3.10 test/integration/cms/fortress/users_controller_test.rb
cms-fortress-1.3.9 test/integration/cms/fortress/users_controller_test.rb
cms-fortress-1.3.8 test/integration/cms/fortress/users_controller_test.rb
cms-fortress-1.3.7 test/integration/cms/fortress/users_controller_test.rb
cms-fortress-1.3.6 test/integration/cms/fortress/users_controller_test.rb
cms-fortress-1.3.5 test/integration/cms/fortress/users_controller_test.rb
cms-fortress-1.3.4 test/integration/cms/fortress/users_controller_test.rb
cms-fortress-1.3.3 test/integration/cms/fortress/users_controller_test.rb
cms-fortress-1.3.2 test/integration/cms/fortress/users_controller_test.rb
cms-fortress-1.3.1 test/integration/cms/fortress/users_controller_test.rb
cms-fortress-1.3.0 test/integration/cms/fortress/users_controller_test.rb
cms-fortress-1.3.0.rc3 test/integration/cms/fortress/users_controller_test.rb
cms-fortress-1.3.0.rc2 test/integration/cms/fortress/users_controller_test.rb
cms-fortress-1.3.0.rc1 test/integration/cms/fortress/users_controller_test.rb