Commit 91a743f2378f2298fb6380fd7b25d53a451acef1
1 parent
1b48f029
Exists in
master
and in
21 other branches
Fixed test names
Showing
18 changed files
with
20 additions
and
21 deletions
Show diff stats
test/aggs_test.rb
test/autocomplete_test.rb
test/boost_test.rb
test/facets_test.rb
test/highlight_test.rb
test/index_test.rb
test/inheritance_test.rb
test/match_test.rb
test/model_test.rb
1 | 1 | require_relative "test_helper" |
2 | 2 | |
3 | -class TestModel < Minitest::Test | |
3 | +class ModelTest < Minitest::Test | |
4 | 4 | |
5 | 5 | def test_disable_callbacks_model |
6 | 6 | store_names ["product a"] |
... | ... | @@ -20,7 +20,7 @@ class TestModel < Minitest::Test |
20 | 20 | def test_disable_callbacks_global |
21 | 21 | # make sure callbacks default to on |
22 | 22 | assert Searchkick.callbacks? |
23 | - | |
23 | + | |
24 | 24 | store_names ["product a"] |
25 | 25 | |
26 | 26 | Searchkick.disable_callbacks | ... | ... |
test/query_test.rb
test/reindex_job_test.rb
test/reindex_v2_job_test.rb
test/routing_test.rb
1 | 1 | require_relative "test_helper" |
2 | 2 | |
3 | -class TestRouting < Minitest::Test | |
3 | +class RoutingTest < Minitest::Test | |
4 | 4 | |
5 | 5 | def test_routing_query |
6 | 6 | skip if elasticsearch2? |
... | ... | @@ -13,4 +13,5 @@ class TestRouting < Minitest::Test |
13 | 13 | index_options = Store.searchkick_index.index_options |
14 | 14 | assert_equal index_options[:mappings][:_default_][:_routing], {required: true, path: "name"} |
15 | 15 | end |
16 | + | |
16 | 17 | end | ... | ... |
test/should_index_test.rb
1 | 1 | require_relative "test_helper" |
2 | 2 | |
3 | -class TestShouldIndex < Minitest::Test | |
4 | - | |
3 | +class ShouldIndexTest < Minitest::Test | |
5 | 4 | def test_basic |
6 | 5 | store_names ["INDEX", "DO NOT INDEX"] |
7 | 6 | assert_search "index", ["INDEX"] |
... | ... | @@ -30,5 +29,4 @@ class TestShouldIndex < Minitest::Test |
30 | 29 | Product.searchkick_index.refresh |
31 | 30 | assert_search "index", [] |
32 | 31 | end |
33 | - | |
34 | 32 | end | ... | ... |
test/similar_test.rb
test/sql_test.rb
test/suggest_test.rb