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
e4515e07
Commit
e4515e07
authored
Nov 02, 2020
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab master
parents
38d1eda3
26e81eeb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
db/structure.sql
db/structure.sql
+1
-1
spec/support/shared_examples/services/alert_management_shared_examples.rb
...red_examples/services/alert_management_shared_examples.rb
+3
-3
No files found.
db/structure.sql
View file @
e4515e07
...
@@ -12749,10 +12749,10 @@ CREATE TABLE group_wiki_repositories (
...
@@ -12749,10 +12749,10 @@ CREATE TABLE group_wiki_repositories (
CREATE
TABLE
historical_data
(
CREATE
TABLE
historical_data
(
id
integer
NOT
NULL
,
id
integer
NOT
NULL
,
date
date
,
active_user_count
integer
,
active_user_count
integer
,
created_at
timestamp
without
time
zone
,
created_at
timestamp
without
time
zone
,
updated_at
timestamp
without
time
zone
,
updated_at
timestamp
without
time
zone
,
date
date
,
recorded_at
timestamp
with
time
zone
,
recorded_at
timestamp
with
time
zone
,
CONSTRAINT
check_640e8cf66c
CHECK
((
recorded_at
IS
NOT
NULL
))
CONSTRAINT
check_640e8cf66c
CHECK
((
recorded_at
IS
NOT
NULL
))
);
);
...
...
spec/support/shared_examples/services/alert_management_shared_examples.rb
View file @
e4515e07
...
@@ -8,11 +8,11 @@ RSpec.shared_examples 'creates an alert management alert' do
...
@@ -8,11 +8,11 @@ RSpec.shared_examples 'creates an alert management alert' do
end
end
it
'executes the alert service hooks'
do
it
'executes the alert service hooks'
do
slack_service
=
create
(
:service
,
type:
'SlackService'
,
project:
project
,
alert_events:
true
,
active:
true
)
expect_next_instance_of
(
AlertManagement
::
Alert
)
do
|
alert
|
expect
(
alert
).
to
receive
(
:execute_services
)
end
subject
subject
expect
(
ProjectServiceWorker
).
to
have_received
(
:perform_async
).
with
(
slack_service
.
id
,
an_instance_of
(
Hash
))
end
end
end
end
...
...
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