Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kazuhiko Shiozaki
gitlab-ce
Commits
ce02bf99
Commit
ce02bf99
authored
Jul 13, 2015
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move coverage-related setup back to spec_helper
These tools must be loaded before our regular Rails environment.
parent
59d7f4c9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
8 deletions
+11
-8
spec/spec_helper.rb
spec/spec_helper.rb
+11
-0
spec/support/coverage.rb
spec/support/coverage.rb
+0
-8
No files found.
spec/spec_helper.rb
View file @
ce02bf99
if
ENV
[
'SIMPLECOV'
]
require
'simplecov'
SimpleCov
.
start
:rails
end
if
ENV
[
'COVERALLS'
]
require
'coveralls'
Coveralls
.
wear_merged!
end
ENV
[
"RAILS_ENV"
]
||=
'test'
require
File
.
expand_path
(
"../../config/environment"
,
__FILE__
)
require
'rspec/rails'
require
'shoulda/matchers'
...
...
spec/support/coverage.rb
deleted
100644 → 0
View file @
59d7f4c9
if
ENV
[
'SIMPLECOV'
]
require
'simplecov'
end
if
ENV
[
'COVERALLS'
]
require
'coveralls'
Coveralls
.
wear_merged!
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