diff options
author | micael.bergeron <micael.bergeron@solutionstlm.com> | 2017-09-05 20:16:08 +0300 |
---|---|---|
committer | micael.bergeron <micael.bergeron@solutionstlm.com> | 2017-09-06 16:01:53 +0300 |
commit | a6af5522d7cefaa7d08d28448b5059be07328a2f (patch) | |
tree | 3dc57ec3d7058a39e73ad3be5171a56debcb8849 /spec/requests | |
parent | dbaed90c8d3dffb2dd970f1621f551dd322db5ee (diff) |
renames ambiguous methods and add spec
Diffstat (limited to 'spec/requests')
-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 |