Skip to content
Snippets Groups Projects
Commit cfdab89e authored by Luke Duncalfe's avatar Luke Duncalfe :two:
Browse files

Remove duplicate whens

parent a50047db
No related branches found
No related tags found
1 merge request!93624Show descriptions for `:alpha` items in GraphQL docs
This commit is part of merge request !93624. Comments created here will be created in the context of that merge request.
......@@ -241,13 +241,13 @@
describe '#alpha?' do
let(:options) { { milestone: '10.10', reason: reason } }
context 'when when `reason` is `:alpha`' do
context 'when `reason` is `:alpha`' do
let(:reason) { described_class::REASON_ALPHA }
it { is_expected.to be_alpha }
end
context 'when when `reason` is not `:alpha`' do
context 'when `reason` is not `:alpha`' do
let(:reason) { described_class::REASON_RENAMED }
it { is_expected.not_to be_alpha }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment