summaryrefslogtreecommitdiff
path: root/spec/features/projects/compare_spec.rb
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2017-05-12 17:44:03 +0100
committerSean McGivern <sean@gitlab.com>2017-06-02 19:37:09 +0100
commit1d3c33b57eeb39df76e78fd37c86532c02aa22ac (patch)
tree8c2a51cbf1fb6153192491c9d96e70d931c48041 /spec/features/projects/compare_spec.rb
parentf07aee72bef4604312e11a43fce3a47865bce100 (diff)
downloadgitlab-ce-1d3c33b57eeb39df76e78fd37c86532c02aa22ac.tar.gz
Increase diff limits to 100 KB for collapse and 200 KB overall31983-increase-merge-request-diff-file-size-limit-for-default-toggle-opening
This is controlled with the feature flag gitlab_git_diff_size_limit_increase. Both of these limits were basically picked arbitrarily in the first place; disabling the feature flag reverts to the old limits.
Diffstat (limited to 'spec/features/projects/compare_spec.rb')
-rw-r--r--spec/features/projects/compare_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/features/projects/compare_spec.rb b/spec/features/projects/compare_spec.rb
index 4162f2579d1..ee6985ad993 100644
--- a/spec/features/projects/compare_spec.rb
+++ b/spec/features/projects/compare_spec.rb
@@ -24,6 +24,7 @@ describe "Compare", js: true do
expect(find(".js-compare-to-dropdown .dropdown-toggle-text")).to have_content("binary-encoding")
click_button "Compare"
+
expect(page).to have_content "Commits"
end