summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/search/recent_issues_spec.rb
blob: c6d93173dc0aa2f5169272994dcd45bcae32c99d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe ::Gitlab::Search::RecentIssues do
  let(:parent_type) { :project }

  def create_item(content:, parent:)
    create(:issue, title: content, project: parent)
  end

  it_behaves_like 'search recent items'
end