diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-04-09 14:35:58 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-04-09 14:35:58 +0300 |
commit | 1bd28994ccde18228a1c295110a283c79dfe70ee (patch) | |
tree | add4f0ec695a2bcef13224fac4991d339ed81224 /features | |
parent | 26ec74c446e2242fe76bfe9ce84c8f86e9c46f3d (diff) | |
download | gitlab-ce-1bd28994ccde18228a1c295110a283c79dfe70ee.tar.gz |
Use ProjectWiki instead of GollumWiki in code
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'features')
-rw-r--r-- | features/steps/project/wiki.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/features/steps/project/wiki.rb b/features/steps/project/wiki.rb index 6146599cc4a..65e7d094f2d 100644 --- a/features/steps/project/wiki.rb +++ b/features/steps/project/wiki.rb @@ -1,4 +1,4 @@ -class ProjectWiki < Spinach::FeatureSteps +class Spinach::Features::ProjectWiki < Spinach::FeatureSteps include SharedAuthentication include SharedProject include SharedNote @@ -16,7 +16,7 @@ class ProjectWiki < Spinach::FeatureSteps end Given 'I create the Wiki Home page' do - fill_in "Content", with: '[link test](test)' + fill_in "wiki_content", with: '[link test](test)' click_on "Create page" end @@ -87,6 +87,6 @@ class ProjectWiki < Spinach::FeatureSteps end def wiki - @gollum_wiki = GollumWiki.new(project, current_user) + @project_wiki = ProjectWiki.new(project, current_user) end end |