<commit_before>require "rails_helper"

describe "exists? workout" do

end<commit_msg>First part of exists? exercise (no args)<commit_after>require "rails_helper"

describe "exists? workout" do

  context "without arguments" do

    it "tells you if table is populated or not" do

      expect(Article.exists?).to eq(false)
      create(:article)
      expect(Article.exists?).to eq(true)#hide
      # expect(Article.exists?).to eq(YOUR_CODE_HERE)#show

      expect(Book.exists?).to eq(false)#hide
      # expect(Book.exists?).to eq(YOUR_CODE_HERE)#show
      create(:book)
      expect(Book.exists?).to eq(true)#hide
      # expect(Book.eYOUR_CODE_HERE?).to eq(true)#show

      expect(Country.exists?).to eq(false)#hide
      # expect(CoYOUR_CODE_HEREts?).to eq(false)#show
      create(:country)
      expect(Country.exists?).to eq(true)#hide
      # expect(Country.YOUR_CODE_HERE?).to eq(true)#show

      expect(Meeting.exists?).to eq(false)#hide
      # expect(YOUR_CODE_HERE).to eq(false)#show
      create(:meeting)
      expect(Meeting.exists?).to eq(true)#hide
      # expect(YOUR_CODE_HERE).to eq(YOUR_CODE_HERE)#show
    end

  end

end
{'fraction_non_alphanumeric': 0.13588850174216027, 'fraction_numerical': 0.0, 'mean_word_length': 3.7875, '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': '2536447', 'n_tokens_mistral': 421, 'n_tokens_neox': 391, 'n_words': 69}