diff options
Diffstat (limited to 'spec/helpers/graph_helper_spec.rb')
-rw-r--r-- | spec/helpers/graph_helper_spec.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/spec/helpers/graph_helper_spec.rb b/spec/helpers/graph_helper_spec.rb index 3c7e4f970c3..682f6365481 100644 --- a/spec/helpers/graph_helper_spec.rb +++ b/spec/helpers/graph_helper_spec.rb @@ -15,4 +15,16 @@ RSpec.describe GraphHelper do expect(refs).to match('master') end end + + describe '#should_render_deployment_frequency_charts' do + let(:project) { create(:project, :private) } + + before do + self.instance_variable_set(:@project, project) + end + + it 'always returns false' do + expect(should_render_deployment_frequency_charts).to be(false) + end + end end |