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
479f810d
Commit
479f810d
authored
Jun 29, 2021
by
Alex Kalderimis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove references to service in integration model specs
parent
82ebc12f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
spec/models/integrations/datadog_spec.rb
spec/models/integrations/datadog_spec.rb
+1
-1
spec/support/shared_examples/models/chat_integration_shared_examples.rb
...hared_examples/models/chat_integration_shared_examples.rb
+1
-1
No files found.
spec/models/integrations/datadog_spec.rb
View file @
479f810d
...
...
@@ -91,7 +91,7 @@ RSpec.describe Integrations::Datadog do
end
end
context
'when
service
is not active'
do
context
'when
integration
is not active'
do
let
(
:active
)
{
false
}
it
{
is_expected
.
to
be_valid
}
...
...
spec/support/shared_examples/models/chat_integration_shared_examples.rb
View file @
479f810d
...
...
@@ -13,7 +13,7 @@ RSpec.shared_examples "chat integration" do |integration_name|
end
it
{
is_expected
.
to
validate_presence_of
(
:webhook
)
}
it_behaves_like
"issue tracker
service
URL attribute"
,
:webhook
it_behaves_like
"issue tracker
integration
URL attribute"
,
:webhook
end
context
"when integration is inactive"
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