summaryrefslogtreecommitdiff
path: root/features/steps/project/source/markdown_render.rb
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2016-11-15 11:32:57 -0600
committerMike Greiling <mike@pixelcog.com>2016-11-30 15:22:43 -0600
commite069875e80117020eea5bfe1b06f1a5bf868ffc9 (patch)
tree5bddae55224d8c59f1801295bb5a3af619539664 /features/steps/project/source/markdown_render.rb
parent952bdfae52b5843e3265ad672750765a57c5bc9b (diff)
downloadgitlab-ce-e069875e80117020eea5bfe1b06f1a5bf868ffc9.tar.gz
fix tests broken by new wiki page design
Diffstat (limited to 'features/steps/project/source/markdown_render.rb')
-rw-r--r--features/steps/project/source/markdown_render.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/features/steps/project/source/markdown_render.rb b/features/steps/project/source/markdown_render.rb
index 2134dae168a..dee6a8a5558 100644
--- a/features/steps/project/source/markdown_render.rb
+++ b/features/steps/project/source/markdown_render.rb
@@ -241,7 +241,7 @@ class Spinach::Features::ProjectSourceMarkdownRender < Spinach::FeatureSteps
page.within(:css, ".nav-text") do
expect(page).to have_content "Test"
- expect(page).to have_content "Edit Page"
+ expect(page).to have_content "Create Page"
end
end
@@ -258,7 +258,7 @@ class Spinach::Features::ProjectSourceMarkdownRender < Spinach::FeatureSteps
expect(current_path).to eq namespace_project_wiki_path(@project.namespace, @project, "api")
page.within(:css, ".nav-text") do
- expect(page).to have_content "Edit"
+ expect(page).to have_content "Create"
expect(page).to have_content "Api"
end
end
@@ -271,7 +271,7 @@ class Spinach::Features::ProjectSourceMarkdownRender < Spinach::FeatureSteps
expect(current_path).to eq namespace_project_wiki_path(@project.namespace, @project, "raketasks")
page.within(:css, ".nav-text") do
- expect(page).to have_content "Edit"
+ expect(page).to have_content "Create"
expect(page).to have_content "Rake"
end
end