1 2 3 4 5 6 7 8 9 10 11 12 13
# frozen_string_literal: true require 'spec_helper' RSpec.describe GroupBadge do describe 'associations' do it { is_expected.to belong_to(:group) } end describe 'validations' do it { is_expected.to validate_presence_of(:group) } end end