Sha256: 0a1c0d72b202d03dffa06343a76b4e176ac56c962a9d5a1934aa37c55c2776d9
Contents?: true
Size: 336 Bytes
Versions: 5
Compression:
Stored size: 336 Bytes
Contents
RSpec.shared_examples_for 'a cake admin method' do it 'runs the request' do request = double('request') expect(SoapyCake::Request).to receive(:new) .with(:admin, service, cake_method, cake_opts).and_return(request) expect(subject).to receive(:run).with(request) subject.public_send(method, cake_opts) end end
Version data entries
5 entries across 5 versions & 1 rubygems