I'm building an app including a Rails API and want to use Ruby MiniTest::Spec to test.
What's a good way to set it up?
For example, good directory organization, good way to include files, etc.?
I'm using the guidelines in the book Rails 3 In Action which uses RSpec and has a great chapter on APIs. The big change is preferring MiniTest::Spec.
Answering with what I've found so far in case it's helpful to other developers....
spec/api/items_spec.rb
spec/spec_helper.rb
spec/factories/item.rb
app/controllers/api/base_controller.rb
app/controllers/api/items_controller.rb
config/routes.rb
Gemfile