diff --git a/spec/acts_as_taggable_on/related_spec.rb b/spec/acts_as_taggable_on/related_spec.rb index ce3d62568..0a3fc0332 100644 --- a/spec/acts_as_taggable_on/related_spec.rb +++ b/spec/acts_as_taggable_on/related_spec.rb @@ -47,8 +47,8 @@ taggable2 = TaggableModel.create!(name: 'Taggable 2',tag_list: 'three, four', skill_list: 'one, two') taggable3 = TaggableModel.create!(name: 'Taggable 3',tag_list: 'one, four') - expect(taggable1.find_related_tags_for(OtherTaggableModel)).to include(taggable3) - expect(taggable1.find_related_tags_for(OtherTaggableModel)).to_not include(taggable2) + expect(taggable1.find_related_tags).to include(taggable3) + expect(taggable1.find_related_tags).to_not include(taggable2) end