Sha256: 822330a1a73110c66e6bffe31a86a78a790177a3545d56ec2a2d57c9ba78133c

Contents?: true

Size: 349 Bytes

Versions: 1

Compression:

Stored size: 349 Bytes

Contents

require "webpacker_test"

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
webpacker_helpers-3.0.0.beta.1 test/env_test.rb