Sha256: a87828896dd99b93befa603f30b67e9ab65af9aa55f141be70971609ad637629

Contents?: true

Size: 269 Bytes

Versions: 2

Compression:

Stored size: 269 Bytes

Contents

require 'spec_helper'

describe EasyGravatar::Gravatar do

  before(:each) do
    @gravatar_user = EasyGravatar::Gravatar.new('foo@bar.com')
  end

  it 'can make a vallid md5 hash' do
    expect(@gravatar_user.md5).to eq('f3ada405ce890b6f8204094deb12d8a8')
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
easy_gravatar-1.0.1 spec/easy_gravatar/gravatar_spec.rb
easy_gravatar-1.0.0 spec/easy_gravatar/gravatar_spec.rb