summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
Diffstat (limited to 'features')
-rw-r--r--features/steps/project/project_forked_merge_requests.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/features/steps/project/project_forked_merge_requests.rb b/features/steps/project/project_forked_merge_requests.rb
index 86f16d3bac5..f7bf085a423 100644
--- a/features/steps/project/project_forked_merge_requests.rb
+++ b/features/steps/project/project_forked_merge_requests.rb
@@ -175,10 +175,9 @@ class ProjectForkedMergeRequests < Spinach::FeatureSteps
@project ||= Project.find_by_name!("Shop")
end
- #Verify a link is generated against the correct project
+ # Verify a link is generated against the correct project
def verify_commit_link(container_div, container_project)
- #This should force a wait for the javascript to execute
- find(:div,container_div).should have_css ".browse_code_link_holder"
+ # This should force a wait for the javascript to execute
find(:div,container_div).find(".commit_short_id")['href'].should have_content "#{container_project.path_with_namespace}/commit"
end
end