button_taglabel,class: "btn btn-#{btn_class} disabled has_tooltip",title: "You can only #{action} files when you are on a branch",data: {container: 'body'}
elsifblob.lfs_pointer?
button_taglabel,class: "btn btn-#{btn_class} disabled has_tooltip",title: "It is not possible to #{action} files that are stored in LFS using the web interface",data: {container: 'body'}
@@ -332,8 +343,12 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps
expect(page).tohave_content'Permalink'
expect(page).not_tohave_content'Edit'
expect(page).not_tohave_content'Blame'
expect(page).not_tohave_content'Delete'
expect(page).not_tohave_content'Replace'
expect(page).tohave_content'Delete'
expect(page).tohave_content'Replace'
end
step'I should see a notice about a new fork having been created'do
expect(page).tohave_content"You're not allowed to make changes to this project directly. A fork of this project has been created that you can make changes in, so you can submit a merge request."