RSpec
About
Documentation
Blog
Upgrade
Get Help
Contributing
Library:
RSpec Rails
RSpec Core
RSpec Expectations
RSpec Mocks
RSpec Rails
Version:
6.0
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_performed_job` matcher
`have_been_performed` matcher
`have_broadcasted_to` matcher
`have_enqueued_job` matcher
`have_stream_from` matcher
`have_enqueued_mail` matcher
`have_http_status` matcher
ActiveRecord::Relation match array
`have_been_enqueued` 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
Upgrade
Generator specs
Mailer generator spec
Channel generator spec
System generator spec
Controller generator spec
View generator spec
Helper generator spec
Mailbox generator spec
Integration generator spec
Generator spec
Request generator spec
Job generator spec
Feature generator spec
Gettingstarted
Channel specs
Channel specs
File fixture
Mailbox specs
Action mailbox specs
System specs
System specs
Generators
Job specs
Job specs
Mailbox specs
Topics
Action mailbox specs