Sha256: 2558be1af006ad8797d22f14d646fd8033c1451fba8f851428c725b62797d6df
Contents?: true
Size: 486 Bytes
Versions: 7
Compression:
Stored size: 486 Bytes
Contents
# frozen_string_literal: true require "spec_helper" describe Doorkeeper::OAuth::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 = described_class.from_scopes(["public"]) expect(response.description).to include("public") end end end
Version data entries
7 entries across 7 versions & 2 rubygems