diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2018-12-21 19:03:09 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2018-12-21 19:03:09 +0300 |
commit | f635fbdef61acdb9505eabb36709c45296cb6831 (patch) | |
tree | 6233794e331a6ae654bb6cb47e3734e54bde2a1e /spec/javascripts/releases | |
parent | c64f08cad0d50be7f431c2fabace42d6a548d130 (diff) |
Fixes if case to render author info in releases
Diffstat (limited to 'spec/javascripts/releases')
-rw-r--r-- | spec/javascripts/releases/components/release_block_spec.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/javascripts/releases/components/release_block_spec.js b/spec/javascripts/releases/components/release_block_spec.js index 29420216bc4..1268cdad08d 100644 --- a/spec/javascripts/releases/components/release_block_spec.js +++ b/spec/javascripts/releases/components/release_block_spec.js @@ -133,4 +133,8 @@ describe('Release block', () => { release.assets.links[0].name, ); }); + + it('renders author avatar', () => { + expect(vm.$el.querySelector('.user-avatar-link')).not.toBeNull(); + }); }); |