@@ -178,8 +178,9 class IssuesTest < ActionDispatch::IntegrationTest | |||
|
178 | 178 | assert_select 'option[value=?][selected=selected]', tester.id.to_s, :text => tester.name |
|
179 | 179 | end |
|
180 | 180 | |
|
181 | # Update issue | |
|
182 | 181 | new_tester = users[1] |
|
182 | with_settings :default_language => 'en' do | |
|
183 | # Update issue | |
|
183 | 184 | assert_difference 'Journal.count' do |
|
184 | 185 | put "/issues/#{issue.id}", |
|
185 | 186 | :notes => 'Updating custom field', |
@@ -188,11 +189,11 class IssuesTest < ActionDispatch::IntegrationTest | |||
|
188 | 189 | } |
|
189 | 190 | assert_redirected_to "/issues/#{issue.id}" |
|
190 | 191 | end |
|
191 | ||
|
192 | 192 | # Issue view |
|
193 | 193 | follow_redirect! |
|
194 | 194 | assert_select 'ul.details li', :text => "Tester changed from #{tester} to #{new_tester}" |
|
195 | 195 | end |
|
196 | end | |
|
196 | 197 | |
|
197 | 198 | def test_update_using_invalid_http_verbs |
|
198 | 199 | subject = 'Updated by an invalid http verb' |
General Comments 0
You need to be logged in to leave comments.
Login now