1
0
Fork 0
mirror of https://github.com/drapergem/draper synced 2023-03-27 23:21:17 -04:00
Commit graph

5 commits

Author SHA1 Message Date
Andrew Haines
d528fffe78 Rails 3.0 compatibility 2013-01-12 16:34:55 +00:00
Andrew Haines
cfbc3888e9 Add mailer specs
Closes #316
2012-11-13 20:32:29 +00:00
Andrew Haines
cef5e628be Integration tests for all environments
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.
2012-11-12 19:59:43 +00:00
Steve Klabnik
6b5b0a77ee Added first integration test
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.
2012-10-19 14:12:27 -03:00
Steve Klabnik
90a4859085 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-19 14:12:27 -03:00