Sha256: 0a288360b5df4fb5894e44635885f4991da08eef3d84b1b175457df0f78c1e0d
Contents?: true
Size: 647 Bytes
Versions: 84
Compression:
Stored size: 647 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
84 entries across 84 versions & 1 rubygems