1
0
Fork 0
mirror of https://github.com/drapergem/draper synced 2023-03-27 23:21:17 -04:00
draper/spec
Steve Klabnik e82d2dc277 Adding cucumber stuff for integration testing.
I've embedded a little Rails app so that we can write cuke tests and
make sure that stuff doesn't break. Woo!

This was generated by making a rails engine, then copying just the
app over.

Thanks @nashby for fixing my stupid bug with sqlite3; it had to be
added as a development dependency. ❤️
2012-10-16 06:22:21 -07:00
..
draper Fix incorrect method signature for I18n.localize proxy 2012-10-08 22:06:42 +07:00
dummy Adding cucumber stuff for integration testing. 2012-10-16 06:22:21 -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