aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorKevin Musiorski <musiorski@gmail.com>2012-08-30 16:35:17 -0500
committerKevin Musiorski <musiorski@gmail.com>2012-08-30 16:35:17 -0500
commit94301b9e0f55c777da011d063dfee5372551e08e (patch)
tree063edf92a2d1d2cff9b0198aaa7655b6f029fc6e /guides
parentfc80ebb13328eb5f233f65408ba281bf0f8ce68e (diff)
downloadrails-94301b9e0f55c777da011d063dfee5372551e08e.tar.gz
rails-94301b9e0f55c777da011d063dfee5372551e08e.tar.bz2
rails-94301b9e0f55c777da011d063dfee5372551e08e.zip
in section 4.1 acts_as_yaffle_test was incorrectly failing due to assertion incorrectly using symbol instead of string
Diffstat (limited to 'guides')
-rw-r--r--guides/source/plugins.textile4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/plugins.textile b/guides/source/plugins.textile
index fbd317f0c2..50ea6b166a 100644
--- a/guides/source/plugins.textile
+++ b/guides/source/plugins.textile
@@ -174,11 +174,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