diff options
author | Sean McGivern <sean@gitlab.com> | 2016-06-30 16:17:10 +0100 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2016-07-08 10:57:21 +0100 |
commit | 78496e8c38ce0b415fa7aad5310b937a95265627 (patch) | |
tree | 6f6e31d2e1bd52918833bcf12e255a939d941f3a /features/steps | |
parent | b6b26692ea44cfeab7e8fd64b7df60852850fce2 (diff) | |
download | gitlab-ce-78496e8c38ce0b415fa7aad5310b937a95265627.tar.gz |
Disable overflow messages
With the option to expand and collapse individual diffs, these aren't
needed any more.
Diffstat (limited to 'features/steps')
-rw-r--r-- | features/steps/project/commits/commits.rb | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/features/steps/project/commits/commits.rb b/features/steps/project/commits/commits.rb index 239036e431d..bea9f9d198b 100644 --- a/features/steps/project/commits/commits.rb +++ b/features/steps/project/commits/commits.rb @@ -125,25 +125,6 @@ class Spinach::Features::ProjectCommits < Spinach::FeatureSteps expect(page).to have_content 'Authors' end - step 'I visit big commit page' do - # Create a temporary scope to ensure that the stub_const is removed after user - RSpec::Mocks.with_temporary_scope do - stub_const('Gitlab::Git::DiffCollection::DEFAULT_LIMITS', { max_lines: 1, max_files: 1 }) - visit namespace_project_commit_path(@project.namespace, @project, sample_big_commit.id) - end - end - - step 'I see big commit warning' do - expect(page).to have_content sample_big_commit.message - expect(page).to have_content "Too many changes" - end - - step 'I see "Reload with full diff" link' do - link = find_link('Reload with full diff') - expect(link[:href]).to end_with('?force_show_diff=true') - expect(link[:href]).not_to include('.html') - end - step 'I visit a commit with an image that changed' do visit namespace_project_commit_path(@project.namespace, @project, sample_image_commit.id) end |