aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMax Magorsch <max@magorsch.de>2020-01-01 03:58:23 +0100
committerMax Magorsch <max@magorsch.de>2020-01-01 03:58:23 +0100
commit20b84a1c15a3ad0da9fed2232605a4a06cc39ed7 (patch)
tree2ce01b524aa129480b4c4456836c9fe1dfffe80d /bin
parentRun the test in travis (diff)
downloadpackages-5-20b84a1c15a3ad0da9fed2232605a4a06cc39ed7.tar.gz
packages-5-20b84a1c15a3ad0da9fed2232605a4a06cc39ed7.tar.bz2
packages-5-20b84a1c15a3ad0da9fed2232605a4a06cc39ed7.zip
Fix the test failures
So far the tests are failing when executed, using for example the docker-compose.test.yml file. To fix this, three things have changed: - the kkuleomi:update:all task has been added to bin/test.sh so that the test index is populated using the test data - kkuleomi_config.rb has been replaced by kkuleomi_config.rb.test - a repo/profiles/categories file has been created Signed-off-by: Max Magorsch <max@magorsch.de>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/test.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/test.sh b/bin/test.sh
index 5397212..59ee5ff 100755
--- a/bin/test.sh
+++ b/bin/test.sh
@@ -7,5 +7,6 @@ bundler install
bundle exec rake tmp:create RAILS_ENV=test
bundle exec rake assets:precompile RAILS_ENV=test
bundle exec rake kkuleomi:index:init RAILS_ENV=test
+bundle exec rake kkuleomi:update:all RAILS_ENV=test
RAILS_ENV=test bundle exec rake test test/ \ No newline at end of file