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: 19a41d2aa380712c893cc2ffed43a67781fd8b78 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe ::Gitlab::Search::RecentIssues do
  def create_item(content:, project:)
    create(:issue, title: content, project: project)
  end

  it_behaves_like 'search recent items'
end