summaryrefslogtreecommitdiff
path: root/spec/support/markdown_feature.rb
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-01-12 19:00:35 -0200
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-01-14 12:09:31 -0200
commita8c836c371cb253d5e611a1080cd54f9cf4698e9 (patch)
tree25fdf1cb9cda597ea9a2fcca25baebfc0008e629 /spec/support/markdown_feature.rb
parent765a2c73271cf311311c391e7e64f83e141c79ae (diff)
downloadgitlab-ce-a8c836c371cb253d5e611a1080cd54f9cf4698e9.tar.gz
Add tests for the wiki pipeline
Diffstat (limited to 'spec/support/markdown_feature.rb')
-rw-r--r--spec/support/markdown_feature.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/support/markdown_feature.rb b/spec/support/markdown_feature.rb
index 5d97fdd4882..73c6792b65f 100644
--- a/spec/support/markdown_feature.rb
+++ b/spec/support/markdown_feature.rb
@@ -28,6 +28,10 @@ class MarkdownFeature
end
end
+ def project_wiki
+ @project_wiki ||= ProjectWiki.new(project, user)
+ end
+
def issue
@issue ||= create(:issue, project: project)
end