Sha256: ade7fa8b9b154b76cfc69dbe5329ea7e708a7df06cfdae54c055da3163178dcb

Contents?: true

Size: 336 Bytes

Versions: 21

Compression:

Stored size: 336 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

RSpec.describe Spree::BackendConfiguration::MenuItem do
  describe '#match_path' do
    subject do
      described_class.new([], nil, {
        match_path: '/stock_items'
      }).match_path
    end

    it 'can be read' do
      is_expected.to eq('/stock_items')
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
solidus_backend-2.10.5 spec/lib/spree/backend_configuration/menu_item_spec.rb
solidus_backend-2.10.3 spec/lib/spree/backend_configuration/menu_item_spec.rb
solidus_backend-2.10.2 spec/lib/spree/backend_configuration/menu_item_spec.rb
solidus_backend-2.9.6 spec/models/spree/backend_configuration/menu_item_spec.rb
solidus_backend-2.8.6 spec/models/spree/backend_configuration/menu_item_spec.rb
solidus_backend-2.10.1 spec/lib/spree/backend_configuration/menu_item_spec.rb
solidus_backend-2.9.5 spec/models/spree/backend_configuration/menu_item_spec.rb
solidus_backend-2.10.0 spec/lib/spree/backend_configuration/menu_item_spec.rb
solidus_backend-2.9.4 spec/models/spree/backend_configuration/menu_item_spec.rb
solidus_backend-2.8.5 spec/models/spree/backend_configuration/menu_item_spec.rb
solidus_backend-2.9.3 spec/models/spree/backend_configuration/menu_item_spec.rb
solidus_backend-2.9.2 spec/models/spree/backend_configuration/menu_item_spec.rb
solidus_backend-2.10.0.beta1 spec/lib/spree/backend_configuration/menu_item_spec.rb
solidus_backend-2.9.1 spec/models/spree/backend_configuration/menu_item_spec.rb
solidus_backend-2.9.0 spec/models/spree/backend_configuration/menu_item_spec.rb
solidus_backend-2.9.0.rc.1 spec/models/spree/backend_configuration/menu_item_spec.rb
solidus_backend-2.8.4 spec/models/spree/backend_configuration/menu_item_spec.rb
solidus_backend-2.8.3 spec/models/spree/backend_configuration/menu_item_spec.rb
solidus_backend-2.8.2 spec/models/spree/backend_configuration/menu_item_spec.rb
solidus_backend-2.8.1 spec/models/spree/backend_configuration/menu_item_spec.rb