summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-10-19 15:40:14 +0200
committerJames Lopez <james@jameslopez.es>2016-11-17 08:22:54 +0100
commit72660d58af13b4a768840307d2870ac08dd088ef (patch)
tree36762578399abf1ad7f2b2c1f835b21528532d75 /spec
parent3b5d947730eb1f979bcb9033d63bdceb11fbb8ca (diff)
downloadgitlab-ce-72660d58af13b4a768840307d2870ac08dd088ef.tar.gz
plan events and spec working. Also added some TODOs to the code.
Diffstat (limited to 'spec')
-rw-r--r--spec/lib/gitlab/cycle_analytics/events_spec.rb4
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