Autofix Rubocop RSpec/LeadingSubject (#23670)
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
require 'rails_helper'
|
||||
|
||||
RSpec.describe Web::PushSubscription, type: :model do
|
||||
subject { described_class.new(data: data) }
|
||||
|
||||
let(:account) { Fabricate(:account) }
|
||||
|
||||
let(:policy) { 'all' }
|
||||
@@ -19,8 +21,6 @@ RSpec.describe Web::PushSubscription, type: :model do
|
||||
}
|
||||
end
|
||||
|
||||
subject { described_class.new(data: data) }
|
||||
|
||||
describe '#pushable?' do
|
||||
let(:notification_type) { :mention }
|
||||
let(:notification) { Fabricate(:notification, account: account, type: notification_type) }
|
||||
|
||||
Reference in New Issue
Block a user