Sha256: 59424b9153c88675f440e4a3d54f3d804d0d50b4ecc765bd7e5cdc3eee52a446
Contents?: true
Size: 488 Bytes
Versions: 8
Compression:
Stored size: 488 Bytes
Contents
# encoding: UTF-8 require 'test_helper' module Elasticsearch module Test class APITest < ::Test::Unit::TestCase context "The API module" do should "access the settings" do assert_not_nil Elasticsearch::API.settings end should "allow to set settings" do assert_nothing_raised { Elasticsearch::API.settings[:foo] = 'bar' } assert_equal 'bar', Elasticsearch::API.settings[:foo] end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems