trabajo-afectivo/spec/db/migrate/issue_2455_follow_up_assignment_spec.rb
2022-01-01 14:38:12 +01:00

11 lines
373 B
Ruby

# Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
require 'rails_helper'
RSpec.describe Issue2455FollowUpAssignment, type: :db_migration do
let!(:group) { create(:group, follow_up_assignment: false) }
it 'sets groups to follow_up_assignment true' do
expect { migrate }.to change { group.reload.follow_up_assignment }.to(true)
end
end