jkoelker / quark

This is my fork, Quark is now at https://github.com/rackerlabs/quark
Apache License 2.0
0 stars 2 forks source link

DRYs up subnets code #81

Closed MattDietz closed 11 years ago

MattDietz commented 11 years ago

Cleans up some of the create_subnets code through use of helper methods, and modifies the tests slightly based on the change in database model creation.

asadoughi commented 11 years ago

LGTM. I wasn't aware of the pattern you used could take care of the subnet_id automagically for the subnet's resources.