Sha256: fefeaf6b84003e497cf9a8ce3b5a51d92030e496c2142e71bd2b32e12c169013
Contents?: true
Size: 379 Bytes
Versions: 5
Compression:
Stored size: 379 Bytes
Contents
require File.dirname(__FILE__) + '/test_helper.rb' require 'avatar/source/nil_source' class TestNilSource < Test::Unit::TestCase def setup @source = Avatar::Source::NilSource.new end def test_nil_when_person_is_nil assert_nil @source.avatar_url_for(nil) end def test_nil_when_person_is_not_nil assert_nil @source.avatar_url_for(49329) end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
avatar-0.0.2 | test/test_nil_source.rb |
avatar-0.0.4 | test/test_nil_source.rb |
avatar-0.0.1 | test/test_nil_source.rb |
avatar-0.0.3 | test/test_nil_source.rb |
avatar-0.0.5 | test/test_nil_source.rb |