Sha256: 20a59826c82d5370e138877320c91f743e1a50ddd7f189fc4acc41293996abdb

Contents?: true

Size: 190 Bytes

Versions: 1

Compression:

Stored size: 190 Bytes

Contents

def reset_spree_preferences
  Spree::Preferences::Store.instance.persistence = false
  config = Rails.application.config.spree.preferences
  config.reset
  yield(config) if block_given?
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spree_minicart-1.1.3 spec/support/preferences.rb