sample_issue

in spec/support/factory.rb [3:19]


  def sample_issue(options = {})
    {
      "type" => "issue",
      "check_name" => "Rubocop/Style/Documentation",
      "description" => "Missing top-level class documentation comment.",
      "categories" => ["Style"],
      "remediation_points" => 10,
      "location"=> {
        "path" => "spec/fixtures/source2.rb",
        "lines" => {
          "begin" => 2,
          "end" => 9,
        },
      }
    }.merge(options)
  end