Sha256: 3f9fed5a700058595b8088001f64ae339ed23d07df16bf44be9eb98651ca1a9e

Contents?: true

Size: 652 Bytes

Versions: 2

Compression:

Stored size: 652 Bytes

Contents

require "spec_helper"

describe Emites::Entities::Service do
  let(:attributes) do
    {

    }
  end

  subject { described_class.new(attributes) }

  it_behaves_like "entity_attributes", [
    :id, :emitter_id, :name, :service_amount, :calculation_base,
    :deduction_percentage, :retained_iss, :iss_percentage,
    :pis_percentage, :cofins_percentage, :inss_percentage,
    :ir_percentage, :csll_percentage, :discount_conditioning_percentage,
    :service_item_code, :city_tax_code, :cnae_code,
    :description, :city_code, :nfse_liquid_amount,
    :other_retentions_percentage, :retained_iss_percentage, :unconditioned_discount_percentage
  ]
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
emites-client-0.0.4 spec/emites/entities/services_spec.rb
emites-client-0.0.3 spec/emites/entities/services_spec.rb