Skip to content

Commit 8f024a4

Browse files
moozzidutow
authored andcommitted
Added $(ARGS) to test target
1 parent 8323fea commit 8f024a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ console: ## Open Rails console in the web container
2323

2424
test: ## Run RSpec in the web container (uses test database)
2525
$(COMPOSE) exec -e RAILS_ENV=test -e DATABASE_URL=postgresql://hackorum:hackorum@db:5432/hackorum_test web bin/rails db:prepare
26-
$(COMPOSE) exec -e RAILS_ENV=test -e DATABASE_URL=postgresql://hackorum:hackorum@db:5432/hackorum_test web bundle exec rspec
26+
$(COMPOSE) exec -e RAILS_ENV=test -e DATABASE_URL=postgresql://hackorum:hackorum@db:5432/hackorum_test web bundle exec rspec $(ARGS)
2727

2828
db-migrate: ## Run db:migrate
2929
$(COMPOSE) exec web bin/rails db:migrate

0 commit comments

Comments
 (0)