Sha256: 7cb74e33dab8100464ae9751f835c08ef8684e56a4691f7c3224ca91fb351d64

Contents?: true

Size: 316 Bytes

Versions: 1

Compression:

Stored size: 316 Bytes

Contents

require 'spec_helper'

describe Category do
  # before do
  #   client
  # end

  context 'initialize' do
    it 'initializes with ID and Name from params' do
      category = Category.new("id" => 1234, "name" => "dog")
      expect(category.id).to be 1234
      expect(category.name).to eq "dog"
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

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