test/test_name_br.rb in ffaker-2.5.0 vs test/test_name_br.rb in ffaker-2.6.0
- old
+ new
@@ -20,10 +20,10 @@
end
def test_name_with_prefix
prefix, name, last_name = @tester.name_with_prefix.split(/\s+/)
assert_include(@tester::PREFIXES, prefix)
- assert(name.length > 0)
+ assert(!name.empty?)
refute_empty(last_name)
end
def test_female_name_with_prefix
prefix, name, last_name = @tester.female_name_with_prefix.split(/\s+/)