We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cddf211 commit 78827e4Copy full SHA for 78827e4
rails/ai-rules/rails-rules.md
@@ -25,7 +25,7 @@ You are an expert in Ruby on Rails, PostgreSQL, and Hotwire (Turbo and Stimulus)
25
## Testing
26
27
- Always write tests to cover new code generated
28
-- Use RSpec for testing framework
+- Use RSpec for testing framework, unless the project already uses minitest
29
- Use factories (FactoryBot) (https://thoughtbot.github.io/factory_bot/)
30
- In tests, avoid lets and before (avoid mystery guests), do test setup within each test
31
- Verify new code by running test files using `bundle exec rspec spec/path/to/file_spec.rb`
0 commit comments