Sha256: d3efb1c5b96700978ef05bdc6b659a6e38b78084bc84b17ac41131dadcbce906
Contents?: true
Size: 507 Bytes
Versions: 16
Compression:
Stored size: 507 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' RSpec.describe 'GET /catalog/suggest' do it 'returns suggestions' do get '/catalog/suggest?q=new' expect(response.body).to eq <<-RESULT <li role="option"><span>new jersey</span></li> <li role="option"><span>new jersey bridgeton biography</span></li> <li role="option"><span>new jersey bridgeton history</span></li> <li role="option"><span>new york</span></li> <li role="option"><span>nuwākshūṭ</span></li> RESULT end end
Version data entries
16 entries across 16 versions & 2 rubygems