Sha256: 2288019a155ff6f0d9873f49ab9b9e47b4e7a4daabcac9a4c7b39efc78c2374a

Contents?: true

Size: 380 Bytes

Versions: 7

Compression:

Stored size: 380 Bytes

Contents

# frozen_string_literal: true

if defined?(Devise)
  ###
  # For testing devise_cas
  # https://github.com/nbudin/devise_cas_authenticatable/wiki/Testing
  class ActionController::TestCase
    # include Devise::TestHelpers
    include Devise::Test::ControllerHelpers
  end

  class ActionDispatch::IntegrationTest
    include Warden::Test::Helpers
    Warden.test_mode!
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
kowl-0.0.7 lib/kowl/templates/tests/minitest/support/devise.rb
kowl-0.0.6 lib/kowl/templates/tests/minitest/support/devise.rb
kowl-0.0.5 lib/kowl/templates/tests/minitest/support/devise.rb
kowl-0.0.4 lib/kowl/templates/tests/minitest/support/devise.rb
kowl-0.0.3 lib/kowl/templates/tests/minitest/support/devise.rb
kowl-0.0.2 lib/kowl/templates/tests/minitest/support/devise.rb
kowl-0.0.1 lib/kowl/templates/tests/minitest/support/devise.rb