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

12 lines
245 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
def create_item(content:, project:)
create(:issue, title: content, project: project)
end
it_behaves_like 'search recent items'
end