Initial spec file for api_broker_v1.rb
All endpoints are tested for basic functionality.
Initial spec file for api_config_v1.rb
All endpoints are tested for basic functionality.
Added checks to ensure the proper model_uuid was returned for related operations.
Initial spec file for api_tag_v1.rb.
All endpoints tested for basic functionality.
Initial spec file for api_image_v1.rb.
All endpoints tested for basic functionality.

This test requires an ISO file for testing the creation of an image.  To accomplish this, we look for a Hanlon MK image in the ./test/res folder and if not found, we download it from GitHub.  The ISO we look for is hard-coded (bleh) so it would be good to provide a better way.

The ./test/res/README file identifies the function of the (res)source folder.
Initial spec file for api_policy_v1.rb.
Most of the endpoints are tested for basic functionality.  The :callback resource is not yet implemented
Initial spec file for api_node_v1.rb.
Some of the endpoints are tested for basic functionality.  The :power, :register and :checkin resources are not yet implemented.

The 'GET /node/{uuid}' test will fail if a node does not already exist in the database.
Initial spec file for api_active_model_v1.rb.
Most of the tests in this spec will fail if an active model is not present in the database.  Additional workflow needs to be implemented to fully test this api.

The DELETE methods are not tested because we are not yet dynamically creating active models.
fix  call of 'create_database' if db not exists.
Removing tests with dependencies
Tests which require existing elements in the database have been commented to remove them from test runs.
Delete the temporary model used for testing
Merge pull request #251 from toepi/fix-psql-create-db

fix  call of 'create_database' if db not exists.
Merge pull request #250 from mtnbikenc/issue-249-spec-tests

Thanks!

Fixes Issue #249 : API Spec Tests
Add Travis configuration to enable travis builds

Also add build status badge to README file