aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorRoque Pinel <repinel@gmail.com>2015-05-17 21:20:02 -0400
committerRoque Pinel <repinel@gmail.com>2015-05-17 21:20:02 -0400
commitbc1e80235bc0714c63f2affe338655ce4a69e582 (patch)
tree0d883092f38b33a18c621c390e0dc172def471b5 /actionpack
parent1622298428d8216303535c802aca299cf235767f (diff)
downloadrails-bc1e80235bc0714c63f2affe338655ce4a69e582.tar.gz
rails-bc1e80235bc0714c63f2affe338655ce4a69e582.tar.bz2
rails-bc1e80235bc0714c63f2affe338655ce4a69e582.zip
[ci skip] remove `assigns` from the integration test example in API docs
Based on #19976 and #18305.
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_dispatch/testing/integration.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/testing/integration.rb b/actionpack/lib/action_dispatch/testing/integration.rb
index b1bd6ae6d5..f953429e96 100644
--- a/actionpack/lib/action_dispatch/testing/integration.rb
+++ b/actionpack/lib/action_dispatch/testing/integration.rb
@@ -584,7 +584,7 @@ module ActionDispatch
# https!(false)
# get "/articles/all"
# assert_response :success
- # assert assigns(:articles)
+ # assert_select 'h1', 'Articles'
# end
# end
#
@@ -623,7 +623,7 @@ module ActionDispatch
# def browses_site
# get "/products/all"
# assert_response :success
- # assert assigns(:products)
+ # assert_select 'h1', 'Products'
# end
# end
#