workforce-data-initiative / programs-registry

Machine readable, public directory of programs and services offered by eligible training providers
https://docs.brighthive.io
Apache License 2.0
1 stars 0 forks source link

Feature/tests #4

Closed gitgik closed 6 years ago

gitgik commented 6 years ago

What does this PR do?

It defines a test suite for the registry models

Description?

TDD comes first. We've gone ahead and written a bunch of tests to test the creation of our models in the registry database. We test this by checking the count before and after an instance of the model is created. If the count differs, it means the record was written in the respective database table.

How can this be manually tested?

Relevant pivotal tracker stories?

N/A