مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2025-12-01 05:43:04 +00:00
test: add tests for Server model
هذا الالتزام موجود في:
14
spec/models/organization_spec.rb
Normal file
14
spec/models/organization_spec.rb
Normal file
@@ -0,0 +1,14 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "rails_helper"
|
||||
|
||||
describe Organization do
|
||||
context "model" do
|
||||
subject(:organization) { create(:organization) }
|
||||
|
||||
it "should have a UUID" do
|
||||
expect(organization.uuid).to be_a String
|
||||
expect(organization.uuid.length).to eq 36
|
||||
end
|
||||
end
|
||||
end
|
||||
المرجع في مشكلة جديدة
حظر مستخدم