fix false spec
This commit is contained in:
parent
c36e201eb3
commit
b49f2bf7d9
|
@ -98,7 +98,7 @@ describe TopicConverter do
|
||||||
expect(private_message).to be_valid
|
expect(private_message).to be_valid
|
||||||
expect(topic.archetype).to eq("private_message")
|
expect(topic.archetype).to eq("private_message")
|
||||||
expect(topic.category_id).to eq(nil)
|
expect(topic.category_id).to eq(nil)
|
||||||
expect(category.topic_count).to eq(0)
|
expect(category.reload.topic_count).to eq(0)
|
||||||
end
|
end
|
||||||
|
|
||||||
it "updates user stats" do
|
it "updates user stats" do
|
||||||
|
|
Loading…
Reference in New Issue