Skip to content

Commit 5bd7168

Browse files
remove repeated code
1 parent 502b00d commit 5bd7168

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

spec/value_objects/conviction_type_spec.rb

-9
Original file line numberDiff line numberDiff line change
@@ -503,15 +503,6 @@
503503
it { expect(conviction_type.calculator_class).to eq(Calculators::AdditionCalculator::PlusTwelveMonths) }
504504
end
505505

506-
context "when ADULT_REPRIMAND" do
507-
let(:subtype) { "adult_reprimand" }
508-
509-
it { expect(conviction_type.skip_length?).to eq(true) }
510-
it { expect(conviction_type.relevant_order?).to eq(false) }
511-
it { expect(conviction_type.no_drag_through?).to eq(false) }
512-
it { expect(conviction_type.calculator_class).to eq(Calculators::AdditionCalculator::StartPlusTwelveMonths) }
513-
end
514-
515506
# YOUTH_MOTORING
516507
#
517508
context "when YOUTH_DISQUALIFICATION" do

0 commit comments

Comments
 (0)