wedding-planner/spec/models/tables_arrangement_spec.rb

14 lines
277 B
Ruby

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