gitlab-org--gitlab-foss/spec/support/shared_examples/graphql/issuable_state_shared_examp...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
212 B
Ruby
Raw Normal View History

# frozen_string_literal: true
RSpec.shared_examples 'issuable state' do
it 'exposes all the existing issuable states' do
expect(described_class.values.keys).to include(*%w[opened closed locked])
end
end