Fixed protected branches and file edit
This commit is contained in:
parent
afbdbb0c95
commit
ef5b36eaaf
9 changed files with 21 additions and 20 deletions
|
@ -48,7 +48,7 @@ class ProjectBrowseCommits < Spinach::FeatureSteps
|
|||
page.should have_selector('ul.breadcrumb span.divider', count: 3)
|
||||
page.should have_selector('ul.breadcrumb a', count: 4)
|
||||
|
||||
find('ul.breadcrumb li:first a')['href'].should match(/#{@project.path}\/commits\/master\z/)
|
||||
find('ul.breadcrumb li:first a')['href'].should match(/#{@project.path_with_namespace}\/commits\/master\z/)
|
||||
find('ul.breadcrumb li:last a')['href'].should match(%r{master/app/models/project\.rb\z})
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue