Fixing rspec after upgrade to capybara pt1
This commit is contained in:
parent
2d5096b678
commit
5aeaf248f1
5 changed files with 56 additions and 34 deletions
|
@ -4,7 +4,7 @@
|
|||
= @snippet.title
|
||||
%small= @snippet.file_name
|
||||
- if can?(current_user, :admin_snippet, @project) || @snippet.author == current_user
|
||||
= link_to "Edit", edit_project_snippet_path(@project, @snippet), class: "btn btn-small pull-right"
|
||||
= link_to "Edit", edit_project_snippet_path(@project, @snippet), class: "btn btn-small pull-right", title: 'Edit Snippet'
|
||||
|
||||
%br
|
||||
%div= render 'blob'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue