提交 94301b9e 编写于 作者: K Kevin Musiorski

in section 4.1 acts_as_yaffle_test was incorrectly failing due to assertion...

in section 4.1 acts_as_yaffle_test was incorrectly failing due to assertion incorrectly using symbol instead of string
上级 fc80ebb1
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册