0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-21 17:00:29 +01:00

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
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
it "handles submissions with and without 'updated_at' field correctly" do