Commit a81002d9 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix wiki tests

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 8a2052c0
...@@ -124,7 +124,7 @@ class Spinach::Features::ProjectMarkdownRender < Spinach::FeatureSteps ...@@ -124,7 +124,7 @@ class Spinach::Features::ProjectMarkdownRender < Spinach::FeatureSteps
Then 'I see new wiki page named test' do Then 'I see new wiki page named test' do
current_path.should == project_wiki_path(@project, "test") current_path.should == project_wiki_path(@project, "test")
page.should have_content "Editing page" page.should have_content "Editing"
end end
When 'I go back to wiki page home' do When 'I go back to wiki page home' do
......
...@@ -25,7 +25,7 @@ class ProjectWiki < Spinach::FeatureSteps ...@@ -25,7 +25,7 @@ class ProjectWiki < Spinach::FeatureSteps
page.should have_content "link test" page.should have_content "link test"
click_link "link test" click_link "link test"
page.should have_content "Editing page" page.should have_content "Editing"
end end
Given 'I have an existing Wiki page' do Given 'I have an existing Wiki page' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment