diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-11-18 22:31:26 +0100 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-11-18 22:31:26 +0100 |
commit | b1f5af40598528fbc1326946376a595d41793537 (patch) | |
tree | fc85fbac4690272de2e6bf5520ba0067dad6a22a /spec/serializers | |
parent | 43898f8efbe4981ad2ca67e7804db2c73fe2f3e2 (diff) | |
download | gitlab-ce-b1f5af40598528fbc1326946376a595d41793537.tar.gz |
Bring back the `commit_url` as it's used by CycleAnalytics
Diffstat (limited to 'spec/serializers')
-rw-r--r-- | spec/serializers/commit_entity_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
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) |