Sha256: a1227154206f6d0f938b07d98dc6623cdb9491a34c51a0a3fbc40a89d3b3c2af
Contents?: true
Size: 543 Bytes
Versions: 21
Compression:
Stored size: 543 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' RSpec.describe Spree::BackendConfiguration do describe '#menu_items' do subject do described_class.new.menu_items end describe 'menu tab for stock items' do let(:stock_menu_item) do subject.detect { |item| item.label == :stock } end # Regression for https://github.com/solidusio/solidus/issues/2950 it 'has match_path set to /stock_items' do expect(stock_menu_item.match_path).to eq('/stock_items') end end end end
Version data entries
21 entries across 21 versions & 1 rubygems