everypolitician / everypolitician-popolo

Ruby gem for interacting with EveryPolitician data for a legislature
MIT License
7 stars 4 forks source link

Use real data in tests #84

Closed tmtmtmtm closed 8 years ago

tmtmtmtm commented 8 years ago

Testing against faked up data is fraught with peril. Instead let’s switch the Collection, Area, Person, Membership, and Organization tests to run against real data so we can be sure that things work against the format we actually encounter, not just the format expressed in the tests.

Notes to reviewer

Not all tests have yet been migrated — some operate on a set-up that doesn't exist in the Estonian data (notably Posts, and dated names).