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
33bc9b78
Commit
33bc9b78
authored
Dec 13, 2021
by
Justin Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix integrations helper spec
parent
9e7a3c34
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
spec/helpers/integrations_helper_spec.rb
spec/helpers/integrations_helper_spec.rb
+5
-7
No files found.
spec/helpers/integrations_helper_spec.rb
View file @
33bc9b78
...
...
@@ -71,16 +71,14 @@ RSpec.describe IntegrationsHelper do
end
describe
'#integration_overrides_data'
do
let
(
:integration
)
{
build_stubbed
(
:jira_integration
,
project:
project
)
}
let
(
:integration
)
{
build_stubbed
(
:jira_integration
)
}
let
(
:fields
)
do
{
edit_path:
edit_
project_service_path
(
project
,
integration
),
overrides_path:
overrides_admin_application_settings_integration_path
(
integration
)
}
[
edit_path:
edit_
admin_application_settings_integration_path
(
integration
),
overrides_path:
overrides_admin_application_settings_integration_path
(
integration
,
format: :json
)
]
end
let_it_be_with_refind
(
:project
)
{
create
(
:project
)
}
subject
{
helper
.
integration_overrides_data
(
integration
)
}
it
{
is_expected
.
to
include
(
*
fields
)
}
...
...
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