summaryrefslogtreecommitdiff
path: root/spec/helpers
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-04-15 00:09:12 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-04-15 00:09:12 +0000
commit208ef945547951d931bf069d42aa2d4e27432807 (patch)
treed486ceba4ca62668872cdd4e9377a99fe9f218cc /spec/helpers
parente30d680b42eff52d9eb2a79ff7ed40bd8bb88d21 (diff)
downloadgitlab-ce-208ef945547951d931bf069d42aa2d4e27432807.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/helpers')
-rw-r--r--spec/helpers/graph_helper_spec.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/spec/helpers/graph_helper_spec.rb b/spec/helpers/graph_helper_spec.rb
index 682f6365481..5b5ad59ed0d 100644
--- a/spec/helpers/graph_helper_spec.rb
+++ b/spec/helpers/graph_helper_spec.rb
@@ -27,4 +27,16 @@ RSpec.describe GraphHelper do
expect(should_render_deployment_frequency_charts).to be(false)
end
end
+
+ describe '#should_render_lead_time_charts' do
+ let(:project) { create(:project, :private) }
+
+ before do
+ self.instance_variable_set(:@project, project)
+ end
+
+ it 'always returns false' do
+ expect(should_render_lead_time_charts).to be(false)
+ end
+ end
end