<commit_before>RSpec.describe "Followings", type: :request do
  before(:each) do
    create(:book)
  end

  describe 'GET /api/books' do
    it 'should return the titles of all the books' do
      get "/api/books", format: :json
      expect(JSON.parse(response.body).length).to eq 1
    end
  end
end<commit_msg>test book requests. pending devise auth in request tests<commit_after>
RSpec.describe "Followings", type: :request do
  before(:each) do
    create(:book)
    create(:book)

    @uesteibar = create(:uesteibar)
    @uesteibar.confirm!
    sign_in @uesteibar
  end

  describe 'GET /api/books' do
    skip 'should return all the books' do
      get "/api/books", format: :json
      puts response.body
      expect(JSON.parse(response.body).length).to eq 2
    end
  end
end
{'fraction_non_alphanumeric': 0.10955414012738854, 'fraction_numerical': 0.0025477707006369425, 'mean_word_length': 3.136842105263158, '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': '1349656', 'n_tokens_mistral': 261, 'n_tokens_neox': 253, 'n_words': 79}