Permalink
Browse files

Added blank string test.

  • Loading branch information...
1 parent 8465e82 commit bbca3b9ba5191ac1717f2939a8179b2f82c16d53 @jnunemaker committed Sep 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/object_test.rb
View
@@ -2,7 +2,7 @@
class CrackTest < Test::Unit::TestCase
context "blank?" do
- [nil, false, [], {}].each do |object|
+ [nil, false, [], {}, ''].each do |object|
should "be true for #{object.inspect}" do
object.should be_blank
end

0 comments on commit bbca3b9

Please sign in to comment.