Sha256: 27098ef60f36087ca446d95028710e1f8ac01e33a24b86f4cd95d949279575d2
Contents?: true
Size: 417 Bytes
Versions: 47
Compression:
Stored size: 417 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' module Spree describe Spree::PromotionRulesHelper, type: :helper do it "does not include existing rules in options" do promotion = Spree::Promotion.new promotion.promotion_rules << Spree::Promotion::Rules::ItemTotal.new options = helper.options_for_promotion_rule_types(promotion) expect(options).not_to match(/ItemTotal/) end end end
Version data entries
47 entries across 47 versions & 2 rubygems