aboutsummaryrefslogtreecommitdiffstats
path: root/railties/doc/guides/source/creating_plugins/acts_as_yaffle.txt
diff options
context:
space:
mode:
authorJeff Dean <jeff@zilkey.com>2008-11-13 23:29:46 -0500
committerJeff Dean <jeff@zilkey.com>2008-11-13 23:29:46 -0500
commit4146efc380255319768031f26e63210fd4158e99 (patch)
tree019caeba5967dbfb02b65cd67e180028134e5462 /railties/doc/guides/source/creating_plugins/acts_as_yaffle.txt
parent41d0dbcb8661a866ddf4b3534b8b1efd724ecba1 (diff)
downloadrails-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.txt4
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