Sha256: f2bdad15f297f2e2c10d66c9355dd4638c8b126fdb6ad10fd0cf9271ca17e268

Contents?: true

Size: 686 Bytes

Versions: 2

Compression:

Stored size: 686 Bytes

Contents

# frozen_string_literal: true

require 'nfse_gyn'
require 'pry'

def fixture_file_path(filename)
  File.join(File.dirname(__FILE__), 'fixtures', filename)
end

Dir[File.join(File.dirname(__FILE__), '/support/**/*.rb')].each { |f| require f }

RSpec.configure do |config|
  config.before do
    NfseGyn.configure do |nfse|
      nfse.test_mode = true
      nfse.cnpj = '46034125000133'
      nfse.inscricao_municipal = '5671485'
      nfse.codigo_tributacao_municipio = '791120000'
    end
  end

  # config.disable_monkey_patching!

  config.profile_examples = 5

  config.order = :random

  Kernel.srand config.seed

  config.expect_with :rspec do |c|
    c.syntax = :expect
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nfse_gyn-0.3.0 spec/spec_helper.rb
nfse_gyn-0.2.0 spec/spec_helper.rb