Commit c7af7a3d authored by Jiri Strojil's avatar Jiri Strojil
Browse files

Fixed two minor things

parent 7d0ef2fe
Pipeline #29287 passed with stage
in 46 minutes and 41 seconds
......@@ -19,6 +19,7 @@ class SemesterFeedbackTest < ApplicationSystemTestCase
end
test 'accepting should remove submit button' do
check 'Ich verzichte auf die Auszahlung von Spesen.'
click_on 'Bestätigen', match: :first
@subject_volunteer.reload
assert_text "Bestätigt am #{I18n.l(@subject_volunteer.commited_at.to_date)} durch #{(@subject_volunteer.commited_by.full_name)}"
......@@ -27,6 +28,7 @@ class SemesterFeedbackTest < ApplicationSystemTestCase
test 'you should be able to add hours on run' do
assert_equal @subject_volunteer.hours.count, 0
fill_in 'Stunden', with: 10
check 'Ich verzichte auf die Auszahlung von Spesen.'
click_on 'Bestätigen', match: :first
@subject_volunteer.reload
assert_equal @subject_volunteer.hours.first.hours, 10
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment