added 260907 version of worker toolkit
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
require "rails_helper"
|
||||
|
||||
RSpec.describe Checkin::Condition, type: :model do
|
||||
include Mongoid::Matchers
|
||||
|
||||
it_behaves_like "fiveable"
|
||||
|
||||
describe "Relations" do
|
||||
it { is_expected.to belong_to(:checkin) }
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,11 @@
|
||||
require "rails_helper"
|
||||
|
||||
RSpec.describe Checkin::Symptom, type: :model do
|
||||
include Mongoid::Matchers
|
||||
|
||||
it_behaves_like "fiveable"
|
||||
|
||||
describe "Relations" do
|
||||
it { is_expected.to belong_to(:checkin) }
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,13 @@
|
||||
require "rails_helper"
|
||||
|
||||
RSpec.describe Checkin::Treatment, type: :model do
|
||||
include Mongoid::Matchers
|
||||
|
||||
describe "Relations" do
|
||||
it { is_expected.to belong_to(:checkin) }
|
||||
end
|
||||
|
||||
describe "Respond to" do
|
||||
it { is_expected.to respond_to(:value) }
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user