Change minitest redirect_to documentation to reflect required description parameter when using block syntax
This commit is contained in:
parent
1201198f95
commit
fae44066d2
|
@ -28,7 +28,7 @@ module Shoulda
|
|||
# context 'GET #show' do
|
||||
# setup { get :show }
|
||||
#
|
||||
# should redirect_to { posts_path }
|
||||
# should redirect_to('/posts') { posts_path }
|
||||
# should redirect_to(action: :index)
|
||||
# end
|
||||
# end
|
||||
|
|
Loading…
Reference in New Issue