Commit c66beb0a authored by Jan Provaznik's avatar Jan Provaznik

Merge branch '330300-ajk-model-specs-1' into 'master'

Clean up: remove compatibility facade needed for #330300

See merge request gitlab-org/gitlab!65009
parents 10700efe 55818fbb
...@@ -8,12 +8,6 @@ RSpec.shared_examples 'issue tracker integration URL attribute' do |url_attr| ...@@ -8,12 +8,6 @@ RSpec.shared_examples 'issue tracker integration URL attribute' do |url_attr|
it { is_expected.not_to allow_value('herp-and-derp').for(url_attr) } it { is_expected.not_to allow_value('herp-and-derp').for(url_attr) }
end end
# TODO: clean up:
# remove when https://gitlab.com/gitlab-org/gitlab/-/issues/330300 has been completed
RSpec.shared_examples 'issue tracker service URL attribute' do |url_attr|
it_behaves_like 'issue tracker integration URL attribute', url_attr
end
RSpec.shared_examples 'allows project key on reference pattern' do |url_attr| RSpec.shared_examples 'allows project key on reference pattern' do |url_attr|
it 'allows underscores in the project name' do it 'allows underscores in the project name' do
expect(described_class.reference_pattern.match('EXT_EXT-1234')[0]).to eq 'EXT_EXT-1234' expect(described_class.reference_pattern.match('EXT_EXT-1234')[0]).to eq 'EXT_EXT-1234'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment