summaryrefslogtreecommitdiff
path: root/features/steps/project/commits/branches.rb
diff options
context:
space:
mode:
Diffstat (limited to 'features/steps/project/commits/branches.rb')
-rw-r--r--features/steps/project/commits/branches.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/features/steps/project/commits/branches.rb b/features/steps/project/commits/branches.rb
index 338f5e8d3ee..0a42931147d 100644
--- a/features/steps/project/commits/branches.rb
+++ b/features/steps/project/commits/branches.rb
@@ -61,7 +61,8 @@ class Spinach::Features::ProjectCommitsBranches < Spinach::FeatureSteps
end
step 'I should see new an error that branch is invalid' do
- expect(page).to have_content 'Branch name invalid'
+ expect(page).to have_content 'Branch name is invalid'
+ expect(page).to have_content "can't contain spaces"
end
step 'I should see new an error that ref is invalid' do