'update_index uses default index when --using is not present'

@patch(u'haystack.management.commands.update_index.Command.update_backend')
def test_update_index_default_using(self, m):

    call_command(u'update_index')
    for k in settings.HAYSTACK_CONNECTIONS:
        self.assertTrue((call(u'core', k) in m.call_args_list))
