Sha256: 9e8ad2108472f7e4627758553eb67c2e76d80b63bc75013eda78e9ef91010668
Contents?: true
Size: 453 Bytes
Versions: 92
Compression:
Stored size: 453 Bytes
Contents
require "test_helper" class EnvTest < Webpacker::Test def test_current assert_equal Webpacker.env, Rails.env end def test_custom_without_config with_rails_env("foo") do assert_equal Webpacker.env, "production" end end def test_custom_with_config with_rails_env("staging") do assert_equal Webpacker.env, "staging" end end def test_default assert_equal Webpacker::Env::DEFAULT, "production" end end
Version data entries
92 entries across 92 versions & 5 rubygems