Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-09 20:02:54 +01:00
Update submission_spec.rb
Dieser Commit ist enthalten in:
Ursprung
94e1d4988d
Commit
eaf0b5f7ba
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
|
@ -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
|
||||
|
|
Laden …
In neuem Issue referenzieren