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
8c596a6e
Commit
8c596a6e
authored
Feb 02, 2020
by
Rajendra Kadam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix offenses for spec file
parent
948e68a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
9 deletions
+2
-9
spec/requests/api/error_tracking_spec.rb
spec/requests/api/error_tracking_spec.rb
+0
-7
spec/services/projects/operations/update_service_spec.rb
spec/services/projects/operations/update_service_spec.rb
+2
-2
No files found.
spec/requests/api/error_tracking_spec.rb
View file @
8c596a6e
...
@@ -17,7 +17,6 @@ describe API::ErrorTracking do
...
@@ -17,7 +17,6 @@ describe API::ErrorTracking do
end
end
context
'when authenticated as maintainer'
do
context
'when authenticated as maintainer'
do
shared_examples
'returns project settings'
do
shared_examples
'returns project settings'
do
it
'returns correct project settings'
do
it
'returns correct project settings'
do
subject
subject
...
@@ -45,12 +44,6 @@ describe API::ErrorTracking do
...
@@ -45,12 +44,6 @@ describe API::ErrorTracking do
end
end
context
'patch settings'
do
context
'patch settings'
do
subject
do
make_patch_request
(
true
)
end
it_behaves_like
'returns project settings'
subject
do
subject
do
make_patch_request
(
false
)
make_patch_request
(
false
)
end
end
...
...
spec/services/projects/operations/update_service_spec.rb
View file @
8c596a6e
...
@@ -146,13 +146,13 @@ describe Projects::Operations::UpdateService do
...
@@ -146,13 +146,13 @@ describe Projects::Operations::UpdateService do
end
end
context
'partial_update'
do
context
'partial_update'
do
let
(
:params
)
{
let
(
:params
)
do
{
{
error_tracking_setting_attributes:
{
error_tracking_setting_attributes:
{
enabled:
true
enabled:
true
}
}
}
}
}
end
context
'with setting'
do
context
'with setting'
do
before
do
before
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