gitlab-org--gitlab-foss/spec/lib/gitlab/search/recent_issues_spec.rb

13 lines
277 B
Ruby

# 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