diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-09-11 20:27:50 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-09-11 20:27:50 +0300 |
commit | 0235c2a7f3d9424cff075ea366b8f4990824e1db (patch) | |
tree | 42fea346a0414fd2e54e0ae20d318d55c85cf92d /features | |
parent | c2c11e655f055353d9eddb6544cf5f1a4d01509f (diff) | |
download | gitlab-ce-0235c2a7f3d9424cff075ea366b8f4990824e1db.tar.gz |
Fix feature test
Diffstat (limited to 'features')
-rw-r--r-- | features/steps/project/project_forked_merge_requests.rb | 5 |
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 |