Sha256: a56ca1ecceb5630a8e162f7c57e6de7b73b054ba9b3f66769d175c14c1cad2fb

Contents?: true

Size: 449 Bytes

Versions: 3

Compression:

Stored size: 449 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
require 'mememe'
require 'mememe/memes/joe_meme'

describe JoeMeme do

  let(:meme) { JoeMeme.new }

  it "says 'Then I Spoke To Joe' at the bottom" do
    expect(meme.bottom_phrase).to eq "then i spoke to joe"
  end

  it "uses the joe.jpg image" do
    expect(meme.image).to eq(MemeMe.images[:joe])
  end

  it "has a name of 'joe'" do
    expect(meme.name).to eq('joe')
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mememe-0.1.2 spec/joe_meme_spec.rb
mememe-0.1.1 spec/joe_meme_spec.rb
mememe-0.1.0 spec/joe_meme_spec.rb