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 +4 -4
- data/lib/solidus_support/extension/rails_helper.rb +5 -0
- data/lib/solidus_support/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8c7a506e957187a1c212f3836063b0322d23467
|
4
|
+
data.tar.gz: ca248573f36344d1006d0a57b5f2a728588189b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
|
+
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-
|
11
|
+
date: 2017-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|