Sha256: 8b83c3ed138d6c6755bd8744f19b4eb41b0bbd02d8e613b90083f9f81a15d1f1

Contents?: true

Size: 340 Bytes

Versions: 3

Compression:

Stored size: 340 Bytes

Contents

require "webpacker_test"

class EnvTest < Minitest::Test
  def test_current_env
    assert_equal Rails.env, WebpackerLite::Env.current
  end

  def test_file_path
    correct_path = File.join(File.dirname(__FILE__), "test_app", "config", "webpacker_lite.yml").to_s
    assert_equal correct_path, WebpackerLite::Env.file_path.to_s
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
webpacker_lite-2.1.0 test/env_test.rb
webpacker_lite-2.0.4 test/env_test.rb
webpacker_lite-2.0.3 test/env_test.rb