mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
fix invalid spec
This commit is contained in:
parent
e670ebb433
commit
a246e7c9c0
1 changed files with 2 additions and 2 deletions
|
@ -8,8 +8,8 @@ describe Jobs::FeatureTopicUsers do
|
|||
expect { Jobs::FeatureTopicUsers.new.execute({}) }.to raise_error(Discourse::InvalidParameters)
|
||||
end
|
||||
|
||||
it "raises an error with a missing topic_id" do
|
||||
expect { Jobs::FeatureTopicUsers.new.execute(topic_id: 123) }.to raise_error(Discourse::InvalidParameters)
|
||||
it "raises no error with a missing topic_id" do
|
||||
Jobs::FeatureTopicUsers.new.execute(topic_id: 123)
|
||||
end
|
||||
|
||||
context 'with a topic' do
|
||||
|
|
Loading…
Reference in a new issue