Sha256: 48e0c5726587de50463d68bb833b7142c3d7d918574c2cb983f212b6e440bb75

Contents?: true

Size: 497 Bytes

Versions: 1

Compression:

Stored size: 497 Bytes

Contents

require 'spec_helper'
require 'fortnox/api/validators/context'
require 'fortnox/api/validators/edi_information'
require 'fortnox/api/models/edi_information'

describe Fortnox::API::Validator::EDIInformation do
  let( :model_class ){ Fortnox::API::Model::EDIInformation }

  subject{ described_class.new }

  include_context 'validator context' do
    let( :valid_model ){ model_class.new }
  end

  describe '.validate EDIInformation' do
    it{ is_expected.to be_valid( valid_model ) }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fortnox-api-0.1.0 spec/fortnox/api/validators/edi_information_spec.rb