mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-30 10:58:31 -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)
|
expect { Jobs::FeatureTopicUsers.new.execute({}) }.to raise_error(Discourse::InvalidParameters)
|
||||||
end
|
end
|
||||||
|
|
||||||
it "raises an error with a missing topic_id" do
|
it "raises no error with a missing topic_id" do
|
||||||
expect { Jobs::FeatureTopicUsers.new.execute(topic_id: 123) }.to raise_error(Discourse::InvalidParameters)
|
Jobs::FeatureTopicUsers.new.execute(topic_id: 123)
|
||||||
end
|
end
|
||||||
|
|
||||||
context 'with a topic' do
|
context 'with a topic' do
|
||||||
|
|
Loading…
Reference in a new issue