diff --git a/spec/lib/postzord/receiver/local_batch_spec.rb b/spec/lib/postzord/receiver/local_batch_spec.rb index 270fea9c8..421fc9bb4 100644 --- a/spec/lib/postzord/receiver/local_batch_spec.rb +++ b/spec/lib/postzord/receiver/local_batch_spec.rb @@ -42,7 +42,7 @@ describe Postzord::Receiver::LocalBatch do describe '#create_post_visibilities' do it 'calls Postvisibility.batch_import with hashes' do - PostVisibility.should_receive(:batch_import).with([bob.contact_for(alice.person).id.to_s], @object) + PostVisibility.should_receive(:batch_import).with(instance_of(Array), @object) receiver.create_post_visibilities end end