diff options
author | Adam Hegyi <ahegyi@gitlab.com> | 2019-08-15 22:19:37 +0300 |
---|---|---|
committer | Mayra Cabrera <mcabrera@gitlab.com> | 2019-08-15 22:19:37 +0300 |
commit | ca6cfde588aca5139dd951b6f48a3089e0f0b12d (patch) | |
tree | 4793ef79754e32dd0b8c6c981aca62f73ada493c /spec/models/analytics | |
parent | 1a20be8682397f71cb7269b706eb5865774d55b5 (diff) |
Migrations for Cycle Analytics backend
This change lays the foundation for customizable cycle analytics stages.
The main reason for the change is to extract the event definitions to
separate objects (start_event, end_event) so that it could be easily
customized later on.
Diffstat (limited to 'spec/models/analytics')
-rw-r--r-- | spec/models/analytics/cycle_analytics/project_stage_spec.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/models/analytics/cycle_analytics/project_stage_spec.rb b/spec/models/analytics/cycle_analytics/project_stage_spec.rb new file mode 100644 index 00000000000..4e3923e82b1 --- /dev/null +++ b/spec/models/analytics/cycle_analytics/project_stage_spec.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +require 'spec_helper' + +describe Analytics::CycleAnalytics::ProjectStage do + describe 'associations' do + it { is_expected.to belong_to(:project) } + end +end |