Fix event participation spec after #48

This commit is contained in:
Benjamin Neff 2017-01-08 03:56:06 +01:00
parent 252b2794a4
commit b7c3cc27e4

View file

@ -3,14 +3,12 @@ module DiasporaFederation
let(:parent) { FactoryGirl.create(:event, author: bob) }
let(:parent_entity) { FactoryGirl.build(:related_entity, author: bob.diaspora_id) }
let(:data) {
add_signatures(
FactoryGirl.build(
:event_participation_entity,
author: alice.diaspora_id,
parent_guid: parent.guid,
parent: parent_entity
)
)
FactoryGirl.attributes_for(
:event_participation_entity,
author: alice.diaspora_id,
parent_guid: parent.guid,
parent: parent_entity
).tap {|hash| add_signatures(hash) }
}
let(:xml) { <<-XML }