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 124  
125 125 Then 'I see new wiki page named test' do
126 126 current_path.should == project_wiki_path(@project, "test")
127   - page.should have_content "Editing page"
  127 + page.should have_content "Editing"
128 128 end
129 129  
130 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 25 page.should have_content "link test"
26 26  
27 27 click_link "link test"
28   - page.should have_content "Editing page"
  28 + page.should have_content "Editing"
29 29 end
30 30  
31 31 Given 'I have an existing Wiki page' do
... ...