summaryrefslogtreecommitdiff
path: root/spec/support/markdown_feature.rb
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-07-28 23:27:08 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-07-29 00:06:52 -0400
commit8c957b54f5a70d07a0c70f15c84cdf9fc7eb0f23 (patch)
treec72ed2b80d7677b78dd3506e3817b574e995cba0 /spec/support/markdown_feature.rb
parent05f9a6a9c44c094d281d3dc8d80eb30c4e7dff27 (diff)
downloadgitlab-ce-8c957b54f5a70d07a0c70f15c84cdf9fc7eb0f23.tar.gz
Fix setup/teardown for Markdown feature specrs-markdown-feature-pipelines
Prior, CI seemed to be freezing after running these specs.
Diffstat (limited to 'spec/support/markdown_feature.rb')
-rw-r--r--spec/support/markdown_feature.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/support/markdown_feature.rb b/spec/support/markdown_feature.rb
index 5e18ffa4143..2a868aed73b 100644
--- a/spec/support/markdown_feature.rb
+++ b/spec/support/markdown_feature.rb
@@ -10,14 +10,6 @@
class MarkdownFeature
include FactoryGirl::Syntax::Methods
- def initialize
- DatabaseCleaner.start
- end
-
- def teardown
- DatabaseCleaner.clean
- end
-
def user
@user ||= create(:user)
end