mirror of
https://github.com/redmine/redmine.git
synced 2025-11-07 22:05:56 +01:00
Revert r22764 (#33829).
It breaks activities_controller_test.rb. git-svn-id: https://svn.redmine.org/redmine/trunk@22770 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -1246,16 +1246,6 @@ class IssuesControllerTest < Redmine::ControllerTest
|
||||
assert_select 'link[rel=self][href=?]', 'http://test.host/projects/ecookbook/issues.atom'
|
||||
assert_select 'link[rel=alternate][href=?]', 'http://test.host/projects/ecookbook/issues'
|
||||
assert_select 'entry link[href=?]', 'http://test.host/issues/1'
|
||||
|
||||
assert_select 'entry' do |entries|
|
||||
entries.each do |entry|
|
||||
issue_id = entry.at('id').text.split('/').last.to_i
|
||||
issue = Issue.find(issue_id)
|
||||
formatted_updated_on = issue.updated_on.utc.iso8601
|
||||
# <updated> element should use the value of `Issue#updated_on`
|
||||
assert_select entry, 'updated', text: formatted_updated_on
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user