diff options
author | Jeff Dean <jeff@zilkey.com> | 2008-11-13 23:29:46 -0500 |
---|---|---|
committer | Jeff Dean <jeff@zilkey.com> | 2008-11-13 23:29:46 -0500 |
commit | 4146efc380255319768031f26e63210fd4158e99 (patch) | |
tree | 019caeba5967dbfb02b65cd67e180028134e5462 /railties/doc/guides/source/creating_plugins/acts_as_yaffle.txt | |
parent | 41d0dbcb8661a866ddf4b3534b8b1efd724ecba1 (diff) | |
download | rails-4146efc380255319768031f26e63210fd4158e99.tar.gz rails-4146efc380255319768031f26e63210fd4158e99.tar.bz2 rails-4146efc380255319768031f26e63210fd4158e99.zip |
Plugin guide: update generator guide to include tests
Diffstat (limited to 'railties/doc/guides/source/creating_plugins/acts_as_yaffle.txt')
-rw-r--r-- | railties/doc/guides/source/creating_plugins/acts_as_yaffle.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/railties/doc/guides/source/creating_plugins/acts_as_yaffle.txt b/railties/doc/guides/source/creating_plugins/acts_as_yaffle.txt index 41ffa61537..de116af7db 100644 --- a/railties/doc/guides/source/creating_plugins/acts_as_yaffle.txt +++ b/railties/doc/guides/source/creating_plugins/acts_as_yaffle.txt @@ -79,6 +79,8 @@ class Wickwall < ActiveRecord::Base end class ActsAsYaffleTest < Test::Unit::TestCase + load_schema + def test_a_hickwalls_yaffle_text_field_should_be_last_squawk assert_equal "last_squawk", Hickwall.yaffle_text_field end @@ -132,6 +134,8 @@ class Wickwall < ActiveRecord::Base end class ActsAsYaffleTest < Test::Unit::TestCase + load_schema + def test_a_hickwalls_yaffle_text_field_should_be_last_squawk assert_equal "last_squawk", Hickwall.yaffle_text_field end |