Skip to content
代码片段 群组 项目
提交 9d2282b5 编辑于 作者: Suraj Tripathi's avatar Suraj Tripathi
浏览文件

Updated testcase to check path explicitly

上级 5a908aff
No related branches found
No related tags found
无相关合并请求
...@@ -421,7 +421,9 @@ ...@@ -421,7 +421,9 @@
before do before do
expect(Auth::ContainerRegistryAuthenticationService).to receive(:pull_nested_repositories_access_token).with(path.downcase).and_return(token) expect(Auth::ContainerRegistryAuthenticationService).to receive(:pull_nested_repositories_access_token).with(path.downcase).and_return(token)
stub_repository_details(path.downcase, sizing: :self_with_descendants, status_code: 200, respond_with: response) expect_next_instance_of(described_class) do |client|
expect(client).to receive(:repository_details).with(path.downcase, sizing: :self_with_descendants).and_return(response.with_indifferent_access).once
end
end end
it { is_expected.to eq(555) } it { is_expected.to eq(555) }
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册