summaryrefslogtreecommitdiff
path: root/spec/requests/api/v3
diff options
context:
space:
mode:
authorPirate Praveen <praveen@debian.org>2018-03-14 13:56:58 +0100
committerPirate Praveen <praveen@debian.org>2018-03-20 12:42:36 +0100
commit4b540d2b625684bb23bfe7f8d51a76d4d60e8760 (patch)
tree2de23289a79d4c86836c8c0da01c7203340bafa7 /spec/requests/api/v3
parent46b2933c8e0e5c6bc2571a16b5767445a7c74a94 (diff)
downloadgitlab-ce-4b540d2b625684bb23bfe7f8d51a76d4d60e8760.tar.gz
Fix test failures with licensee 8.9
Diffstat (limited to 'spec/requests/api/v3')
-rw-r--r--spec/requests/api/v3/templates_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/api/v3/templates_spec.rb b/spec/requests/api/v3/templates_spec.rb
index 38a8994eb79..1a637f3cf96 100644
--- a/spec/requests/api/v3/templates_spec.rb
+++ b/spec/requests/api/v3/templates_spec.rb
@@ -57,7 +57,7 @@ describe API::V3::Templates do
expect(json_response['description']).to include('A short and simple permissive license with conditions')
expect(json_response['conditions']).to eq(%w[include-copyright])
expect(json_response['permissions']).to eq(%w[commercial-use modifications distribution private-use])
- expect(json_response['limitations']).to eq(%w[no-liability])
+ expect(json_response['limitations']).to eq(%w[liability warranty])
expect(json_response['content']).to include('MIT License')
end
end