You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
require"rails_helper"RSpec.describe"these tests pass on v5 but fail after 887"dolet!(:existing_tags){FactoryBot.create_list(:tag,3)}describe"create"dolet(:create)doFactoryBot.create(:user,tag_ids: existing_tags.map(&:id))enditdoexpect{create}.tochange{ActsAsTaggableOn::Tagging.count}.by(3)enditdouser=createexpect(user.reload.tag_list).tomatch_array(existing_tags.map(&:name))endenddescribe"update"dolet!(:user){FactoryBot.create(:user)}let(:update)douser.update(tag_ids: existing_tags.map(&:id))enditdoexpect{update}.tochange{ActsAsTaggableOn::Tagging.count}.by(3)enditdoupdateexpect(user.reload.tag_list).tomatch_array(existing_tags.map(&:name))endendend
The text was updated successfully, but these errors were encountered:
When updating from v5 to v6, I noticed that setting tags using
#tag_ids=
has stopped working. The commit that broke this functionality is #887.Repro:
The text was updated successfully, but these errors were encountered: