diff options
author | Henare Degan <henare.degan@gmail.com> | 2013-02-07 07:49:17 +1100 |
---|---|---|
committer | Henare Degan <henare.degan@gmail.com> | 2013-02-07 07:49:17 +1100 |
commit | 95aed91006f4e39cbf854efaa879adfda07d3838 (patch) | |
tree | 04d714c963fa26046b972d6c47dd95910296de42 | |
parent | bfeadd9e2273ed8c09f841e1345fb826182d93a6 (diff) |
Update strip_attribute tests to work with our existing modifications
-rw-r--r-- | vendor/plugins/strip_attributes/test/strip_attributes_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/plugins/strip_attributes/test/strip_attributes_test.rb b/vendor/plugins/strip_attributes/test/strip_attributes_test.rb index 95754fca7..8158dc664 100644 --- a/vendor/plugins/strip_attributes/test/strip_attributes_test.rb +++ b/vendor/plugins/strip_attributes/test/strip_attributes_test.rb @@ -49,7 +49,7 @@ class StripAttributesTest < Test::Unit::TestCase assert_equal "foo", record.foo assert_equal "bar", record.bar assert_equal "biz", record.biz - assert_nil record.baz + assert_equal "", record.baz end def test_should_strip_only_one_field @@ -76,7 +76,7 @@ class StripAttributesTest < Test::Unit::TestCase assert_equal "\tfoo", record.foo assert_equal "bar", record.bar assert_equal "biz", record.biz - assert_nil record.baz + assert_equal "", record.baz end def test_should_strip_all_except_three_fields @@ -85,6 +85,6 @@ class StripAttributesTest < Test::Unit::TestCase assert_equal "\tfoo", record.foo assert_equal "bar \t ", record.bar assert_equal "\tbiz ", record.biz - assert_nil record.baz + assert_equal "", record.baz end end |