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

8 commits

Author SHA1 Message Date
Steve Klabnik
bf84303a62 Fix the build.
My decorator was silly. When UTC's today is different
than today's today, the decorator would be wrong. Now
we make sure to convert both to utc before making
the comparison
2012-11-02 19:19:39 -07:00
Andrew Haines
e1214d97b6 Remove .decorates method 2012-10-31 17:55:38 +00:00
Steve Klabnik
bfc33537b9 Add features around url helpers 2012-10-24 07:24:03 -04:00
Steve Klabnik
f197ced4ca ignoring test db 2012-10-24 07:05:35 -04:00
Steve Klabnik
9f869ab84c Updating with latest master.
Needed to turn Base -> Decorator, and also add
the test db back to the repo so that travis will
have a copy.
2012-10-19 14:16:16 -03:00
Steve Klabnik
d40af21dba Added dummy databases to .gitignore. 2012-10-19 14:12:27 -03: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