File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ RESET := \033[0m
1010
1111# Commands configuration
1212COMPOSE_CMD = COMPOSE_PROJECT_NAME=$(PROJECT_NAME ) docker compose -f docker-compose.dev.yml
13- DOCKER_TEST_CMD = $(COMPOSE_CMD ) exec app bundle exec rspec --format documentation
13+ DOCKER_TEST_CMD = $(COMPOSE_CMD ) exec app bundle exec bash -c "export RAILS_ENV=test && rspec --format documentation"
1414EXEC_CMD = $(COMPOSE_CMD ) exec app
1515
1616.PHONY : help build rebuild stop start restart logs shell console format test test_fast db_reset migrate clean clean_volumes
@@ -69,7 +69,7 @@ format:
6969 $(EXEC_CMD ) bundle exec rubocop --autocorrect-all
7070
7171test :
72- export RAILS_ENV=test $(DOCKER_TEST_CMD )
72+ $(DOCKER_TEST_CMD )
7373
7474test_fast :
7575 $(DOCKER_TEST_CMD ) --fail-fast
You can’t perform that action at this time.
0 commit comments