diff options
author | James Lopez <james@jameslopez.es> | 2016-11-04 14:57:23 +0300 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-11-17 10:22:57 +0300 |
commit | bd31f24c548878597322b34965789c88ff8d2dde (patch) | |
tree | 10d9e8f425506f3f1097b1d3e6a1cc50ad3a22cf /spec/lib/gitlab/cycle_analytics | |
parent | eccb6a5e920920bda11104ca608e652f84a944bf (diff) |
Added branch option to test events
Also fixed test events ordering issue
Diffstat (limited to 'spec/lib/gitlab/cycle_analytics')
-rw-r--r-- | spec/lib/gitlab/cycle_analytics/events_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/cycle_analytics/events_spec.rb b/spec/lib/gitlab/cycle_analytics/events_spec.rb index c83dafbd256..a531c4c31b7 100644 --- a/spec/lib/gitlab/cycle_analytics/events_spec.rb +++ b/spec/lib/gitlab/cycle_analytics/events_spec.rb @@ -6,7 +6,7 @@ describe Gitlab::CycleAnalytics::Events do let(:user) { create(:user, :admin) } let!(:context) { create(:issue, project: project, created_at: 2.days.ago) } - subject { described_class.new(project: project, from: from_date) } + subject { described_class.new(project: project, options: { from: from_date }) } before do setup(context) |