Sha256: d102bdb067359d0dfe4cec9fd961c5e1a3c73110e92a69439d397f55a96bee9f
Contents?: true
Size: 381 Bytes
Versions: 3
Compression:
Stored size: 381 Bytes
Contents
# frozen_string_literal: true RSpec.describe KeycloakRack::AuthorizeRealm do let(:session) { FactoryBot.create :session } let(:instance) { session.authorize_realm } it "works with an authorized realm role" do expect(instance.call("foo")).to be_a_success end it "fails with an unauthorized realm role" do expect(instance.call("bar")).to be_a_failure end end
Version data entries
3 entries across 3 versions & 1 rubygems