Skip to content
Snippets Groups Projects
Verified Commit 1d596526 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files
parent be5b6db8
No related branches found
No related tags found
No related merge requests found
Loading
@@ -61,8 +61,7 @@ class ProjectBrowseCommits < Spinach::FeatureSteps
Loading
@@ -61,8 +61,7 @@ class ProjectBrowseCommits < Spinach::FeatureSteps
   
Then 'I see big commit warning' do Then 'I see big commit warning' do
page.should have_content BigCommits::BIG_COMMIT_MESSAGE page.should have_content BigCommits::BIG_COMMIT_MESSAGE
page.should have_content "Warning! This is a large diff" page.should have_content "Too many changes"
page.should have_content "If you still want to see the diff"
end end
   
Given 'I visit huge commit page' do Given 'I visit huge commit page' do
Loading
@@ -71,8 +70,6 @@ class ProjectBrowseCommits < Spinach::FeatureSteps
Loading
@@ -71,8 +70,6 @@ class ProjectBrowseCommits < Spinach::FeatureSteps
   
Then 'I see huge commit message' do Then 'I see huge commit message' do
page.should have_content BigCommits::HUGE_COMMIT_MESSAGE page.should have_content BigCommits::HUGE_COMMIT_MESSAGE
page.should have_content "Warning! This is a large diff"
page.should_not have_content "If you still want to see the diff"
end end
   
Given 'I visit a commit with an image that changed' do Given 'I visit a commit with an image that changed' do
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment