GAHHHH DATABASE STRING OR INTEGER MAKE UP YOUR MIND

This commit is contained in:
Maxwell Salzberg 2011-09-29 18:53:25 -07:00
parent c0ed7218fa
commit a99d992706

View file

@ -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