Sha256: 7a22612ea310910721b72218751e74149a972fab0c2404a785a714beca57917b

Contents?: true

Size: 333 Bytes

Versions: 4

Compression:

Stored size: 333 Bytes

Contents

require 'spec_helper'

describe Mingle::Instagram::Photo do
  describe "#author" do
    it 'should be the user handle' do
      expect(subject.author).to eq subject.user_handle
    end
  end

  describe "#avatar" do
    it 'should be the user image url' do
      expect(subject.avatar).to eq subject.user_image_url
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mingle-0.4.0 spec/models/mingle/instagram/photo_spec.rb
mingle-0.3.1 spec/models/mingle/instagram/photo_spec.rb
mingle-0.3.0 spec/models/mingle/instagram/photo_spec.rb
mingle-0.2.0 spec/models/mingle/instagram/photo_spec.rb