RSpec
About
Documentation
Blog
Upgrade
Get Help
Contributing
Library:
RSpec Rails
RSpec Core
RSpec Expectations
RSpec Mocks
RSpec Rails
Version:
7.0
7.1
7.0
6.1
6.0
Transactions
Directory structure
Backtrace filtering
Model specs
Transactional examples
Using verified doubles
Controller specs
Cookies
Controller specs
Views are stubbed by default
Using `render_views`
Using an anonymous controller
Using `bypass_rescue`
Engine routes for controllers
Setting request headers
Matchers
`be_a_new` matcher
`render_template` matcher
`redirect_to` matcher
`have_been_enqueued` matcher
`have_been_performed` matcher
`have_broadcasted_to` matcher
`have_enqueued_job` matcher
`have_enqueued_mail` matcher
`have_http_status` matcher
`have_performed_job` matcher
`have_stream_from` matcher
ActiveRecord::Relation match array
`send_email` matcher
Request specs
Request specs
Feature specs
Feature specs
View specs
View specs
Using `stub_template`
View specs infer controller's path and action
Helper specs
Helper specs
Mailer specs
URL helpers in mailer examples
Mailer specs
Routing specs
`route_to` matcher
`be_routable` matcher
Using named routes
Using engine routes
Generators
Getting started
Channel specs
Channel specs
File fixture
Generator specs
Channel generator spec
Controller generator spec
Feature generator spec
Generator spec
Helper generator spec
Job generator spec
Mailbox generator spec
Mailer generator spec
Request generator spec
System generator spec
View generator spec
Job specs
Job specs
Mailbox specs
Action mailbox specs
System specs
System specs
Upgrade
Request specs
Topics
Request specs