Sha256: a9350525989f43c6982864547aa80a1a9bda70449c8f1319ac1b329291591447
Contents?: true
Size: 586 Bytes
Versions: 2
Compression:
Stored size: 586 Bytes
Contents
require 'rubygems' require 'test/unit' require 'shoulda' require 'rr' require 'gravatarify' Test::Unit::TestCase.send :include, RR::Adapters::TestUnit # Reset +Gravatarify+ to default hosts and cleared options def reset_gravatarify! Gravatarify.options.clear Gravatarify.options[:filetype] = :jpg Gravatarify.subdomains = %w{ 0 1 2 www } end # some often used values... BELLA_AT_GMAIL = "http://0.gravatar.com/avatar/1cacf1bc403efca2e7a58bcfa9574e4d" BELLA_AT_GMAIL_JPG = "#{BELLA_AT_GMAIL}.jpg" NIL_JPG = "http://1.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e.jpg"
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gravatarify-2.0.4 | test/test_helper.rb |
gravatarify-2.0.3 | test/test_helper.rb |