0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-14 13:58:53 +08:00
discourse/plugins/discourse-assign/spec/jobs/regular/remind_user_spec.rb

9 lines
271 B
Ruby
Vendored

# frozen_string_literal: true
RSpec.describe Jobs::RemindUser do
describe "#execute" do
it "should raise the right error when user_id is invalid" do
expect do described_class.new.execute({}) end.to raise_error(Discourse::InvalidParameters)
end
end
end