Skip to content
代码片段 群组 项目
提交 5ab1b11e 编辑于 作者: Douwe Maan's avatar Douwe Maan
浏览文件

Fix specs

上级 97ddf2df
No related branches found
No related tags found
无相关合并请求
......@@ -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
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册