Commit Graph

7 Commits

Author SHA1 Message Date
Dmytro Stepaniuk f441d11dcd Replace hash rockets with new syntax (#802)
* update rocket hash syntax in Guardfile

* update rocket hash syntax in spec/dummy/lib/tasks/test.rake

* update rocket hash syntax in lib/draper/tasks/test.rake

* update rocket hash syntax in lib/generators/mini_test/decorator_generator.rb

* update rocket hash syntax in schema from dummy app
2017-05-08 09:28:07 -05: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
Andrew Haines dcf9477c94 Ignore dummy databases 2012-11-10 16:27:55 +00: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