Welcome to mirror list, hosted at ThFree Co, Russian Federation.

doorkeeper_spec.rb « initializers « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 32133edece7b3718e0470ecff1577f2f6a5a47bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
require 'spec_helper'
require_relative '../../config/initializers/doorkeeper'

describe Doorkeeper.configuration do
  it 'default_scopes matches Gitlab::Auth::DEFAULT_SCOPES' do
    expect(subject.default_scopes).to eq Gitlab::Auth::DEFAULT_SCOPES
  end

  it 'optional_scopes matches Gitlab::Auth::OPTIONAL_SCOPES' do
    expect(subject.optional_scopes).to eq Gitlab::Auth::OPTIONAL_SCOPES
  end
end