mirror of
https://github.com/discourse/discourse.git
synced 2026-08-06 07:17:35 +08:00
This PR updates the RSpec agent skill with Discourse-specific guidance for choosing assertions, structuring fixtures, and writing reliable system tests. The copied generic RSpec style guide duplicated upstream advice that could drift from both its source and Discourse's conventions. Key changes: * Add public-boundary and test-layer guidance so specs assert behavior owned by the layer under test. * Add fabricator, system-test cost, deterministic transient-state, URL, and page-object guidance to reduce brittle tests. * Remove the copied style guide and its references so the skill only maintains Discourse-specific advice. |
||
|---|---|---|
| .. | ||
| request-specs.md | ||
| system-tests.md | ||
| theme-tests.md | ||
| tracking-helpers.md | ||