debian-mirror-gitlab/spec/support/shared_examples/lib/gitlab/gl_repository_shared_examples.rb
2020-08-09 17:44:08 +05:30

13 lines
302 B
Ruby

# frozen_string_literal: true
RSpec.shared_examples 'parsing gl_repository identifier' do
subject { described_class.parse(identifier) }
it 'returns correct information' do
expect(subject).to have_attributes(
repo_type: expected_type,
container: expected_container
)
end
end