BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
6e747d72
Commit
6e747d72
authored
Mar 30, 2016
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move CarrierWave test env config to separate file
parent
7b11da63
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
spec_helper.rb
spec/spec_helper.rb
+0
-5
carrierwave.rb
spec/support/carrierwave.rb
+7
-0
No files found.
spec/spec_helper.rb
View file @
6e747d72
...
...
@@ -45,10 +45,6 @@ RSpec.configure do |config|
config
.
before
(
:suite
)
do
TestEnv
.
init
end
config
.
after
(
:suite
)
do
FileUtils
.
rm_rf
(
'tmp/tests/files'
)
end
end
FactoryGirl
::
SyntaxRunner
.
class_eval
do
...
...
@@ -62,4 +58,3 @@ RSpec::Rails::ViewRendering::EmptyTemplatePathSetDecorator.class_eval do
end
ActiveRecord
::
Migration
.
maintain_test_schema!
CarrierWave
.
root
=
'tmp/tests/files'
spec/support/carrierwave.rb
0 → 100644
View file @
6e747d72
CarrierWave
.
root
=
'tmp/tests/uploads'
RSpec
.
configure
do
|
config
|
config
.
after
(
:suite
)
do
FileUtils
.
rm_rf
(
'tmp/tests/uploads'
)
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment