From c0ed7218fa6716771e574d4f55cea7d461500ca4 Mon Sep 17 00:00:00 2001 From: Maxwell Salzberg Date: Thu, 29 Sep 2011 18:27:10 -0700 Subject: [PATCH] ugh postgres and your string ids\! --- 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 4879cea82..270fea9c8 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], @object) + PostVisibility.should_receive(:batch_import).with([bob.contact_for(alice.person).id.to_s], @object) receiver.create_post_visibilities end end