jcasimir/draper — pull request #208 by cookrn (2012-05-18 06:13:08+00:00)
Title: Test Library Integration Reorganization and 

See #207 for context -- This is in regards to better support for `ViewContext` in test suites and was prompted due to errors running test suites built with `MiniTest`.

* Move test lib integrations in to the `lib/draper/test` directory
* Provide a standard method to establish a view context in testing scenarios that can be hooked into by both `MiniTest` and `RSpec`
* Attempt to automatically require the test lib integrations if the test libs are already present
* Switch back to recommended `MiniTest::Spec` type style as seen [here](https://github.com/seattlerb/minitest/blob/master/lib/minitest/spec.rb#L93-L116) ( `MiniTest::DecoratorSpec` back to `MiniTest::Spec::Decorator` )

Is this a little too heavy-handed?

Is it expected that people writing suites with `MiniTest` would have to `require "draper/test/minitest_integration"` in their `test_helper.rb` or `spec_helper.rb` files? Or, is it the hope that any integration would happen automatically?