debian-mirror-gitlab/spec/models/badges/group_badge_spec.rb
2020-08-09 17:44:08 +05:30

13 lines
256 B
Ruby

# 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