mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 08:18:18 +08:00
10 lines
230 B
Ruby
10 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
|