Sha256: f335b6c6696557b133dc2db2e2e71ac008c1d6522aca062b8b96db48367aff1e

Contents?: true

Size: 589 Bytes

Versions: 6

Compression:

Stored size: 589 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://www.gravatar.com/avatar/1cacf1bc403efca2e7a58bcfa9574e4d"
BELLA_AT_GMAIL_JPG = "#{BELLA_AT_GMAIL}.jpg"
NIL_JPG = "http://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e.jpg"

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gravatarify-3.1.1 test/test_helper.rb
gravatarify-3.1.0 test/test_helper.rb
gravatarify-3.0.0 test/test_helper.rb
gravatarify-2.2.2 test/test_helper.rb
gravatarify-2.2.1 test/test_helper.rb
gravatarify-2.1.0 test/test_helper.rb