@@ -337,6 +337,7 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps
...
@@ -337,6 +337,7 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps
end
end
step'I should see buttons for allowed commands'do
step'I should see buttons for allowed commands'do
page.within'.content'do
expect(page).tohave_content'Raw'
expect(page).tohave_content'Raw'
expect(page).tohave_content'History'
expect(page).tohave_content'History'
expect(page).tohave_content'Permalink'
expect(page).tohave_content'Permalink'
...
@@ -345,6 +346,7 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps
...
@@ -345,6 +346,7 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps
expect(page).tohave_content'Delete'
expect(page).tohave_content'Delete'
expect(page).tohave_content'Replace'
expect(page).tohave_content'Replace'
end
end
end
step'I should see a notice about a new fork having been created'do
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."
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."