diff options
author | Mike Mulvaney <mike.mulvaney@gmail.com> | 2012-03-16 15:50:53 -0400 |
---|---|---|
committer | Mike Mulvaney <mike.mulvaney@gmail.com> | 2012-03-16 15:50:53 -0400 |
commit | 2dd486ceb568b6bd18825f947e6e936203eaabd8 (patch) | |
tree | e20bda56aa22d9a433e27e4736b001d478d95abc /railties/guides/source/plugins.textile | |
parent | 9dba310b1e03fc292071b39bc0cb60618c765324 (diff) | |
download | rails-2dd486ceb568b6bd18825f947e6e936203eaabd8.tar.gz rails-2dd486ceb568b6bd18825f947e6e936203eaabd8.tar.bz2 rails-2dd486ceb568b6bd18825f947e6e936203eaabd8.zip |
Changed unit tests so they refer to yaffle_test_field as symbol.
acts_as_yaffle expects a symbol, so the string was causing the tests
to always fail.
Diffstat (limited to 'railties/guides/source/plugins.textile')
-rw-r--r-- | railties/guides/source/plugins.textile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/guides/source/plugins.textile b/railties/guides/source/plugins.textile index 07fd95c825..5d2f0917b7 100644 --- a/railties/guides/source/plugins.textile +++ b/railties/guides/source/plugins.textile @@ -176,11 +176,11 @@ require 'test_helper' class ActsAsYaffleTest < Test::Unit::TestCase def test_a_hickwalls_yaffle_text_field_should_be_last_squawk - assert_equal "last_squawk", Hickwall.yaffle_text_field + assert_equal :last_squawk, Hickwall.yaffle_text_field end def test_a_wickwalls_yaffle_text_field_should_be_last_tweet - assert_equal "last_tweet", Wickwall.yaffle_text_field + assert_equal :last_tweet, Wickwall.yaffle_text_field end end |