File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ 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 bash -c "export RAILS_ENV=test && rspec --format documentation"
1413EXEC_CMD = $(COMPOSE_CMD ) exec app
1514
1615.PHONY : help build rebuild stop start restart logs shell console format test test_fast db_reset migrate clean clean_volumes
@@ -69,10 +68,10 @@ format:
6968 $(EXEC_CMD ) bundle exec rubocop --autocorrect-all
7069
7170test :
72- $(DOCKER_TEST_CMD )
71+ $(COMPOSE_CMD ) exec app bundle exec bash -c " export RAILS_ENV=test && rspec --format documentation "
7372
7473test_fast :
75- $(DOCKER_TEST_CMD ) -- fail-fast
74+ $(COMPOSE_CMD ) exec app bundle exec bash -c " export RAILS_ENV=test && rspec --format documentation -- fail-fast"
7675
7776migrate :
7877 $(EXEC_CMD ) bundle exec rails db:migrate
You can’t perform that action at this time.
0 commit comments