trabajo-afectivo/spec/models/ticket/shared_draft_start_spec.rb
2022-02-24 12:33:52 +01:00

11 lines
382 B
Ruby

# Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
require 'rails_helper'
RSpec.describe Ticket::SharedDraftStart, type: :model do
subject(:shared_draft_start) { create :ticket_shared_draft_start }
it { is_expected.to belong_to :group }
it { is_expected.to validate_presence_of :name }
it { expect(shared_draft_start.content).to be_a(Hash) }
end