Autofix Rubocop RSpec/LeadingSubject (#23670)
This commit is contained in:
		
							parent
							
								
									4ea1e0fceb
								
							
						
					
					
						commit
						4552685f6b
					
				
					 78 changed files with 256 additions and 338 deletions
				
			
		|  | @ -2,11 +2,11 @@ require 'rails_helper' | |||
| 
 | ||||
| RSpec.describe UnsuspendAccountService, type: :service do | ||||
|   shared_examples 'common behavior' do | ||||
|     subject { described_class.new.call(account) } | ||||
| 
 | ||||
|     let!(:local_follower) { Fabricate(:user, current_sign_in_at: 1.hour.ago).account } | ||||
|     let!(:list)           { Fabricate(:list, account: local_follower) } | ||||
| 
 | ||||
|     subject { described_class.new.call(account) } | ||||
| 
 | ||||
|     before do | ||||
|       allow(FeedManager.instance).to receive(:merge_into_home).and_return(nil) | ||||
|       allow(FeedManager.instance).to receive(:merge_into_list).and_return(nil) | ||||
|  |  | |||
		Reference in a new issue