We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 07e3057 + 82cc4fa commit ecc502aCopy full SHA for ecc502a
1 file changed
spec/lib/status_generator/programme_spec.rb
@@ -296,13 +296,21 @@
296
end
297
298
context "when consent is needed" do
299
+ let(:programme) { Programme.menacwy }
300
+
301
its(:date) { should be_nil }
302
its(:disease_types) { should be_nil }
303
its(:dose_sequence) { should be_nil }
304
its(:location_id) { should be_nil }
305
its(:status) { should be(:needs_consent_no_response) }
306
its(:vaccine_methods) { should be_nil }
307
its(:without_gelatine) { should be_nil }
308
309
+ context "with a multi-dose programme" do
310
+ let(:programme) { Programme.mmr }
311
312
+ its(:dose_sequence) { should eq(1) }
313
+ end
314
315
316
context "when not eligible" do
0 commit comments