Sha256: 9dd82627ea17ba4c83196dab6958fb70722e442fc55e7c1aea0ecbaa8a7acc99
Contents?: true
Size: 482 Bytes
Versions: 7
Compression:
Stored size: 482 Bytes
Contents
# frozen_string_literal: true require 'rspeckled' require 'ostruct' require 'drillbit/authorizers/scope' module Drillbit module Authorizers describe Scope do it 'defaults to nothing' do scope = Scope.new(token: '123', user: Object.new, issuer: 'my_issuer', params: {}, scope_root: OpenStruct.new(none: [])) expect(scope.call).to be_empty end end end end
Version data entries
7 entries across 7 versions & 1 rubygems