diff options
author | micael.bergeron <micael.bergeron@solutionstlm.com> | 2017-09-05 13:16:08 -0400 |
---|---|---|
committer | micael.bergeron <micael.bergeron@solutionstlm.com> | 2017-09-06 09:01:53 -0400 |
commit | a6af5522d7cefaa7d08d28448b5059be07328a2f (patch) | |
tree | 3dc57ec3d7058a39e73ad3be5171a56debcb8849 /spec | |
parent | dbaed90c8d3dffb2dd970f1621f551dd322db5ee (diff) | |
download | gitlab-ce-a6af5522d7cefaa7d08d28448b5059be07328a2f.tar.gz |
renames ambiguous methods and add spec
Diffstat (limited to 'spec')
-rw-r--r-- | spec/requests/api/commits_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/requests/api/commits_spec.rb b/spec/requests/api/commits_spec.rb index edbfaf510c5..f663719d28c 100644 --- a/spec/requests/api/commits_spec.rb +++ b/spec/requests/api/commits_spec.rb @@ -673,6 +673,12 @@ describe API::Commits do it_behaves_like 'ref diff' end end + + context 'when binary diff are treated as text' do + let(:commit_id) { TestEnv::BRANCH_SHA['add-pdf-text-binary'] } + + it_behaves_like 'ref diff' + end end end |