From a99d992706247893cd420e493edc8c12fbcdf3fa Mon Sep 17 00:00:00 2001 From: Maxwell Salzberg Date: Thu, 29 Sep 2011 18:53:25 -0700 Subject: [PATCH] GAHHHH DATABASE STRING OR INTEGER MAKE UP YOUR MIND --- spec/lib/postzord/receiver/local_batch_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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