Skip to content

Commit 047e379

Browse files
authored
Improve Rails invocation in tests (#493)
1 parent 9012f4a commit 047e379

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/tests/default.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ then
1414
fi
1515

1616
print_heading "Check if elasticsearch index is present…"
17-
railsserver_run_command rails r "SearchIndexBackend.index_exists?('Ticket') || exit(1)"
17+
railsserver_run_command bundle exec rails r "SearchIndexBackend.index_exists?('Ticket') || exit(1)"
1818
print_heading "Elasticsearch index is present :)"
1919

2020
print_heading "Check that translations are present…"
21-
railsserver_run_command rails r "Translation.any? || exit(1)"
21+
railsserver_run_command bundle exec rails r "Translation.any? || exit(1)"
2222
print_heading "Translations are present :)"
2323

2424
print_heading "Execute autowizard…"

0 commit comments

Comments
 (0)