diff --git a/spec/models/account_deletion_spec.rb b/spec/models/account_deletion_spec.rb index 2a3d682a8..1424a731b 100644 --- a/spec/models/account_deletion_spec.rb +++ b/spec/models/account_deletion_spec.rb @@ -42,12 +42,12 @@ describe AccountDeletion, :type => :model do describe '#dispatch' do it "sends the account deletion xml" do - ad_new.send(:dispatch) + ad_new.dispatch end it 'creates a public postzord' do expect(Postzord::Dispatcher::Public).to receive(:new).and_return(double.as_null_object) - ad_new.send(:dispatch) + ad_new.dispatch end end