summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/search/recent_issues_spec.rb
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