debian-mirror-gitlab/spec/lib/gitlab/search/recent_issues_spec.rb

14 lines
277 B
Ruby
Raw Normal View History

2020-11-24 15:15:51 +05:30
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe ::Gitlab::Search::RecentIssues do
2021-01-03 14:25:43 +05:30
let(:parent_type) { :project }
def create_item(content:, parent:)
create(:issue, title: content, project: parent)
2020-11-24 15:15:51 +05:30
end
it_behaves_like 'search recent items'
end