Fix specs
This commit is contained in:
parent
97ddf2df00
commit
5ab1b11e90
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue