aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/record_tag_helper_test.rb
diff options
context:
space:
mode:
authorYehuda Katz <wycats@gmail.com>2009-07-20 00:27:04 +0900
committerYehuda Katz <wycats@gmail.com>2009-07-20 00:27:04 +0900
commit5ffaaa71d149c9807260c950c9a61d01fe734827 (patch)
treeb014dcbe7cc8efabebca38e9e75648905e85017e /actionpack/test/template/record_tag_helper_test.rb
parent45d41d8012c605f21de51e7018fa31e1d07776eb (diff)
downloadrails-5ffaaa71d149c9807260c950c9a61d01fe734827.tar.gz
rails-5ffaaa71d149c9807260c950c9a61d01fe734827.tar.bz2
rails-5ffaaa71d149c9807260c950c9a61d01fe734827.zip
Define ActiveModel API Compliance
- Define to_model on AR - Define to_model on ActiveModel::APICompliant - Update test fixtures to be API Compliant - Start using to_model in AP
Diffstat (limited to 'actionpack/test/template/record_tag_helper_test.rb')
-rw-r--r--actionpack/test/template/record_tag_helper_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/template/record_tag_helper_test.rb b/actionpack/test/template/record_tag_helper_test.rb
index 5b840d123b..861958ffa9 100644
--- a/actionpack/test/template/record_tag_helper_test.rb
+++ b/actionpack/test/template/record_tag_helper_test.rb
@@ -1,7 +1,7 @@
require 'abstract_unit'
class Post
- extend ActiveModel::Naming
+ extend ActiveModel::APICompliant
def id
45
end