Sha256: 16fff1b1fcb13d9d70b09d30276c1172f78134e3199a3aa00d4a4608c97c295c
Contents?: true
Size: 409 Bytes
Versions: 6
Compression:
Stored size: 409 Bytes
Contents
require "webpacker_test" class EnvTest < Minitest::Test def test_current_env assert_equal Webpacker::Env.current, "production" assert_equal Webpacker.env, "production" assert Webpacker.env.production? end def test_file_path correct_path = File.join(File.dirname(__FILE__), "test_app/config", "webpacker.yml").to_s assert_equal Webpacker::Env.file_path.to_s, correct_path end end
Version data entries
6 entries across 6 versions & 3 rubygems