Permalink
Browse files

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.
  • Loading branch information...
1 parent 9dba310 commit 2dd486ceb568b6bd18825f947e6e936203eaabd8 @mulvaney mulvaney committed Mar 16, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 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

0 comments on commit 2dd486c

Please sign in to comment.