|
|
|
@ -10,11 +10,11 @@ RSpec.describe CheckAnswersSummaryListCardComponent, type: :component do
|
|
|
|
|
Timecop.freeze(Time.zone.local(2023, 1, 10)) |
|
|
|
|
Singleton.__init__(FormHandler) |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
after do |
|
|
|
|
Timecop.return |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
context "when given a set of questions" do |
|
|
|
|
let(:user) { build(:user) } |
|
|
|
|
let(:log) { build(:lettings_log, :completed, age2: 99, startdate: Time.zone.local(2021, 5, 1)) } |
|
|
|
|