Sha256: 00b4267146ef83f7536dadc4fd1a2f0308e5b806cd8a0929f67f180576b8ea90

Contents?: true

Size: 687 Bytes

Versions: 1

Compression:

Stored size: 687 Bytes

Contents

require 'rubygems'
require 'test/unit'
require 'shoulda'
require 'rr'

require 'active_support'
begin; require 'activerecord'; rescue LoadError; end
begin; require 'dm-core'; rescue LoadError; end
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.subdomains = Gravatarify::GRAVATAR_SUBDOMAINS
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

1 entries across 1 versions & 1 rubygems

Version Path
gravatarify-1.2.0 test/test_helper.rb