mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 07:38:01 +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
|