Welcome to mirror list, hosted at ThFree Co, Russian Federation.

recent_issues_spec.rb « search « gitlab « lib « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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