Sha256: ae5f143ec3e7089105fa703f7c3a155374ddf887eb283a53e7b5cd641549a419

Contents?: true

Size: 246 Bytes

Versions: 8

Compression:

Stored size: 246 Bytes

Contents

require "spec_helper"

describe Emites::Entities::Account do
  let(:attributes) do
    {
      id:   1,
      name: "Pull4up-NFSE"
    }
  end

  subject { described_class.new(attributes) }

  it_behaves_like "entity_attributes", [:id, :name]
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
emites-client-0.1.4 spec/emites/entities/account_spec.rb
emites-client-0.1.3 spec/emites/entities/account_spec.rb
emites-client-0.1.2 spec/emites/entities/account_spec.rb
emites-client-0.1.1 spec/emites/entities/account_spec.rb
emites-client-0.1.0 spec/emites/entities/account_spec.rb
emites-client-0.0.4 spec/emites/entities/account_spec.rb
emites-client-0.0.3 spec/emites/entities/account_spec.rb
emites-client-0.0.2 spec/emites/entities/account_spec.rb