This website requires JavaScript.
Explore
Help
Sign In
kotovalexarian-likes-github
/
draper
mirror of
https://github.com/drapergem/draper
Watch
1
Star
0
Fork
You've already forked draper
0
Code
Releases
Activity
4b47c88859
draper
/
spec
History
Ches Martin
027a2cd4b6
Fix incorrect method signature for I18n.localize proxy
2012-10-08 22:06:42 +07:00
..
draper
Fix incorrect method signature for I18n.localize proxy
2012-10-08 22:06:42 +07:00
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