Sha256: 8703aabde775bd5bbb10ef7ee257d6bedddafcf8da33df77c35426d22ccf08ef

Contents?: true

Size: 275 Bytes

Versions: 8

Compression:

Stored size: 275 Bytes

Contents

require "spec_helper"

describe Emites::Entities::Rps do
  let(:attributes) do
    {
      number:   1,
      serie:    "a",
      rps_type: 1,
    }
  end

  subject { described_class.new(attributes) }

  it_behaves_like "entity_attributes", [:number, :serie, :rps_type]
end

Version data entries

8 entries across 8 versions & 1 rubygems

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