The problem with using Cucumber is that it runs the dummy app in the
test environment. Because the view context behaviour is dependent on
environment, we need to test it running on an actual server.
This test tests the following Draper features:
1) finders
2) decorates
3) using a decorated method
It also is the first test that verifies that the whole Cucumber setup
actually works properly.
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. ❤️