jayvan / tempest-watch

Track active tempests in Path of Exile
zlib License
7 stars 5 forks source link

Testing and API structure #4

Closed MMcCormick closed 9 years ago

MMcCormick commented 9 years ago

I added namespaces so that we can have different versions of the API if necessary. Currently we can just do all API-related stuff in the namespace /api/v0. Using Rspec and Factory Girl for testing. Let me know if you have thoughts!

jayvan commented 9 years ago

Thanks @MMcCormick, I tweaked the specs a little bit and merged :)

MMcCormick commented 9 years ago

👍🏻

MMcCormick commented 9 years ago

Good work, much less brittle that way. I want to change the api structure a bit to be more object oriented in v1.