From b1f5af40598528fbc1326946376a595d41793537 Mon Sep 17 00:00:00 2001 From: Kamil Trzcinski Date: Fri, 18 Nov 2016 22:31:26 +0100 Subject: Bring back the `commit_url` as it's used by CycleAnalytics --- spec/serializers/commit_entity_spec.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'spec/serializers') diff --git a/spec/serializers/commit_entity_spec.rb b/spec/serializers/commit_entity_spec.rb index a44a23ef619..15f11ac3df9 100644 --- a/spec/serializers/commit_entity_spec.rb +++ b/spec/serializers/commit_entity_spec.rb @@ -35,6 +35,10 @@ describe CommitEntity do expect(subject).to include(:commit_path) end + it 'contains URL to commit' do + expect(subject).to include(:commit_url) + end + it 'needs to receive project in the request' do expect(request).to receive(:project) .and_return(project) -- cgit v1.2.3