Fix wiki tests
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
8a2052c0ed
commit
a81002d920
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue