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:
Diffstat (limited to 'spec/lib/gitlab/cycle_analytics/shared_config_spec.rb')
-rw-r--r--spec/lib/gitlab/cycle_analytics/shared_config_spec.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/spec/lib/gitlab/cycle_analytics/shared_config_spec.rb b/spec/lib/gitlab/cycle_analytics/shared_config_spec.rb
new file mode 100644
index 00000000000..060a59151d8
--- /dev/null
+++ b/spec/lib/gitlab/cycle_analytics/shared_config_spec.rb
@@ -0,0 +1,15 @@
+require 'spec_helper'
+
+shared_examples 'default query config' do
+ it 'has the start attributes' do
+ expect(described_class.start_time_attrs).not_to be_nil
+ end
+
+ it 'has the end attributes' do
+ expect(described_class.end_time_attrs ).not_to be_nil
+ end
+
+ it 'has the projection attributes' do
+ expect(described_class.projections).not_to be_nil
+ end
+end