Sha256: ce20ae174dc074587e7c282ef822740389ab8f8a5d72770afa03fddf1d1a49c9
Contents?: true
Size: 648 Bytes
Versions: 23
Compression:
Stored size: 648 Bytes
Contents
require 'rails_helper' describe LHS::Record do context 'misconfiguration of endpoints' do it 'fails trying to add clashing endpoints' do expect( lambda { class Record < LHS::Record endpoint ':datastore/v2/feedbacks' endpoint ':datastore/v2/reviews' end } ).to raise_error('Clashing endpoints.') expect( lambda { class Record < LHS::Record endpoint ':datastore/v2/:campaign_id/feedbacks' endpoint ':datastore/v2/:campaign_id/reviews' end } ).to raise_error('Clashing endpoints.') end end end
Version data entries
23 entries across 23 versions & 1 rubygems