Commit d4434013 authored by Jonne Haß's avatar Jonne Haß Committed by Benjamin Neff

Stabilize Diaspora::Federation::Entities.build.builds a comment with edited_at

closes #7994
parent a38a9352
......@@ -63,7 +63,7 @@ describe Diaspora::Federation::Entities do
expect(federation_entity.parent_guid).to eq(diaspora_entity.post.guid)
expect(federation_entity.text).to eq(diaspora_entity.text)
expect(federation_entity.created_at).to eq(diaspora_entity.created_at)
expect(federation_entity.edited_at).to eq(edited_at)
expect(federation_entity.edited_at).to be_within(1.second).of(edited_at)
expect(federation_entity.author_signature).to eq(diaspora_entity.signature.author_signature)
expect(federation_entity.signature_order.map(&:to_s)).to eq(diaspora_entity.signature.signature_order.order.split)
expect(federation_entity.additional_data).to eq(diaspora_entity.signature.additional_data)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment