Fix RSpec/MissingExampleGroupArgument cop (#25310)
This commit is contained in:
parent
b74c3cd708
commit
6c0e3f490a
22 changed files with 38 additions and 68 deletions
|
@ -81,7 +81,7 @@ RSpec.describe Trends::Statuses do
|
|||
4.times { reblog(status3, today) }
|
||||
end
|
||||
|
||||
context do
|
||||
context 'when status trends are refreshed' do
|
||||
before do
|
||||
subject.refresh(today)
|
||||
end
|
||||
|
|
|
@ -44,7 +44,7 @@ RSpec.describe Trends::Tags do
|
|||
4.times { |i| subject.add(tag2, i, today) }
|
||||
end
|
||||
|
||||
context do
|
||||
context 'when tag trends are refreshed' do
|
||||
before do
|
||||
subject.refresh(yesterday + 12.hours)
|
||||
subject.refresh(at_time)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue