<commit_before>require 'spec_helper'

describe "GrapeDoc::APIDocument" do
  describe "should respond to" do
    let(:api_document) {
      GrapeDoc::APIDocument.new 
    }
    it "resource" do
      api_document.respond_to?(:resource_name).should be_true
    end
    it "path" do
      api_document.respond_to?(:path).should be_true
    end
    it "description" do
      api_document.respond_to?(:description).should be_true
    end
    it "params" do
      api_document.respond_to?(:params).should be_true
    end
    it "response" do
      api_document.respond_to?(:response).should be_true
    end
    it "http_method" do
      api_document.respond_to?(:http_method).should be_true
    end
  end
end
<commit_msg>Updated syntax of Rspec expectations on api_document_spec<commit_after>require 'spec_helper'

describe "GrapeDoc::APIDocument" do
  describe "should respond to" do
    let(:api_document) {
      GrapeDoc::APIDocument.new 
    }
    it "resource" do
      expect(api_document.respond_to?(:resource_name)).to eq(true)
    end
    it "path" do
      expect(api_document.respond_to?(:path)).to eq(true)
    end
    it "description" do
      expect(api_document.respond_to?(:description)).to eq(true)
    end
    it "params" do
      expect(api_document.respond_to?(:params)).to eq(true)
    end
    it "response" do
      expect(api_document.respond_to?(:response)).to eq(true)
    end
    it "http_method" do
      expect(api_document.respond_to?(:http_method)).to eq(true)
    end
  end
end

{'fraction_non_alphanumeric': 0.10505319148936171, 'fraction_numerical': 0.0, 'mean_word_length': 3.36231884057971, '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': '5254505', 'n_tokens_mistral': 504, 'n_tokens_neox': 495, 'n_words': 106}