Sha256: 2495596567aa71052199f827a8621ae99ad505141e0a7b9f00d10cc485ecde92

Contents?: true

Size: 397 Bytes

Versions: 2

Compression:

Stored size: 397 Bytes

Contents

require "test_helper"

module Workarea
  class BasicAuthTest < Workarea::TestCase
    def test_creates_workarea_config_basic_auth_with_route_sets
      basic_auth = Workarea.config.basic_auth
      refute_nil(basic_auth)
      assert_instance_of(BasicAuth::SimpleRouteSet, basic_auth.protect_routes)
      assert_instance_of(BasicAuth::SimpleRouteSet, basic_auth.exclude_routes)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
workarea-basic_auth-1.1.2 test/lib/workarea/basic_auth_test.rb
workarea-basic_auth-1.1.1 test/lib/workarea/basic_auth_test.rb