draper/spec
Chris Heald 6e6217a484 Clear the context per request, and assign a controller reference that is used to create a new view context on demand if needed by draper outside of a template context. Fixes #287. Split out the system initialization into action_controller and action_mailer pieces for clarity. Guarded the view context lazy initialization to only attempt to create a test context if the proper test classes exist (as they won't outside of test mode). 2012-10-01 14:30:18 -07:00
..
draper cleaned up the spec 2012-09-24 22:55:04 +05:30
generators/decorator handle namespaced models in spec generators 2012-09-21 19:02:06 +03:00
minitest-rails Update minitest integration 2012-09-27 13:46:27 -06:00
support/samples Fixed bug build_view_context should be class method 2012-09-24 22:21:08 +05:30
spec_helper.rb Clear the context per request, and assign a controller reference that is used to create a new view context on demand if needed by draper outside of a template context. Fixes #287. Split out the system initialization into action_controller and action_mailer pieces for clarity. Guarded the view context lazy initialization to only attempt to create a test context if the proper test classes exist (as they won't outside of test mode). 2012-10-01 14:30:18 -07:00