Closed taboularasa closed 10 years ago
Thanks. That's fine, but would you update the docs?
@jejacks0n sure thing. Do you care that I made Content-Type default to application/json? Also should I add test coverage to spec/features/hooks_spec.rb or elsewhere?
I'm unsure on the JSON bit, but since I've never used the hooks, it's kinda up to you, and for others to contribute to.
As for tests, yes, coverage stayed the same, but if you don't want me or someone else to break it later you should have a test (at least a unit test). In general terms I try not to break specs, but if it's not tested I'm known to "clean it up". :)
Looks good. Thanks. Let's just get some unit tests around it so I don't break it later. :)
I'll try to wrap this up sometime today.
@jejacks0n this should be good to merge now. Let me know if theres anything else I need
Thanks!
:+1: thanks for teaspoon!
I don't know how you guys feel about this but I think it would be useful to allow arguments to be passed to user defined hooks. Eg: