Fix event participation spec after #48
This commit is contained in:
parent
252b2794a4
commit
b7c3cc27e4
1 changed files with 6 additions and 8 deletions
|
|
@ -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 }
|
||||
|
|
|
|||
Loading…
Reference in a new issue