elasticsearch-model/spec/elasticsearch/model/indexing_spec.rb [357:370]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        expect(instance).to receive(:index_name).and_return('foo')
        expect(instance).to receive(:id).and_return('1')
      end

      let(:client) do
        double('client')
      end

      let(:instance) do
        DummyIndexingModelWithCallbacks.new
      end

      context 'when no options are passed to the method' do
        before do
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



elasticsearch-model/spec/elasticsearch/model/indexing_spec.rb [393:406]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        expect(instance).to receive(:index_name).and_return('foo')
        expect(instance).to receive(:id).and_return('1')
      end

      let(:client) do
        double('client')
      end

      let(:instance) do
        DummyIndexingModelWithCallbacks.new
      end

      context 'when no options are passed to the method' do
        before do
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



