Sha256: d3049db43fce0e5d31d4f9ad1b4cb00882c1bba7be8130512c2d8ea711f26573

Contents?: true

Size: 595 Bytes

Versions: 6

Compression:

Stored size: 595 Bytes

Contents

# -*- coding: utf-8 -*-
require 'spec_helper'

describe "abrasf_1_0/consultar_situacao_lote_rps.json" do
  let(:file) do 
    File.join($ROOT, 'lib', 'rnfse', 'api', 'abrasf_1_0', 
              'consultar_situacao_lote_rps.json')
  end

  describe "#/" do
    it 'deveria validar' do
      expect(JSON::Validator.fully_validate(file, <<-'JSON')).to be_empty
        {
          "prestador": {
            "cnpj": "44.141.526/0001-67",
            "inscricaoMunicipal": "12345678"
          },
          "protocolo": "db1c3e91-6aea-4450-a3fc-5b6a7fba7dc7"
        }
      JSON
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rnfse-0.6.2 spec/api/abrasf_1_0/consultar_situacao_lote_rps_json_spec.rb
rnfse-0.6.1 spec/api/abrasf_1_0/consultar_situacao_lote_rps_json_spec.rb
rnfse-0.6.0 spec/api/abrasf_1_0/consultar_situacao_lote_rps_json_spec.rb
rnfse-0.5.3 spec/api/abrasf_1_0/consultar_situacao_lote_rps_json_spec.rb
rnfse-0.5.1 spec/api/abrasf_1_0/consultar_situacao_lote_rps_json_spec.rb
rnfse-0.5.0 spec/api/abrasf_1_0/consultar_situacao_lote_rps_json_spec.rb