Sha256: a86837fcb1cd19189d3ee1aff22d6139e34e11206dfee65fe8a0eeea50b5bcf3

Contents?: true

Size: 1.05 KB

Versions: 1

Compression:

Stored size: 1.05 KB

Contents

require "spec_helper"

describe Emites::Entities::Service do
  subject { described_class.new({}) }

  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,
                    :liquid_amount, :other_retentions_percentage, :retained_iss_percentage,
                    :unconditioned_discount_percentage, :pis_rate, :pis_value,
                    :ir_rate, :ir_value, :inss_rate, :inss_value,
                    :retained_iss_rate, :retained_iss_value,
                    :other_retentions_rate, :other_retentions_value,
                    :cofins_rate, :cofins_value, :csll_rate, :csll_value
                  ]
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
emites-client-0.1.4 spec/emites/entities/service_spec.rb