Sha256: 968d011a2d14db5650b5cae3b986300d1d4c12b041b6daa702bd0d25b58be564
Contents?: true
Size: 498 Bytes
Versions: 10
Compression:
Stored size: 498 Bytes
Contents
require 'spec_helper' module Doorkeeper::OAuth describe ForbiddenTokenResponse do describe '#name' do it { expect(subject.name).to eq(:invalid_scope) } end describe '#status' do it { expect(subject.status).to eq(:forbidden) } end describe :from_scopes do it 'should have a list of acceptable scopes' do response = ForbiddenTokenResponse.from_scopes(["public"]) expect(response.description).to include('public') end end end end
Version data entries
10 entries across 10 versions & 3 rubygems