Sha256: 09f8cc83115a448da069186553cb6924cd2dd1c0d40878dffbe3d178b87b8ca4
Contents?: true
Size: 495 Bytes
Versions: 8
Compression:
Stored size: 495 Bytes
Contents
RSpec.describe SoapyCake::Request do it 'raises if there is no api version stored' do expect do described_class.new(:test, :does, :not_exist).xml end.to raise_error(SoapyCake::Error, 'Unknown API call test::does::not_exist') end it 'raises when you pass non-date-like objects in date fields' do expect do described_class.new(:admin, :export, :offers, start_date: '2015-01-01').xml end.to raise_error(SoapyCake::Error, /Date object for 'start_date'/) end end
Version data entries
8 entries across 8 versions & 1 rubygems