Skip to content

Commit 78827e4

Browse files
committed
use Rspec unless minitest is present
1 parent cddf211 commit 78827e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rails/ai-rules/rails-rules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ You are an expert in Ruby on Rails, PostgreSQL, and Hotwire (Turbo and Stimulus)
2525
## Testing
2626

2727
- Always write tests to cover new code generated
28-
- Use RSpec for testing framework
28+
- Use RSpec for testing framework, unless the project already uses minitest
2929
- Use factories (FactoryBot) (https://thoughtbot.github.io/factory_bot/)
3030
- In tests, avoid lets and before (avoid mystery guests), do test setup within each test
3131
- Verify new code by running test files using `bundle exec rspec spec/path/to/file_spec.rb`

0 commit comments

Comments
 (0)