diff options
author | James Lopez <james@jameslopez.es> | 2016-10-19 15:40:14 +0200 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-11-17 08:22:54 +0100 |
commit | 72660d58af13b4a768840307d2870ac08dd088ef (patch) | |
tree | 36762578399abf1ad7f2b2c1f835b21528532d75 /spec/lib/gitlab/cycle_analytics/events_spec.rb | |
parent | 3b5d947730eb1f979bcb9033d63bdceb11fbb8ca (diff) | |
download | gitlab-ce-72660d58af13b4a768840307d2870ac08dd088ef.tar.gz |
plan events and spec working. Also added some TODOs to the code.
Diffstat (limited to 'spec/lib/gitlab/cycle_analytics/events_spec.rb')
-rw-r--r-- | spec/lib/gitlab/cycle_analytics/events_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/cycle_analytics/events_spec.rb b/spec/lib/gitlab/cycle_analytics/events_spec.rb index ef59e8abc58..4f8ba465d71 100644 --- a/spec/lib/gitlab/cycle_analytics/events_spec.rb +++ b/spec/lib/gitlab/cycle_analytics/events_spec.rb @@ -38,8 +38,8 @@ describe Gitlab::CycleAnalytics::Events do describe '#plan_events' do let!(:context) { create(:issue, project: project, created_at: 2.days.ago) } - xit 'has the first referenced commit' do - expect(subject.plan_events.first['commit']).to eq(project.commit) + it 'has the first referenced commit' do + expect(subject.plan_events.first['commit'].message).to eq('commit message') end it 'has the total time' do |