mirror of
https://github.com/discourse/discourse.git
synced 2026-08-14 13:58:53 +08:00
9 lines
271 B
Ruby
Vendored
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
|