@@ -366,6 +370,12 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps
end
end
step'I should see a Fork/Cancel combo'do
expect(page).tohave_link'Fork'
expect(page).tohave_button'Cancel'
expect(page).tohave_content'You don\'t have permission to edit this file. Try forking this project to edit the file.'
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."