File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ def test_account_client
14
14
15
15
search_client2 = Algolia ::Search ::Client . create ( APPLICATION_ID_2 , ADMIN_KEY_2 )
16
16
index2 = search_client2 . init_index ( get_test_index_name ( 'copy_index2' ) )
17
- index1 . save_object! ( { objectID : 'one' } )
17
+ index1 . save_object! ( { objectID : 'one' , title : 'Test title' } )
18
18
index1 . save_rule! ( {
19
19
objectID : 'one' ,
20
20
condition : { anchoring : 'is' , pattern : 'pattern' } ,
@@ -29,7 +29,7 @@ def test_account_client
29
29
}
30
30
} )
31
31
index1 . save_synonym! ( { objectID : 'one' , type : 'synonym' , synonyms : %w( one two ) } )
32
- index1 . set_settings! ( { searchableAttributes : [ 'objectID ' ] } )
32
+ index1 . set_settings! ( { searchableAttributes : [ 'title ' ] } )
33
33
34
34
Algolia ::Account ::Client . copy_index! ( index1 , index2 )
35
35
assert_equal 'one' , index2 . get_object ( 'one' ) [ :objectID ]
You can’t perform that action at this time.
0 commit comments