solidus_support 0.1.3 → 0.1.4
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3aec87c48c0cc4995216cc464e671089c35d7af3
|
4
|
+
data.tar.gz: ae2ffab8f47c2f1315855200248cb816de1ae626
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02af523ed1f5b88e320695423a797561f1c130587344ab18c6cb31ff3736f126a21cc13ac5ee8195e133791029cb766232a9ef365f27f379f23c82f634afed7c
|
7
|
+
data.tar.gz: 38011eaf1d09cce1d807b4fd3dcc606d67f79a961c47a0119f36c950b17ba63a3ec4b87a77dcff56d83341e73823937f6005debd9ea83b8a04d6819c6832b8e7
|
@@ -23,7 +23,14 @@ RSpec.configure do |config|
|
|
23
23
|
config.when_first_matching_example_defined(type: :feature) do
|
24
24
|
config.before :suite do
|
25
25
|
# Preload assets
|
26
|
-
Rails.application.precompiled_assets
|
26
|
+
if Rails.application.respond_to?(:precompiled_assets)
|
27
|
+
Rails.application.precompiled_assets
|
28
|
+
else
|
29
|
+
# For older sprockets 2.x
|
30
|
+
Rails.application.config.assets.precompile.each do |asset|
|
31
|
+
Rails.application.assets.find_asset(asset)
|
32
|
+
end
|
33
|
+
end
|
27
34
|
end
|
28
35
|
end
|
29
36
|
end
|