Top "Rspec-rails" questions

rspec-rails is an extension of the RSpec testing framework that provides support for testing Ruby on Rails applications.

How to set a value in the params hash when testing a Rails helper method with RSpec?

In Ruby on Rails 4, with RSpec 3.1, how do I set the values of the params hash when testing a Rails …

ruby-on-rails ruby-on-rails-4 rspec rspec-rails rspec3
RSpec: Flush table / destroy objects after each context

How do you delete the objects (in the database and in the memory) you created after each test AND after …

ruby-on-rails ruby rspec rspec2 rspec-rails
Testing ActiveAdmin with rspec

I am trying to get started in testing ActiveAdmin, in particular I need to test a member_action from one …

rspec rspec2 activeadmin rspec-rails
How to do request spec for JWT authenticate app using RSpec

I have a Rails 5 API only app and using knock to do JWT authenticate. After complete the model and model …

ruby-on-rails rspec rspec-rails
Rspec Rails 3.1 Integration test. How to send post request headers for mobile, http basic authentication and JSON?

I have an RSPEC integration test for a Rails 3.1 app that needs to test an api for a mobile client …

testing ruby-on-rails-3.1 rspec-rails