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
1be02c83
Commit
1be02c83
authored
Jan 22, 2021
by
Thong Kuah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Autocorrect keyword warnings in specs
parent
8038543a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ee/spec/graphql/mutations/incident_management/oncall_rotation/destroy_spec.rb
...tions/incident_management/oncall_rotation/destroy_spec.rb
+1
-1
ee/spec/services/incident_management/oncall_shifts/read_service_spec.rb
...es/incident_management/oncall_shifts/read_service_spec.rb
+1
-1
No files found.
ee/spec/graphql/mutations/incident_management/oncall_rotation/destroy_spec.rb
View file @
1be02c83
...
...
@@ -16,7 +16,7 @@ RSpec.describe Mutations::IncidentManagement::OncallRotation::Destroy do
end
describe
'#resolve'
do
subject
(
:resolve
)
{
mutation_for
(
project
,
current_user
).
resolve
(
args
)
}
subject
(
:resolve
)
{
mutation_for
(
project
,
current_user
).
resolve
(
**
args
)
}
context
'user has access to project'
do
before
do
...
...
ee/spec/services/incident_management/oncall_shifts/read_service_spec.rb
View file @
1be02c83
...
...
@@ -11,7 +11,7 @@ RSpec.describe ::IncidentManagement::OncallShifts::ReadService do
let_it_be
(
:current_user
)
{
user_with_permissions
}
let
(
:params
)
{
{
start_time:
15
.
minutes
.
since
(
rotation
.
starts_at
),
end_time:
3
.
weeks
.
since
(
rotation
.
starts_at
)
}
}
let
(
:service
)
{
described_class
.
new
(
rotation
,
current_user
,
params
)
}
let
(
:service
)
{
described_class
.
new
(
rotation
,
current_user
,
**
params
)
}
before_all
do
project
.
add_reporter
(
user_with_permissions
)
...
...
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