diff options
author | Grzegorz Bizon <grzegorz@gitlab.com> | 2017-10-18 09:02:32 +0000 |
---|---|---|
committer | Grzegorz Bizon <grzegorz@gitlab.com> | 2017-10-18 09:02:32 +0000 |
commit | 0fa2f14857ceb5b5b52595555bb2c3e6e930e1f7 (patch) | |
tree | 71d09c4aeb45cf238739b84f2931ca5f58739ad4 /spec/serializers | |
parent | 1090514ab407b7faa894cbd9b6cd769c376a9b5d (diff) | |
parent | 6ac0a69b688608bc971b8b69494ac5ef8aac72c0 (diff) | |
download | gitlab-ce-0fa2f14857ceb5b5b52595555bb2c3e6e930e1f7.tar.gz |
Merge branch 'kt/bug/fix-revision-and-size-for-container-registry' into 'master'
Add short_revision and use total_size
Closes #39203
See merge request gitlab-org/gitlab-ce!14917
Diffstat (limited to 'spec/serializers')
-rw-r--r-- | spec/serializers/container_tag_entity_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/serializers/container_tag_entity_spec.rb b/spec/serializers/container_tag_entity_spec.rb index 6dcc5204516..4beb50c70f8 100644 --- a/spec/serializers/container_tag_entity_spec.rb +++ b/spec/serializers/container_tag_entity_spec.rb @@ -22,7 +22,7 @@ describe ContainerTagEntity do end it 'exposes required informations' do - expect(subject).to include(:name, :location, :revision, :total_size, :created_at) + expect(subject).to include(:name, :location, :revision, :short_revision, :total_size, :created_at) end context 'when user can manage repositories' do |