tightened the spec, about to refactor
This commit is contained in:
parent
1fe9de328b
commit
5cf11447e6
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ describe Postzord::Receiver::LocalBatch do
|
|||
|
||||
describe '#create_post_visibilities' do
|
||||
it 'calls Postvisibility.batch_import' do
|
||||
PostVisibility.should_receive(:batch_import)
|
||||
PostVisibility.should_receive(:batch_import).with([bob.contact_for(alice.person)], @object)
|
||||
receiver.create_post_visibilities
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue