Fix wiki tests

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2014-01-02 13:11:52 +02:00
parent 8a2052c0ed
commit a81002d920
No known key found for this signature in database
GPG Key ID: 627C5F589F467F17
2 changed files with 2 additions and 2 deletions

View File

@ -124,7 +124,7 @@ class Spinach::Features::ProjectMarkdownRender < Spinach::FeatureSteps
Then 'I see new wiki page named test' do
current_path.should == project_wiki_path(@project, "test")
page.should have_content "Editing page"
page.should have_content "Editing"
end
When 'I go back to wiki page home' do

View File

@ -25,7 +25,7 @@ class ProjectWiki < Spinach::FeatureSteps
page.should have_content "link test"
click_link "link test"
page.should have_content "Editing page"
page.should have_content "Editing"
end
Given 'I have an existing Wiki page' do