summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Newdigate <andrew@gitlab.com>2017-10-02 21:59:27 +0100
committerAndrew Newdigate <andrew@gitlab.com>2017-10-02 21:59:27 +0100
commit401f0e8be20ea66bd49fde5c591c1c4e326f2e22 (patch)
tree6f8484b55d306b6fbf46bc075c7845d9ecf82b1c
parent837d7acd96631011b61908b3e07b93bc79246d16 (diff)
downloadgitlab-ce-fix-for-nil-encoding-issue.tar.gz
Remove empty string testfix-for-nil-encoding-issue
-rw-r--r--spec/lib/gitlab/gitaly_client/commit_service_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/gitaly_client/commit_service_spec.rb b/spec/lib/gitlab/gitaly_client/commit_service_spec.rb
index 1bd88f4170f..b2275119a04 100644
--- a/spec/lib/gitlab/gitaly_client/commit_service_spec.rb
+++ b/spec/lib/gitlab/gitaly_client/commit_service_spec.rb
@@ -53,7 +53,7 @@ describe Gitlab::GitalyClient::CommitService do
end
it 'encodes paths correctly' do
- expect { client.diff_from_parent(commit, paths: ['encoding/test.txt', 'encoding/テスト.txt', nil, '']) }.not_to raise_error
+ expect { client.diff_from_parent(commit, paths: ['encoding/test.txt', 'encoding/テスト.txt', nil]) }.not_to raise_error
end
end