summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-04-09 17:48:46 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-04-09 17:48:46 +0000
commitfae6eb63535f6136704365692f4c34ccfd6eba67 (patch)
tree42ac0c89d3ab0365230c9cf4bf86f87d5b2f61ac /features
parent71678f08f8b008d06da98fdae1905e1880300c00 (diff)
parent1bd28994ccde18228a1c295110a283c79dfe70ee (diff)
downloadgitlab-ce-fae6eb63535f6136704365692f4c34ccfd6eba67.tar.gz
Merge branch 'wiki-refactoring' into 'master'
Wiki refactoring Better names for variables and classes
Diffstat (limited to 'features')
-rw-r--r--features/steps/project/wiki.rb6
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