From eb2204457621e61d353974bae8c383cf32804512 Mon Sep 17 00:00:00 2001 From: Edward Poot Date: Mon, 7 Nov 2016 23:49:04 +0100 Subject: [PATCH] Update documentation for rspec as well --- lib/shoulda/matchers/action_controller/redirect_to_matcher.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/shoulda/matchers/action_controller/redirect_to_matcher.rb b/lib/shoulda/matchers/action_controller/redirect_to_matcher.rb index c68ae67d..09b5483f 100644 --- a/lib/shoulda/matchers/action_controller/redirect_to_matcher.rb +++ b/lib/shoulda/matchers/action_controller/redirect_to_matcher.rb @@ -18,7 +18,7 @@ module Shoulda # describe 'GET #show' do # before { get :show } # - # it { should redirect_to(posts_path) } + # it { should redirect_to('/posts', posts_path) } # it { should redirect_to(action: :index) } # end # end