Sha256: 83a582b0a9750de2f1f65e7d910dc6e5859f76ce61978741c365be422bb4cd2e

Contents?: true

Size: 673 Bytes

Versions: 3

Compression:

Stored size: 673 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,
    :liquid_amount, :other_retentions_percentage, :retained_iss_percentage,
    :unconditioned_discount_percentage
  ]
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
emites-client-0.1.2 spec/emites/entities/services_spec.rb
emites-client-0.1.1 spec/emites/entities/services_spec.rb
emites-client-0.1.0 spec/emites/entities/services_spec.rb