test/configuration_test.rb in webpacker-6.0.0.beta.7 vs test/configuration_test.rb in webpacker-6.0.0.pre.1
- old
+ new
@@ -8,15 +8,15 @@
env: "production"
)
end
def test_source_path
- source_path = File.expand_path File.join(File.dirname(__FILE__), "test_app/app/packs").to_s
+ source_path = File.expand_path File.join(File.dirname(__FILE__), "test_app/app/javascript").to_s
assert_equal source_path, @config.source_path.to_s
end
def test_source_entry_path
- source_entry_path = File.expand_path File.join(File.dirname(__FILE__), "test_app/app/packs", "entrypoints").to_s
+ source_entry_path = File.expand_path File.join(File.dirname(__FILE__), "test_app/app/javascript", "packs").to_s
assert_equal @config.source_entry_path.to_s, source_entry_path
end
def test_public_root_path
public_root_path = File.expand_path File.join(File.dirname(__FILE__), "test_app/public").to_s