Sha256: ad917ad2cb88859c081652fa042c5f5c27694452a6967f4a68f1bd8c42b7ad92

Contents?: true

Size: 354 Bytes

Versions: 13

Compression:

Stored size: 354 Bytes

Contents

require 'test_helper'

context 'with the base class' do
  test 'get the environment' do
    assert 'test', AllSeeingEye.environment
  end
  
  test 'load the configuration' do
    assert AllSeeingEye.configuration[:all_seeing_eye]['model']
  end
  
  test 'connect to Redis' do
    assert_equal '1', AllSeeingEye.redis.info["connected_clients"]
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
all_seeing_eye-0.0.19 test/base_test.rb
all_seeing_eye-0.0.18 test/base_test.rb
all_seeing_eye-0.0.17 test/base_test.rb
all_seeing_eye-0.0.16 test/base_test.rb
all_seeing_eye-0.0.15 test/base_test.rb
all_seeing_eye-0.0.14 test/base_test.rb
all_seeing_eye-0.0.13 test/base_test.rb
all_seeing_eye-0.0.12 test/base_test.rb
all_seeing_eye-0.0.11 test/base_test.rb
all_seeing_eye-0.0.10 test/base_test.rb
all_seeing_eye-0.0.9 test/base_test.rb
all_seeing_eye-0.0.8 test/base_test.rb
all_seeing_eye-0.0.7 test/base_test.rb