Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
45010946
Commit
45010946
authored
Jan 30, 2018
by
lain
Browse files
Make specs less breaky.
parent
1bb3ba02
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/notification_test.exs
View file @
45010946
...
...
@@ -14,9 +14,9 @@ test "notifies someone when they are directly addressed" do
{
:ok
,
[
notification
,
other_notification
]}
=
Notification
.
create_notifications
(
activity
)
assert
notification
.
user_id
==
other_user
.
id
notified_ids
=
Enum
.
sort
([
notification
.
user_id
,
other_notification
.
user_id
])
assert
notified_ids
==
[
other_user
.
id
,
third_user
.
id
]
assert
notification
.
activity_id
==
activity
.
id
assert
other_notification
.
user_id
==
third_user
.
id
assert
other_notification
.
activity_id
==
activity
.
id
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