12 lines
219 B
Ruby
12 lines
219 B
Ruby
![]() |
require 'spec_helper'
|
||
|
|
||
|
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
|