Manuel Bustillo a42f938530
All checks were successful
Check usage of free licenses / build-static-assets (pull_request) Successful in 55s
Add copyright notice / copyright_notice (pull_request) Successful in 1m28s
Run unit tests / unit_tests (pull_request) Successful in 1m57s
Assign a color to every group and expose it via API
2024-11-03 14:41:09 +01:00

12 lines
236 B
Ruby

# Copyright (C) 2024 Manuel Bustillo
require 'rails_helper'
RSpec.describe Group, type: :model do
describe 'callbacks' do
it 'should set color before create' do
expect(create(:group).color).to be_present
end
end
end