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
4655335e
Commit
4655335e
authored
Dec 09, 2021
by
Maxime Orefice
Committed by
Dylan Griffith
Dec 09, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Ci::Minutes::AdditionalPack specs
parent
44609bdc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
ee/spec/models/ci/minutes/additional_pack_spec.rb
ee/spec/models/ci/minutes/additional_pack_spec.rb
+2
-2
spec/support/database/cross-database-modification-allowlist.yml
...upport/database/cross-database-modification-allowlist.yml
+0
-1
No files found.
ee/spec/models/ci/minutes/additional_pack_spec.rb
View file @
4655335e
...
...
@@ -2,13 +2,13 @@
require
'spec_helper'
RSpec
.
describe
Ci
::
Minutes
::
AdditionalPack
do
RSpec
.
describe
Ci
::
Minutes
::
AdditionalPack
,
type: :model
do
describe
'associations'
do
it
{
is_expected
.
to
belong_to
(
:namespace
)
}
end
describe
'validations'
do
subject
(
:additional_pack
)
{
build
(
:ci_minutes_additional_pack
)
}
subject
(
:additional_pack
)
{
create
(
:ci_minutes_additional_pack
)
}
it
{
is_expected
.
to
validate_presence_of
(
:namespace
)
}
it
{
is_expected
.
to
validate_presence_of
(
:number_of_minutes
)
}
...
...
spec/support/database/cross-database-modification-allowlist.yml
View file @
4655335e
...
...
@@ -3,7 +3,6 @@
-
"
./ee/spec/mailers/notify_spec.rb"
-
"
./ee/spec/models/ci/bridge_spec.rb"
-
"
./ee/spec/models/ci/build_spec.rb"
-
"
./ee/spec/models/ci/minutes/additional_pack_spec.rb"
-
"
./ee/spec/models/ee/ci/job_artifact_spec.rb"
-
"
./ee/spec/models/group_member_spec.rb"
-
"
./ee/spec/replicators/geo/pipeline_artifact_replicator_spec.rb"
...
...
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