Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Mastodon kif.rocks edition
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FS Info TU Dortmund
Administration
Mastodon kif.rocks edition
Commits
f9fef986
Unverified
Commit
f9fef986
authored
6 months ago
by
Claire
Committed by
GitHub
6 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix intermittent failure on ap/activity/update spec timestamp check (#33425)
parent
ca061560
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
spec/services/activitypub/process_status_update_service_spec.rb
+1
-1
1 addition, 1 deletion
...ervices/activitypub/process_status_update_service_spec.rb
with
1 addition
and
1 deletion
spec/services/activitypub/process_status_update_service_spec.rb
+
1
−
1
View file @
f9fef986
...
@@ -271,7 +271,7 @@ RSpec.describe ActivityPub::ProcessStatusUpdateService do
...
@@ -271,7 +271,7 @@ RSpec.describe ActivityPub::ProcessStatusUpdateService do
.
to
change
{
status
.
tags
.
reload
.
pluck
(
:name
)
}.
from
(
%w(test foo)
).
to
(
%w(foo bar)
)
.
to
change
{
status
.
tags
.
reload
.
pluck
(
:name
)
}.
from
(
%w(test foo)
).
to
(
%w(foo bar)
)
.
and
change
{
status
.
account
.
featured_tags
.
find_by
(
name:
'test'
).
statuses_count
}.
by
(
-
1
)
.
and
change
{
status
.
account
.
featured_tags
.
find_by
(
name:
'test'
).
statuses_count
}.
by
(
-
1
)
.
and
change
{
status
.
account
.
featured_tags
.
find_by
(
name:
'bar'
).
statuses_count
}.
by
(
1
)
.
and
change
{
status
.
account
.
featured_tags
.
find_by
(
name:
'bar'
).
statuses_count
}.
by
(
1
)
.
and
change
{
status
.
account
.
featured_tags
.
find_by
(
name:
'bar'
).
last_status_at
}.
from
(
nil
).
to
(
be_
within
(
0.1
).
of
(
Time
.
now
.
utc
)
)
.
and
change
{
status
.
account
.
featured_tags
.
find_by
(
name:
'bar'
).
last_status_at
}.
from
(
nil
).
to
(
be_
present
)
end
end
end
end
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment