Commit a81002d920b7df1dadb4c3b931642135f2f28ec8
1 parent
8a2052c0
Exists in
spb-stable
and in
3 other branches
Fix wiki tests
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
features/steps/project/project_markdown_render.rb
| ... | ... | @@ -124,7 +124,7 @@ class Spinach::Features::ProjectMarkdownRender < 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 < 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 | ... | ... |