Commit 484c09792c5c6b4f8f1111978a82cf080a31a920

Authored by Dmitriy Zaporozhets
1 parent b44138ae

Fix tests

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
app/views/projects/tree/show.html.haml
1 1 %div.tree-ref-holder
2 2 = render 'shared/ref_switcher', destination: 'tree', path: @path
3 3 - if can? current_user, :download_code, @project
4   - = render 'projects/repositories/download_archive', ref: @ref, btn_class: 'btn-group-small tree-ref-holder pull-right', split_button: true
  4 + = render 'projects/repositories/download_archive', ref: @ref, btn_class: 'btn-group-small pull-right', split_button: true
5 5 %div#tree-holder.tree-holder
6 6 = render "tree", tree: @tree
... ...
features/steps/project/browse_branches.rb
... ... @@ -44,7 +44,7 @@ class ProjectBrowseBranches &lt; Spinach::FeatureSteps
44 44 end
45 45  
46 46 step 'I should see new branch created' do
47   - within '.all-branches' do
  47 + within '.tree-ref-holder' do
48 48 page.should have_content 'deploy_keys'
49 49 end
50 50 end
... ...