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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
82825596
Commit
82825596
authored
Nov 05, 2019
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable RSpec example_status_persistence_file_path setting
Only enabled outside of CI environments.
parent
d2bef057
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
.gitignore
.gitignore
+1
-0
spec/spec_helper.rb
spec/spec_helper.rb
+5
-0
No files found.
.gitignore
View file @
82825596
...
...
@@ -59,6 +59,7 @@ eslint-report.html
/public/uploads.*
/public/uploads/
/shared/artifacts/
/spec/examples.txt
/rails_best_practices_output.html
/tags
/vendor/bundle/*
...
...
spec/spec_helper.rb
View file @
82825596
...
...
@@ -66,6 +66,11 @@ RSpec.configure do |config|
config
.
infer_spec_type_from_file_location!
config
.
full_backtrace
=
!!
ENV
[
'CI'
]
unless
ENV
[
'CI'
]
# Re-run failures locally with `--only-failures`
config
.
example_status_persistence_file_path
=
'./spec/examples.txt'
end
config
.
define_derived_metadata
(
file_path:
%r{(ee)?/spec/.+_spec
\.
rb
\z
}
)
do
|
metadata
|
location
=
metadata
[
:location
]
...
...
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