From 72660d58af13b4a768840307d2870ac08dd088ef Mon Sep 17 00:00:00 2001 From: James Lopez Date: Wed, 19 Oct 2016 15:40:14 +0200 Subject: plan events and spec working. Also added some TODOs to the code. --- spec/lib/gitlab/cycle_analytics/events_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec') 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 -- cgit v1.2.1