debian-mirror-gitlab/spec/support/shared_examples/graphql/issuable_state_shared_examples.rb
2019-10-12 21:52:04 +05:30

8 lines
212 B
Ruby

# 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