File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 39
39
config . include FactoryGirl ::Syntax ::Methods
40
40
41
41
# Next line will ensure that assets are built if webpack -w is not running
42
- ReactOnRails ::TestHelper . configure_rspec_to_compile_assets ( config , :feature_spec )
42
+ ReactOnRails ::TestHelper . configure_rspec_to_compile_assets ( config , :requires_webpack_assets )
43
43
44
44
# Because we're using some CSS Webpack files, we need to ensure the webpack files are generated
45
45
# for all feature specs. https://github.com/shakacode/react_on_rails/issues/792
46
- config . define_derived_metadata ( file_path : %r{spec/features} ) do |metadata |
47
- metadata [ :feature_spec ] = true
46
+ config . define_derived_metadata ( file_path : %r{spec/( features|requests) } ) do |metadata |
47
+ metadata [ :requires_webpack_assets ] = true
48
48
end
49
49
50
50
# For Poltergeist
You can’t perform that action at this time.
0 commit comments