mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-03 08:18:42 +08:00
9 lines
230 B
Ruby
9 lines
230 B
Ruby
# frozen_string_literal: true
|
|
|
|
RSpec.describe Jobs::CrawlTopicLink do
|
|
let(:job) { Jobs::CrawlTopicLink.new }
|
|
|
|
it "needs a topic_link_id" do
|
|
expect { job.execute({}) }.to raise_error(Discourse::InvalidParameters)
|
|
end
|
|
end
|