Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/helpers/admin/deploy_key_helper_spec.rb')
-rw-r--r--spec/helpers/admin/deploy_key_helper_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/helpers/admin/deploy_key_helper_spec.rb b/spec/helpers/admin/deploy_key_helper_spec.rb
index ca951ccf485..0c07ecf90ce 100644
--- a/spec/helpers/admin/deploy_key_helper_spec.rb
+++ b/spec/helpers/admin/deploy_key_helper_spec.rb
@@ -7,7 +7,7 @@ RSpec.describe Admin::DeployKeyHelper do
let_it_be(:edit_path) { '/admin/deploy_keys/:id/edit' }
let_it_be(:delete_path) { '/admin/deploy_keys/:id' }
let_it_be(:create_path) { '/admin/deploy_keys/new' }
- let_it_be(:empty_state_svg_path) { '/assets/illustrations/empty-state/empty-deploy-keys-lg.svg' }
+ let_it_be(:empty_state_svg_path) { '/assets/illustrations/empty-state/empty-access-token-md.svg' }
subject(:result) { helper.admin_deploy_keys_data }
@@ -15,7 +15,7 @@ RSpec.describe Admin::DeployKeyHelper do
expect(helper).to receive(:edit_admin_deploy_key_path).with(':id').and_return(edit_path)
expect(helper).to receive(:admin_deploy_key_path).with(':id').and_return(delete_path)
expect(helper).to receive(:new_admin_deploy_key_path).and_return(create_path)
- expect(helper).to receive(:image_path).with('illustrations/empty-state/empty-deploy-keys-lg.svg').and_return(empty_state_svg_path)
+ expect(helper).to receive(:image_path).with('illustrations/empty-state/empty-access-token-md.svg').and_return(empty_state_svg_path)
expect(result).to eq({
edit_path: edit_path,