rspec-rails
https://github.com/rspec/rspec-rails
Ruby
RSpec for Rails 5+
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
30 Subscribers
View all SubscribersAdd a CodeTriage badge to rspec-rails
Help out
- Issues
- UrlGenerationError when testing mocked controllers that use `url_for` just to add params
- stop_stream_from causes undefined method 'pubsub'
- Failing rspec test when using stub_template with Rails 6.1
- explicitly included helper methods not available (any more) with Rails 6.1
- `expect { ... }.to change { model.association }.to ...` fails when there was a change
- If take_failed_screenshot fails, the rest of the teardown hooks do not run, breaking transactions
- Undefined method error in `restore_original_visibility`
- actioncable channel helpers not being included for rails 5.2 projects
- Where to test non-client-facing behaviors from controller actions?
- Define url_options as per system test case does
- Docs
- RSpec::Rails::Matchers::ActionCable::HaveBroadcastedTo#base_description
- RSpec::Rails::Matchers::ActionCable::HaveBroadcastedTo#description
- RSpec::Rails::Matchers::HaveEnqueuedMail#job_matches?
- RSpec::Rails::Matchers::ActiveJob::Base#job_matches?
- RSpec::Rails::Matchers::ActiveJob::Base#matches_constraints?
- RSpec::Rails::Matchers::ActiveJob::Base#fetch_priority
- RSpec::Rails::Matchers::ActiveJob::Base#check_countable
- RSpec::Rails::Matchers::ActiveJob::Base#at_priority
- RSpec::Rails::Matchers::ActiveJob::Base#priority_match?
- #redirect_with_vary