Sha256: d535f922bbcb9ff4fdfb23048f80faffba286a754fb8db8d5ce664a017a3a703
Contents?: true
Size: 561 Bytes
Versions: 91
Compression:
Stored size: 561 Bytes
Contents
require 'spec_helper' describe Picky::Client do let(:client) { described_class.new path: '/' } describe 'replace' do it 'delegates to the request method' do client.should_receive(:send_off).once.with anything, :some_index_name, :some_data client.replace :some_index_name, :some_data end end describe 'remove' do it 'delegates to the request method' do client.should_receive(:send_off).once.with anything, :some_index_name, :some_data client.remove :some_index_name, :some_data end end end
Version data entries
91 entries across 91 versions & 1 rubygems