Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-06-07 20:45:44 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2016-06-07 20:45:44 +0300
commit76d618404ee8a47a34b45dfe41d268eaaf52f00d (patch)
treef8c9e4bf2befb05d08a1929883e3c50b4af320dd /spec/features/markdown_spec.rb
parent5b83abcc01bd4a24268126dc52019b9f11152a7c (diff)
Fix markdown_spec to not use `before(:all)` in order to properly cleanup database after testing
Diffstat (limited to 'spec/features/markdown_spec.rb')
-rw-r--r--spec/features/markdown_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/markdown_spec.rb b/spec/features/markdown_spec.rb
index 1d892fe1a55..7663d193354 100644
--- a/spec/features/markdown_spec.rb
+++ b/spec/features/markdown_spec.rb
@@ -180,7 +180,7 @@ describe 'GitLab Markdown', feature: true do
end
end
- before(:all) do
+ before do
@feat = MarkdownFeature.new
# `markdown` helper expects a `@project` variable
@@ -188,7 +188,7 @@ describe 'GitLab Markdown', feature: true do
end
context 'default pipeline' do
- before(:all) do
+ before do
@html = markdown(@feat.raw_markdown)
end