mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-02 17:57:36 +08:00
9 lines
271 B
Ruby
9 lines
271 B
Ruby
# 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
|