zipmark/rspec_api_documentation — Issue #6: Set a default app for Rack::Test
Author: samwgoldman
Created: 2011-12-02 19:52:51+00:00
State: open

Rack::Test needs example groups to define an "app" method. This is easy enough to do, but we should be nice and default this to Rails.application (if Rails is defined).

There should also be a configuration option to override this across all API doc specs.

Users should still be able to override the app per example group by defining "app."