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:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-12-16 06:09:46 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-12-16 06:09:46 +0300
commit6aaf8cf6f4a561152e9b08b4a6470ad88195cd2f (patch)
tree9f7f10bb03e3f71e9bdce6c07631a17cd2152aca /spec/presenters
parenteba30e2ad821f653970486c4122fcca22cee27d9 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/presenters')
-rw-r--r--spec/presenters/gitlab/whats_new/item_presenter_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/presenters/gitlab/whats_new/item_presenter_spec.rb b/spec/presenters/gitlab/whats_new/item_presenter_spec.rb
index b7b711e04c7..9b04741aa60 100644
--- a/spec/presenters/gitlab/whats_new/item_presenter_spec.rb
+++ b/spec/presenters/gitlab/whats_new/item_presenter_spec.rb
@@ -4,7 +4,7 @@ require 'spec_helper'
RSpec.describe Gitlab::WhatsNew::ItemPresenter do
let(:present) { Gitlab::WhatsNew::ItemPresenter.present(item) }
- let(:item) { { "packages" => %w(Premium Ultimate) } }
+ let(:item) { { "packages" => %w(Core Starter Premium Ultimate) } }
let(:gitlab_com) { true }
before do
@@ -14,7 +14,7 @@ RSpec.describe Gitlab::WhatsNew::ItemPresenter do
describe '.present' do
context 'when on Gitlab.com' do
it 'transforms package names to gitlab.com friendly package names' do
- expect(present).to eq({ "packages" => %w(Silver Gold) })
+ expect(present).to eq({ "packages" => %w(Free Bronze Silver Gold) })
end
end
@@ -22,7 +22,7 @@ RSpec.describe Gitlab::WhatsNew::ItemPresenter do
let(:gitlab_com) { false }
it 'does not transform package names' do
- expect(present).to eq({ "packages" => %w(Premium Ultimate) })
+ expect(present).to eq({ "packages" => %w(Core Starter Premium Ultimate) })
end
end
end