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
path: root/spec
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2019-06-03 10:31:00 +0300
committerPhil Hughes <me@iamphill.com>2019-06-03 10:31:00 +0300
commit9907954897e3f7a56c71bd4860a411d3a66c1f86 (patch)
treee52720572793a3a781b18f15bde333c16f5d48b5 /spec
parent60a18fb289afeb4b8f72f5fc9b53b4ac6cbd31b0 (diff)
parentcc8e7ea2056ae8132ea9eb0565c8e0a07b1077a6 (diff)
Merge branch '62429-remove-unused-avatar-sizes' into 'master'
Remove unused avatar sizes Closes #62429 See merge request gitlab-org/gitlab-ce!28947
Diffstat (limited to 'spec')
-rw-r--r--spec/javascripts/diffs/components/commit_item_spec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/javascripts/diffs/components/commit_item_spec.js b/spec/javascripts/diffs/components/commit_item_spec.js
index 8fc9b10dd0b..cfe0c4bad71 100644
--- a/spec/javascripts/diffs/components/commit_item_spec.js
+++ b/spec/javascripts/diffs/components/commit_item_spec.js
@@ -8,7 +8,7 @@ import getDiffWithCommit from '../mock_data/diff_with_commit';
const TEST_AUTHOR_NAME = 'test';
const TEST_AUTHOR_EMAIL = 'test+test@gitlab.com';
-const TEST_AUTHOR_GRAVATAR = `${TEST_HOST}/avatar/test?s=36`;
+const TEST_AUTHOR_GRAVATAR = `${TEST_HOST}/avatar/test?s=40`;
const TEST_SIGNATURE_HTML = '<a>Legit commit</a>';
const TEST_PIPELINE_STATUS_PATH = `${TEST_HOST}/pipeline/status`;
@@ -65,7 +65,7 @@ describe('diffs/components/commit_item', () => {
const imgElement = avatarElement.querySelector('img');
expect(avatarElement).toHaveAttr('href', commit.author.web_url);
- expect(imgElement).toHaveClass('s36');
+ expect(imgElement).toHaveClass('s40');
expect(imgElement).toHaveAttr('alt', commit.author.name);
expect(imgElement).toHaveAttr('src', commit.author.avatar_url);
});