File tree 3 files changed +7
-6
lines changed
core/lib/spree/testing_support
3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 12
12
end
13
13
# rubocop:enable Bundler/DuplicatedGem
14
14
15
- # Temporarily locking sprockets to v3.x
16
- # see https://github.com/solidusio/solidus/issues/3374
17
- # and https://github.com/rails/sprockets-rails/issues/369
18
- gem 'sprockets' , '~> 3'
19
-
20
15
gem 'pry'
21
16
gem 'launchy' , require : false
22
17
Original file line number Diff line number Diff line change @@ -34,8 +34,11 @@ module ApplicationHelper
34
34
module DummyApp
35
35
def self . setup ( gem_root :, lib_name :, auto_migrate : true )
36
36
ENV [ "LIB_NAME" ] = lib_name
37
- DummyApp ::Application . config . root = File . join ( gem_root , 'spec' , 'dummy' )
37
+ root = Pathname ( gem_root ) . join ( 'spec/dummy' )
38
+ root . join ( "app/assets/config" ) . mkpath
39
+ root . join ( "app/assets/config/manifest.js" ) . write ( "// Intentionally empty\n " )
38
40
41
+ DummyApp ::Application . config . root = root
39
42
DummyApp ::Application . initialize! unless DummyApp ::Application . initialized?
40
43
41
44
if auto_migrate
Original file line number Diff line number Diff line change
1
+ // This manifest is left empty because we are already
2
+ // injecting Solidus manifests to be compiled in the
3
+ // precompile array manually.
You can’t perform that action at this time.
0 commit comments