Autofix Rubocop RSpec/LeadingSubject (#23670)
This commit is contained in:
parent
4ea1e0fceb
commit
4552685f6b
78 changed files with 256 additions and 338 deletions
|
@ -51,6 +51,8 @@ RSpec.describe RemoteFollow do
|
|||
end
|
||||
|
||||
describe '#subscribe_address_for' do
|
||||
subject { remote_follow.subscribe_address_for(account) }
|
||||
|
||||
before do
|
||||
remote_follow.valid?
|
||||
end
|
||||
|
@ -58,8 +60,6 @@ RSpec.describe RemoteFollow do
|
|||
let(:attrs) { { acct: 'gargron@quitter.no' } }
|
||||
let(:account) { Fabricate(:account, username: 'alice') }
|
||||
|
||||
subject { remote_follow.subscribe_address_for(account) }
|
||||
|
||||
it 'returns subscribe address' do
|
||||
expect(subject).to eq 'https://quitter.no/main/ostatussub?profile=https%3A%2F%2Fcb6e6126.ngrok.io%2Fusers%2Falice'
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue