mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 04:53:51 +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
|