gitlab-org--gitlab-foss/spec/models/badges/group_badge_spec.rb

14 lines
256 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2018-03-05 12:51:40 -05:00
require 'spec_helper'
RSpec.describe GroupBadge do
2018-03-05 12:51:40 -05:00
describe 'associations' do
it { is_expected.to belong_to(:group) }
end
describe 'validations' do
it { is_expected.to validate_presence_of(:group) }
end
end