summaryrefslogtreecommitdiff
path: root/spec/helpers/graph_helper_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/helpers/graph_helper_spec.rb')
-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 0930417accb..a5d4e1313e1 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_dora_charts).to be(false)
end
end
+
+ describe '#should_render_quality_summary' do
+ let(:project) { create(:project, :private) }
+
+ before do
+ self.instance_variable_set(:@project, project)
+ end
+
+ it 'always returns false' do
+ expect(should_render_quality_summary).to be(false)
+ end
+ end
end