mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-26 21:16:06 +10:00
Fix tests
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
%div.tree-ref-holder
|
||||
= render 'shared/ref_switcher', destination: 'tree', path: @path
|
||||
- if can? current_user, :download_code, @project
|
||||
= render 'projects/repositories/download_archive', ref: @ref, btn_class: 'btn-group-small tree-ref-holder pull-right', split_button: true
|
||||
= render 'projects/repositories/download_archive', ref: @ref, btn_class: 'btn-group-small pull-right', split_button: true
|
||||
%div#tree-holder.tree-holder
|
||||
= render "tree", tree: @tree
|
||||
|
||||
@@ -44,7 +44,7 @@ class ProjectBrowseBranches < Spinach::FeatureSteps
|
||||
end
|
||||
|
||||
step 'I should see new branch created' do
|
||||
within '.all-branches' do
|
||||
within '.tree-ref-holder' do
|
||||
page.should have_content 'deploy_keys'
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user