trabajo-afectivo/spec/db/migrate/issue_2455_follow_up_assignment_spec.rb

12 lines
372 B
Ruby
Raw Normal View History

# Copyright (C) 2012-2021 Zammad Foundation, http://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