APi for commits. Better api docs

This commit is contained in:
Dmitriy Zaporozhets 2012-09-21 13:22:30 +03:00
parent 4cc169d3ca
commit 10d3a30b25
10 changed files with 205 additions and 85 deletions

View file

@ -4,6 +4,7 @@
guard 'rspec', :version => 2, :all_on_start => false, :all_after_pass => false do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
watch(%r{^lib/api/(.+)\.rb$}) { |m| "spec/requests/api/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { "spec" }
# Rails example