Class: ElasticRecord::Index::MappingTypeTest
- Inherits:
-
MiniTest::Test
- Object
- MiniTest::Test
- ElasticRecord::Index::MappingTypeTest
- Defined in:
- lib/elastic_record/index/mapping_type_test.rb
Instance Method Summary collapse
Instance Method Details
#test_default ⇒ Object
4 5 6 |
# File 'lib/elastic_record/index/mapping_type_test.rb', line 4 def test_default assert_equal '_doc', index.mapping_type end |
#test_writer ⇒ Object
8 9 10 11 |
# File 'lib/elastic_record/index/mapping_type_test.rb', line 8 def test_writer index.mapping_type = 'widget' assert_equal 'widget', index.mapping_type end |