solidus_support 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3aec87c48c0cc4995216cc464e671089c35d7af3
4
- data.tar.gz: ae2ffab8f47c2f1315855200248cb816de1ae626
3
+ metadata.gz: f8c7a506e957187a1c212f3836063b0322d23467
4
+ data.tar.gz: ca248573f36344d1006d0a57b5f2a728588189b2
5
5
  SHA512:
6
- metadata.gz: 02af523ed1f5b88e320695423a797561f1c130587344ab18c6cb31ff3736f126a21cc13ac5ee8195e133791029cb766232a9ef365f27f379f23c82f634afed7c
7
- data.tar.gz: 38011eaf1d09cce1d807b4fd3dcc606d67f79a961c47a0119f36c950b17ba63a3ec4b87a77dcff56d83341e73823937f6005debd9ea83b8a04d6819c6832b8e7
6
+ metadata.gz: 1ce90947e3b8bdf25b459e1b2af8324631c59f6aa7bedfea2786ce38ada9b04ffd5c7f90f505125c5d95956c931f779c6e49220aa1aeb1cd3dc406a1b5499708
7
+ data.tar.gz: 543540d8f433896f8d5931193c988f48303751d23f1b5d8641728bd86425a048018f008674d8f302de865bacbe5d6ae7698f2926d850b6a568546c6a54d91169
@@ -14,6 +14,7 @@ require 'ffaker'
14
14
  require 'spree/testing_support/authorization_helpers'
15
15
  require 'spree/testing_support/factories'
16
16
  require 'spree/testing_support/url_helpers'
17
+ require 'spree/testing_support/preferences'
17
18
 
18
19
  RSpec.configure do |config|
19
20
  config.include FactoryGirl::Syntax::Methods
@@ -22,6 +23,8 @@ RSpec.configure do |config|
22
23
  # current_path.should eql(spree.products_path)
23
24
  config.include Spree::TestingSupport::UrlHelpers
24
25
 
26
+ config.include Spree::TestingSupport::Preferences
27
+
25
28
  # Ensure Suite is set to use transactions for speed.
26
29
  config.before :suite do
27
30
  DatabaseCleaner.clean_with :truncation
@@ -31,6 +34,8 @@ RSpec.configure do |config|
31
34
  config.before :each do
32
35
  DatabaseCleaner.strategy = RSpec.current_example.metadata[:js] ? :truncation : :transaction
33
36
  DatabaseCleaner.start
37
+
38
+ reset_spree_preferences
34
39
  end
35
40
 
36
41
  # After each spec clean the database.
@@ -1,3 +1,3 @@
1
1
  module SolidusSupport
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_support
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Hawthorn
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-07-26 00:00:00.000000000 Z
11
+ date: 2017-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler