Sha256: 4aa282eace2ac7c83dcf03184c0ff1ee38bbe7c8f6f67421ff6912af88fb9c0d

Contents?: true

Size: 326 Bytes

Versions: 11

Compression:

Stored size: 326 Bytes

Contents

require_relative "setup.rb"

class EnvironmentTest < MiniTest::Test
  def test_lazar_environment
    assert_equal "development", ENV["LAZAR_ENV"]
    assert_equal "development", ENV["MONGOID_ENV"]
    assert_equal "development", ENV["RACK_ENV"]
    assert_equal "development", Mongoid.clients["default"]["database"]
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
lazar-1.2.1 test/test_environment.rb
lazar-1.2.0 test/test_environment.rb
lazar-1.1.3 test/test_environment.rb
lazar-1.1.0 test/test_environment.rb
lazar-1.0.1 test/test_environment.rb
lazar-1.0.0 test/test_environment.rb
lazar-0.9.3 test/test_environment.rb
lazar-0.9.2 test/test_environment.rb
lazar-0.9.1 test/test_environment.rb
lazar-0.9.0 test/test_environment.rb
lazar-0.0.9 test/test_environment.rb