README.md in decidim-action_delegator-0.4.1 vs README.md in decidim-action_delegator-0.5.0

- old
+ new

@@ -1,8 +1,8 @@ # Decidim::ActionDelegator -![[CI] Build](https://github.com/coopdevs/decidim-module-action_delegator/workflows/%5BCI%5D%20Build/badge.svg) +[![Test](https://github.com/coopdevs/decidim-module-action_delegator/actions/workflows/test.yml/badge.svg)](https://github.com/coopdevs/decidim-module-action_delegator/actions/workflows/test.yml) [![Maintainability](https://api.codeclimate.com/v1/badges/6ec3c39e8dc2075808e1/maintainability)](https://codeclimate.com/github/coopdevs/decidim-module-action_delegator/maintainability) [![Codecov](https://codecov.io/gh/coopdevs/decidim-module-action_delegator/branch/master/graph/badge.svg)](https://codecov.io/gh/coopdevs/decidim-module-action_delegator) A tool for Decidim that provides extended functionalities for cooperatives. @@ -186,10 +186,14 @@ To run the tests run the following in the gem development path: ```bash bundle -DATABASE_USERNAME=<username> DATABASE_PASSWORD=<password> bundle exec rake test_app +DATABASE_USERNAME=<username> DATABASE_PASSWORD=<password> bundle exec rake decidim:generate_external_test_app +cd spec/decidim_dummy_app +bundle exec rails decidim_action_delegator:install:migrations +RAILS_ENV=test bundle exec rails db:migrate +cd - DATABASE_USERNAME=<username> DATABASE_PASSWORD=<password> bundle exec rspec ``` Note that the database user has to have rights to create and drop a database in order to create the dummy test app database.