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
Léo-Paul Géneau
gitlab-ce
Commits
a4f9ef7d
Commit
a4f9ef7d
authored
Jun 16, 2018
by
blackst0ne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Rails5] Fix "'-1' is not a valid data_store"
Part of
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/19882
parent
a76066d7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
8 deletions
+5
-8
changelogs/unreleased/blackst0ne-rails5-fix-data-store-spec.yml
...logs/unreleased/blackst0ne-rails5-fix-data-store-spec.yml
+5
-0
spec/models/ci/build_trace_chunk_spec.rb
spec/models/ci/build_trace_chunk_spec.rb
+0
-8
No files found.
changelogs/unreleased/blackst0ne-rails5-fix-data-store-spec.yml
0 → 100644
View file @
a4f9ef7d
---
title
:
'
[Rails5]
Fix
"-1
is
not
a
valid
data_store"'
merge_request
:
19917
author
:
"
@blackst0ne"
type
:
fixed
spec/models/ci/build_trace_chunk_spec.rb
View file @
a4f9ef7d
...
...
@@ -125,14 +125,6 @@ describe Ci::BuildTraceChunk, :clean_gitlab_redis_shared_state do
end
end
end
context
'when data_store is others'
do
before
do
build_trace_chunk
.
send
(
:write_attribute
,
:data_store
,
-
1
)
end
it
{
expect
{
subject
}.
to
raise_error
(
'Unsupported data store'
)
}
end
end
describe
'#truncate'
do
...
...
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