diff options
Diffstat (limited to 'spec/support/shared_examples/lib/gitlab/repo_type_shared_examples.rb')
-rw-r--r-- | spec/support/shared_examples/lib/gitlab/repo_type_shared_examples.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/shared_examples/lib/gitlab/repo_type_shared_examples.rb b/spec/support/shared_examples/lib/gitlab/repo_type_shared_examples.rb index c2898513424..025f0d5c7ea 100644 --- a/spec/support/shared_examples/lib/gitlab/repo_type_shared_examples.rb +++ b/spec/support/shared_examples/lib/gitlab/repo_type_shared_examples.rb @@ -15,7 +15,7 @@ RSpec.shared_examples 'a repo type' do describe '#repository_for' do it 'finds the repository for the repo type' do - expect(described_class.repository_for(expected_repository_resolver)).to eq(expected_repository) + expect(described_class.repository_for(expected_container)).to eq(expected_repository) end it 'returns nil when container is nil' do |