Sha256: 1d1807ccbb7387be10b2f899e55023c2802e7a0e82a2f2480140c16aa76cb20d

Contents?: true

Size: 319 Bytes

Versions: 23

Compression:

Stored size: 319 Bytes

Contents

require 'rails_helper'

describe LHC::Endpoint do
  context 'placeholders' do
    it 'returns all placeholders alphabetically sorted' do
      endpoint = LHC::Endpoint.new(':datastore/v2/:campaign_id/feedbacks')
      expect(
        endpoint.placeholders
      ).to eq [':campaign_id', ':datastore']
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
lhc-6.1.0 spec/endpoint/placeholders_spec.rb
lhc-6.0.1 spec/endpoint/placeholders_spec.rb
lhc-6.0.0 spec/endpoint/placeholders_spec.rb
lhc-5.1.1 spec/endpoint/placeholders_spec.rb
lhc-5.1.0 spec/endpoint/placeholders_spec.rb
lhc-5.0.3 spec/endpoint/placeholders_spec.rb
lhc-5.0.2 spec/endpoint/placeholders_spec.rb
lhc-5.0.1 spec/endpoint/placeholders_spec.rb
lhc-5.0.0 spec/endpoint/placeholders_spec.rb
lhc-4.0.2 spec/endpoint/placeholders_spec.rb
lhc-4.0.1 spec/endpoint/placeholders_spec.rb
lhc-4.0.0 spec/endpoint/placeholders_spec.rb
lhc-3.8.1 spec/endpoint/placeholders_spec.rb
lhc-3.8.0 spec/endpoint/placeholders_spec.rb
lhc-3.7.3 spec/endpoint/placeholders_spec.rb
lhc-3.7.2 spec/endpoint/placeholders_spec.rb
lhc-3.7.2.1 spec/endpoint/placeholders_spec.rb
lhc-3.7.1 spec/endpoint/placeholders_spec.rb
lhc-3.7.0 spec/endpoint/placeholders_spec.rb
lhc-3.7.0.pre1 spec/endpoint/placeholders_spec.rb