blob: 7c2a2f58a442777e6bbe9d9d437fc8fcca18e3cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
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
|