<commit_before>require 'rails_helper'

describe SearchForm do

  let(:search) { SearchForm.new(location: '83 S King St., Seattle, WA', beverage: 'Beer', distance: 5) }

  describe '#generate_flights' do

    it "return a flight of businesses" do
      expect(search.generate_flights).to be_an Array
    end

  end

end
<commit_msg>Add two test to search_form spec<commit_after>require 'rails_helper'

describe SearchForm do

  let(:search) { SearchForm.new(location: '83 S King St., Seattle, WA', beverage: 'Beer', distance: 5) }

  it 'has a collection of beverages for the form' do
    expect(SearchForm.beverage_options).to eq ['Wine', 'Beer', 'Whiskey', 'Coffee']
  end

  it 'has a collection of distances' do
    expect(SearchForm.distance_options).to include 35
  end



  describe '#generate_flights' do

    it "returns a flight of businesses" do
      expect(search.generate_flights).to be_an Array
    end

  end

end

{'fraction_non_alphanumeric': 0.10010764262648009, 'fraction_numerical': 0.008611410118406888, 'mean_word_length': 3.9468085106382977, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5693972', 'n_tokens_mistral': 315, 'n_tokens_neox': 288, 'n_words': 99}