Skip to content

Commit

Permalink
fix: Conserta duplicação na execução de todos os testes (#63)
Browse files Browse the repository at this point in the history
* fix: conserta execução dos testes

* fix: conserta testes na CI

* fix: conserta duplicação na execução dos testes
  • Loading branch information
natannobre authored Sep 17, 2024
1 parent 086f535 commit 53d040f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bin/test
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ end

FileUtils.chdir APP_ROOT do
puts "\n== Running RSpec =="
if ARGV.first&.include?("--auto")
if ARGV.empty?
puts "bundle exec rspec --require rails_helper"
system "bundle exec rspec --require rails_helper"
elsif ARGV.first&.include?("--auto")
unless system("gem list retest -i --silent")
puts "Installing retest..."
system("gem install retest")
Expand Down

0 comments on commit 53d040f

Please sign in to comment.