Class: DefaultEnvironmentTest

Inherits:
MiniTest::Test
  • Object
show all
Defined in:
lib/spiker/generators/templates/multi/test_helper.rb

Overview

ensure the environment is available

Instance Method Summary collapse

Instance Method Details

#test_default_environmentObject



15
16
17
# File 'lib/spiker/generators/templates/multi/test_helper.rb', line 15

def test_default_environment
  assert_equal "test", ENV.fetch("TEST_VALUE", nil)
end