Add missing expectation to related content test
It looks like we accidentally missed it while rebasing commit
48dc72cea9.
This commit is contained in:
@@ -54,6 +54,8 @@ describe RelatedContent do
|
|||||||
|
|
||||||
it "is not valid with child relationable ID of a non-existent record" do
|
it "is not valid with child relationable ID of a non-existent record" do
|
||||||
related_content.child_relationable_id = related_content.child_relationable.class.last.id + 1
|
related_content.child_relationable_id = related_content.child_relationable.class.last.id + 1
|
||||||
|
|
||||||
|
expect(related_content).not_to be_valid
|
||||||
end
|
end
|
||||||
|
|
||||||
describe "create_opposite_related_content" do
|
describe "create_opposite_related_content" do
|
||||||
|
|||||||
Reference in New Issue
Block a user