Sha256: 0280d14ca4b5eeaee0ee93a3fafab47fc1ef41946efa4ed18da7861d2b7f6627
Contents?: true
Size: 565 Bytes
Versions: 2
Compression:
Stored size: 565 Bytes
Contents
# frozen_string_literal: true require 'simplecov' SimpleCov.start do add_filter '/test/' end $LOAD_PATH.unshift File.expand_path('../lib', __dir__) require 'polish_invoicer' require 'minitest/autorun' def create_valid_invoice invoice = PolishInvoicer::Invoice.new( number: '1/2014', create_date: Date.today, trade_date: Date.today, seller: ['Seller'], buyer: ['Buyer'], seller_nip: '123-123-22-33', buyer_nip: '554-333-22-11', item_name: 'Title', price: 123.45, payment_date: Date.today ) assert_predicate invoice, :valid? invoice end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
polish_invoicer-0.0.29 | test/test_helper.rb |
polish_invoicer-0.0.28 | test/test_helper.rb |