diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-12-03 18:42:37 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-12-03 18:42:37 +0100 |
commit | 5ab1b11e901712ab462b10f030971610ba140257 (patch) | |
tree | 1f9abf494463727ee2ddb1f79a264d29fc26ec63 /features | |
parent | 97ddf2df00add9a7645220e0d798d44f5ea37bcc (diff) | |
download | gitlab-ce-5ab1b11e901712ab462b10f030971610ba140257.tar.gz |
Fix specsui/wiki
Diffstat (limited to 'features')
-rw-r--r-- | features/steps/project/source/markdown_render.rb | 4 | ||||
-rw-r--r-- | features/steps/project/wiki.rb | 2 |
2 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 ec88c8c20c8..3a4f7a6e01c 100644 --- a/features/steps/project/source/markdown_render.rb +++ b/features/steps/project/source/markdown_render.rb @@ -252,7 +252,7 @@ class Spinach::Features::ProjectSourceMarkdownRender < Spinach::FeatureSteps step 'I see Gitlab API document' do expect(current_path).to eq namespace_project_wiki_path(@project.namespace, @project, "api") - expect(page).to have_content "Editing" + expect(page).to have_content "Edit Page api" end step 'I click on Rake tasks link' do @@ -261,7 +261,7 @@ class Spinach::Features::ProjectSourceMarkdownRender < Spinach::FeatureSteps step 'I see Rake tasks directory' do expect(current_path).to eq namespace_project_wiki_path(@project.namespace, @project, "raketasks") - expect(page).to have_content "Editing" + expect(page).to have_content "Edit Page raketasks" end step 'I go directory which contains README file' do diff --git a/features/steps/project/wiki.rb b/features/steps/project/wiki.rb index 935c1ca8a2e..91d227fadbf 100644 --- a/features/steps/project/wiki.rb +++ b/features/steps/project/wiki.rb @@ -156,7 +156,7 @@ class Spinach::Features::ProjectWiki < Spinach::FeatureSteps end step 'I should see the Editing page' do - expect(page).to have_content('Editing') + expect(page).to have_content('Edit Page') end step 'I view the page history of a Wiki page that has a path' do |