To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!More about adding a collaborator
rspec-rails offers a number of custom matchers, most of which are
rspec-compatible wrappers for Rails' assertions.
# delegates to assert_redirected_to expect(response).to redirect_to(path)
# delegates to assert_template expect(response).to render_template(template_name)
# passes if assigns(:widget) is an instance of Widget # and it is not persisted expect(assigns(:widget)).to be_a_new(Widget)
- be_a_new matcher
- render_template matcher
- redirect_to matcher
- `have_http_status` matcher
- ActiveRecord::Relation match array
- have_been_enqueued matcher
- have_enqueued_job matcher
Last published almost 2 years ago by myronmarston.
RSpec Rails settings