Sha256: f7afc148b36823dea2b45c6cd59b5a18dd52c34394d542c7ed91ef1149220ebc

Contents?: true

Size: 473 Bytes

Versions: 1

Compression:

Stored size: 473 Bytes

Contents

require 'spec_helper'

describe Thumbnail do
  # before do
  #   client
  # end

  context 'initialize' do
    it 'initializes params correctly' do
      isd = Thumbnail.new({"height" => 299,
                           "url" => "https://image.shutterstock.com/xxx.jpg",
                           "width" => 450})

      expect(isd.height).to eq 299
      expect(isd.url).to eq "https://image.shutterstock.com/xxx.jpg"
      expect(isd.width).to eq 450
    end

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shutterstock-v2-0.0.1 spec/client/thumbnail_spec.rb