summaryrefslogtreecommitdiff
path: root/features/steps/project/commits/revert.rb
diff options
context:
space:
mode:
Diffstat (limited to 'features/steps/project/commits/revert.rb')
-rw-r--r--features/steps/project/commits/revert.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/features/steps/project/commits/revert.rb b/features/steps/project/commits/revert.rb
index c9746407344..ebfa7a878bb 100644
--- a/features/steps/project/commits/revert.rb
+++ b/features/steps/project/commits/revert.rb
@@ -6,10 +6,11 @@ class Spinach::Features::RevertCommits < Spinach::FeatureSteps
include RepoHelpers
step 'I click on commit link' do
- visit namespace_project_commit_path(@project.namespace, @project, sample_commit.id)
+ visit project_commit_path(@project, sample_commit.id)
end
step 'I click on the revert button' do
+ find(".header-action-buttons .dropdown").click
find("a[href='#modal-revert-commit']").click
end