Commit a81002d920b7df1dadb4c3b931642135f2f28ec8

Authored by Dmitriy Zaporozhets
1 parent 8a2052c0

Fix wiki tests

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
features/steps/project/project_markdown_render.rb
@@ -124,7 +124,7 @@ class Spinach::Features::ProjectMarkdownRender &lt; Spinach::FeatureSteps @@ -124,7 +124,7 @@ class Spinach::Features::ProjectMarkdownRender &lt; Spinach::FeatureSteps
124 124
125 Then 'I see new wiki page named test' do 125 Then 'I see new wiki page named test' do
126 current_path.should == project_wiki_path(@project, "test") 126 current_path.should == project_wiki_path(@project, "test")
127 - page.should have_content "Editing page" 127 + page.should have_content "Editing"
128 end 128 end
129 129
130 When 'I go back to wiki page home' do 130 When 'I go back to wiki page home' do
features/steps/project/project_wiki.rb
@@ -25,7 +25,7 @@ class ProjectWiki &lt; Spinach::FeatureSteps @@ -25,7 +25,7 @@ class ProjectWiki &lt; Spinach::FeatureSteps
25 page.should have_content "link test" 25 page.should have_content "link test"
26 26
27 click_link "link test" 27 click_link "link test"
28 - page.should have_content "Editing page" 28 + page.should have_content "Editing"
29 end 29 end
30 30
31 Given 'I have an existing Wiki page' do 31 Given 'I have an existing Wiki page' do