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:
authorRémy Coutable <remy@rymai.me>2017-07-06 19:57:02 +0300
committerRémy Coutable <remy@rymai.me>2017-07-06 19:57:02 +0300
commit040eeb1039b4298ea56a670a0a4ae511288806d6 (patch)
tree6777d4d6c4fb1322f0d6ef7c4d2a59195aef3255 /spec/lib/gitlab/performance_bar_spec.rb
parentde9eca0af65e8fd235aed8c9ea598f16562956e7 (diff)
Allow to enable the Performance Bar for a group from the admin area
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/lib/gitlab/performance_bar_spec.rb')
-rw-r--r--spec/lib/gitlab/performance_bar_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/performance_bar_spec.rb b/spec/lib/gitlab/performance_bar_spec.rb
index 6414bdb80ed..e77a1ebbb0d 100644
--- a/spec/lib/gitlab/performance_bar_spec.rb
+++ b/spec/lib/gitlab/performance_bar_spec.rb
@@ -10,7 +10,7 @@ describe Gitlab::PerformanceBar do
actor = double('actor')
expect(Feature).to receive(:enabled?)
- .with(:gitlab_performance_bar, actor).and_return(false)
+ .with(:performance_bar, actor).and_return(false)
expect(described_class.enabled?(actor)).to be_falsy
end
@@ -19,7 +19,7 @@ describe Gitlab::PerformanceBar do
actor = double('actor')
expect(Feature).to receive(:enabled?)
- .with(:gitlab_performance_bar, actor).and_return(true)
+ .with(:performance_bar, actor).and_return(true)
expect(described_class.enabled?(actor)).to be_truthy
end