summaryrefslogtreecommitdiff
path: root/spec/models/badges/group_badge_spec.rb
blob: 8913a2e6f179274381637dfe703220f6ee19bb0b (plain)
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