How to compare a seed and loaded resource?
I thought
strip_metadata()
would make the comparable
Are there any showcase apps that have some good example test suites?3 Replies
It looks like the one on the right has some data loaded
i.e
invites
Generally speaking, it is probably better to pick specific things you want to assert equality on
like assert Map.take(record1, [:foo, bar]) == Map.take(record2, [:foo, :bar])
Thanks
@Zach Daniel testing tag might be useful
Added