Sha256: a579869e471d1d8ac0a57dd809dbd44910f3bb0f0c2560fb9261bcade2366a85

Contents?: true

Size: 378 Bytes

Versions: 11

Compression:

Stored size: 378 Bytes

Contents

require 'minitest/autorun'
require_relative '../lib/lazar.rb'
include OpenTox
class DefaultEnvironmentTest < MiniTest::Test
  def test_lazar_environment
    assert_equal "production", ENV["LAZAR_ENV"]
    assert_equal "production", ENV["MONGOID_ENV"]
    assert_equal "production", ENV["RACK_ENV"]
    assert_equal "production", Mongoid.clients["default"]["database"]
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

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