added 260907 version of worker toolkit

This commit is contained in:
2026-09-08 20:30:51 -04:00
parent cbd3f0f8ca
commit 97aca37663
1283 changed files with 142951 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
require "rails_helper"
RSpec.describe Checkin, type: :model do
include Mongoid::Matchers
describe "Relations" do
it { is_expected.to have_many(:conditions) }
it { is_expected.to have_many(:symptoms) }
it { is_expected.to have_many(:treatments) }
it { is_expected.to have_one(:harvey_bradshaw_index) }
it { is_expected.to have_one(:promotion_rate) }
end
describe "Validations" do
it { is_expected.to validate_presence_of(:date) }
it { is_expected.to validate_presence_of(:encrypted_user_id) }
end
end