Sha256: 28754692208e10512b6cc209708bea7fc690684c77c122048759564513453b90

Contents?: true

Size: 631 Bytes

Versions: 3

Compression:

Stored size: 631 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'
    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

3 entries across 3 versions & 1 rubygems

Version Path
nfse_gyn-0.1.2 spec/spec_helper.rb
nfse_gyn-0.1.1 spec/spec_helper.rb
nfse_gyn-0.1.0 spec/spec_helper.rb