Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
aoz-003
Commits
c7af7a3d
Commit
c7af7a3d
authored
Oct 23, 2018
by
Jiri Strojil
Browse files
Fixed two minor things
parent
7d0ef2fe
Pipeline
#29287
passed with stage
in 46 minutes and 41 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
test/system/semester_feedback_test.rb
View file @
c7af7a3d
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment