1
0
Fork 0
mirror of https://github.com/drapergem/draper synced 2023-03-27 23:21:17 -04:00
draper/spec
2012-10-14 23:01:15 +01:00
..
draper Extract helper proxy 2012-10-14 23:01:15 +01:00
generators/decorator Rename Base to Decorator 2012-10-09 10:05:22 +01:00
minitest-rails Update minitest integration 2012-09-27 13:46:27 -06:00
support/samples Rename ModelSupport to Decoratable 2012-10-09 10:11:57 +01:00
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