diff options
author | Mike Greiling <mike@pixelcog.com> | 2016-11-15 11:32:57 -0600 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2016-11-30 15:22:43 -0600 |
commit | e069875e80117020eea5bfe1b06f1a5bf868ffc9 (patch) | |
tree | 5bddae55224d8c59f1801295bb5a3af619539664 /features/steps/project/source/markdown_render.rb | |
parent | 952bdfae52b5843e3265ad672750765a57c5bc9b (diff) | |
download | gitlab-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.rb | 6 |
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 |