From 2dd486ceb568b6bd18825f947e6e936203eaabd8 Mon Sep 17 00:00:00 2001 From: Mike Mulvaney Date: Fri, 16 Mar 2012 15:50:53 -0400 Subject: 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. --- railties/guides/source/plugins.textile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'railties/guides/source/plugins.textile') 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 -- cgit v1.2.3