summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2016-04-15 12:15:52 +0200
committerRémy Coutable <remy@rymai.me>2016-05-04 17:19:13 +0200
commit44f89eafc08a7967544429a3f930354a5f9bbbaf (patch)
tree7010adf8f188edcb8afd281a99970563b13d2980 /features
parent72e4bd5fc40c3b61792bf5f8897ab881775c7146 (diff)
downloadgitlab-ce-44f89eafc08a7967544429a3f930354a5f9bbbaf.tar.gz
Use Rugged's TagCollection#create instead of gitlab-shell's Repository#add_tag for better performance
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'features')
-rw-r--r--features/steps/project/commits/tags.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/features/steps/project/commits/tags.rb b/features/steps/project/commits/tags.rb
index eff4234a44a..912ba580efd 100644
--- a/features/steps/project/commits/tags.rb
+++ b/features/steps/project/commits/tags.rb
@@ -57,11 +57,11 @@ class Spinach::Features::ProjectCommitsTags < Spinach::FeatureSteps
end
step 'I should see new an error that tag ref is invalid' do
- expect(page).to have_content 'Invalid reference name'
+ expect(page).to have_content 'Target foo is invalid'
end
step 'I should see new an error that tag already exists' do
- expect(page).to have_content 'Tag already exists'
+ expect(page).to have_content 'Tag v1.0.0 already exists'
end
step "I visit tag 'v1.1.0' page" do