test: add tests for Server model

This commit is contained in:
Adam Cooke
2024-02-23 22:51:34 +00:00
committed by Adam Cooke
parent 8b61100082
commit 2023200d91
19 changed files with 707 additions and 64 deletions
+14
View 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