diff options
author | Prathamesh Sonpatki <csonpatki@gmail.com> | 2015-05-02 10:45:54 +0530 |
---|---|---|
committer | Prathamesh Sonpatki <csonpatki@gmail.com> | 2015-05-02 12:31:05 +0530 |
commit | 462094dbea73dcdc4be621df96ac674ec21dfe7b (patch) | |
tree | 3440f0eb325b595307e9c381a2786d357d4938b3 /railties/test/application | |
parent | 79c4aac5525b950676ef1e859f85c6d18e8a2be3 (diff) | |
download | rails-462094dbea73dcdc4be621df96ac674ec21dfe7b.tar.gz rails-462094dbea73dcdc4be621df96ac674ec21dfe7b.tar.bz2 rails-462094dbea73dcdc4be621df96ac674ec21dfe7b.zip |
Removed `assigns` from functional_test templates
- Based on DHH's suggestion about deprecating `assigns` in
https://github.com/rails/rails/pull/18305#issuecomment-68605166.
Diffstat (limited to 'railties/test/application')
-rw-r--r-- | railties/test/application/rake_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/application/rake_test.rb b/railties/test/application/rake_test.rb index 0648b11813..de14f269df 100644 --- a/railties/test/application/rake_test.rb +++ b/railties/test/application/rake_test.rb @@ -190,7 +190,7 @@ module ApplicationTests bundle exec rake db:migrate test` end - assert_match(/7 runs, 13 assertions, 0 failures, 0 errors/, output) + assert_match(/7 runs, 12 assertions, 0 failures, 0 errors/, output) assert_no_match(/Errors running/, output) end @@ -203,7 +203,7 @@ module ApplicationTests bundle exec rake db:migrate test` end - assert_match(/7 runs, 13 assertions, 0 failures, 0 errors/, output) + assert_match(/7 runs, 12 assertions, 0 failures, 0 errors/, output) assert_no_match(/Errors running/, output) end |