wedding-planner/spec/models/tables_arrangement_spec.rb
Manuel Bustillo 8429b3952b
All checks were successful
Check usage of free licenses / check-licenses (pull_request) Successful in 1m11s
Add copyright notice / copyright_notice (pull_request) Successful in 1m38s
Run unit tests / unit_tests (pull_request) Successful in 4m35s
Adapt factories to use a wedding object
2024-12-01 09:58:39 +01:00

12 lines
260 B
Ruby

# Copyright (C) 2024 Manuel Bustillo
require 'rails_helper'
RSpec.describe TablesArrangement, type: :model do
describe 'callbacks' do
it 'assigns a name before creation' do
expect(create(:tables_arrangement).name).to be_present
end
end
end