Skip to content
Snippets Groups Projects
Commit a99d9927 authored by Maxwell Salzberg's avatar Maxwell Salzberg
Browse files

GAHHHH DATABASE STRING OR INTEGER MAKE UP YOUR MIND

parent c0ed7218
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment