1
0
Fork 0

Update submission_spec.rb

Dieser Commit ist enthalten in:
Angus McLeod 2022-10-05 17:29:21 +02:00
Ursprung 94e1d4988d
Commit eaf0b5f7ba

Datei anzeigen

@ -78,7 +78,7 @@ describe CustomWizard::Submission do
submissions = described_class.list(@wizard, user_id: @wizard.user.id).submissions submissions = described_class.list(@wizard, user_id: @wizard.user.id).submissions
expect(submissions.length).to eq(1) expect(submissions.length).to eq(1)
expect(submissions.first.fields["step_1_field_1"]).to eq("I am the third submission") expect(submissions.first.fields["step_1_field_1"]).to eq("I am the second submission")
end end
it "handles submissions with and without 'updated_at' field correctly" do it "handles submissions with and without 'updated_at' field correctly" do