aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenare Degan <henare.degan@gmail.com>2013-02-07 07:49:17 +1100
committerHenare Degan <henare.degan@gmail.com>2013-02-07 07:49:17 +1100
commit95aed91006f4e39cbf854efaa879adfda07d3838 (patch)
tree04d714c963fa26046b972d6c47dd95910296de42
parentbfeadd9e2273ed8c09f841e1345fb826182d93a6 (diff)
Update strip_attribute tests to work with our existing modifications
-rw-r--r--vendor/plugins/strip_attributes/test/strip_attributes_test.rb6
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