diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-09-30 18:11:00 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-30 18:11:00 +0900 |
commit | 285f9a89d5d9448461bfc7f19a45815e426c522e (patch) | |
tree | 570b641c328e890249263826cf292e33ede488d3 | |
parent | d39879435c51af1b9966f9037a9962146ff1ea71 (diff) | |
parent | 35dc49e517acff12ad249995cfbac41334d30d66 (diff) | |
download | rails-285f9a89d5d9448461bfc7f19a45815e426c522e.tar.gz rails-285f9a89d5d9448461bfc7f19a45815e426c522e.tar.bz2 rails-285f9a89d5d9448461bfc7f19a45815e426c522e.zip |
Merge pull request #30759 from y-yagi/remove_unused_methods
Remove unused methods from `RenderPartialWithRecordIdentificationController`
-rw-r--r-- | actionview/test/activerecord/render_partial_with_record_identification_test.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/actionview/test/activerecord/render_partial_with_record_identification_test.rb b/actionview/test/activerecord/render_partial_with_record_identification_test.rb index 367d2c3174..3a698fa42e 100644 --- a/actionview/test/activerecord/render_partial_with_record_identification_test.rb +++ b/actionview/test/activerecord/render_partial_with_record_identification_test.rb @@ -17,21 +17,11 @@ class RenderPartialWithRecordIdentificationController < ActionController::Base render partial: Reply.base end - def render_with_has_many_through_association - @developer = Developer.first - render partial: @developer.topics - end - def render_with_has_one_association @company = Company.find(1) render partial: @company.mascot end - def render_with_belongs_to_association - @reply = Reply.find(1) - render partial: @reply.topic - end - def render_with_record @developer = Developer.first render partial: @developer |