Sha256: 88f3665f0e2713a16003dba0d8d900dd756d7ea4081d61c6dc8e3635b8dac870

Contents?: true

Size: 517 Bytes

Versions: 5

Compression:

Stored size: 517 Bytes

Contents

require 'spec_helper'

describe Spree::BilletConfiguration do

  let(:config) { Spree::BilletConfiguration.new }

  [:bank, :corporate_name, :document, :address, :agency, :account, :agreement, :wallet,
   :variation_wallet, :due_date, :acceptance, :instruction_1, :instruction_2, :instruction_3,
   :instruction_4, :instruction_5, :instruction_6, :doc_customer_attr].each do |preference|
    it "should has the #{preference} preference" do
      expect(config.has_preference?(preference)).to be true
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spree_zaez_billet-3.0.4.1 spec/lib/spree/billet_configuration_spec.rb
spree_zaez_billet-3.0.4 spec/lib/spree/billet_configuration_spec.rb
spree_zaez_billet-3.0.3 spec/lib/spree/billet_configuration_spec.rb
spree_zaez_billet-3.0.2 spec/lib/spree/billet_configuration_spec.rb
spree_zaez_billet-3.0.1 spec/lib/spree/billet_configuration_spec.rb