Skip to content

Commit f49aa8c

Browse files
Remove unnecessary webpacker mocking in configuration spec
1 parent 1a7c76a commit f49aa8c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

spec/react_on_rails/configuration_spec.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ module ReactOnRails
1313

1414
before do
1515
allow(ReactOnRails::PackerUtils).to receive(:using_packer?).and_return(using_packer)
16-
allow(ReactOnRails::Utils).to receive(:gem_available?).and_call_original
17-
allow(ReactOnRails::Utils).to receive(:gem_available?).with("webpacker").and_return(false)
1816
ReactOnRails.instance_variable_set(:@configuration, nil)
1917
end
2018

0 commit comments

Comments
 (0)