diff options
author | Go MAEDA <maeda@farend.jp> | 2020-12-22 11:48:29 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2020-12-22 11:48:29 +0000 |
commit | 87d2fa498d10ed716b38ba49e0c6e22dc23d7ef2 (patch) | |
tree | 2968e442edfc41df946f364b86ffec1dafa3f868 | |
parent | a001b8e46f270fee95dc0acc724e311571873522 (diff) | |
download | redmine-87d2fa498d10ed716b38ba49e0c6e22dc23d7ef2.tar.gz redmine-87d2fa498d10ed716b38ba49e0c6e22dc23d7ef2.zip |
Revert r20440 (#10535).
git-svn-id: http://svn.redmine.org/redmine/trunk@20684 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | test/integration/feeds_test.rb | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/test/integration/feeds_test.rb b/test/integration/feeds_test.rb index b99d24bde..178cff641 100644 --- a/test/integration/feeds_test.rb +++ b/test/integration/feeds_test.rb @@ -26,21 +26,8 @@ class FeedsTest < Redmine::IntegrationTest :roles, :member_roles, :members def test_feeds_should_include_icon_tag - host_name = 'feeds_test' - - with_settings :host_name => host_name do - get '/projects.atom' - end + get '/projects.atom' assert_response :success - - assert_select 'feed' do - assert_select 'title' - assert_select 'link[rel=?][href=?]', 'self', "http://#{host_name}/projects.atom" - assert_select 'link[rel=?][href=?]', 'alternate', "http://#{host_name}/projects" - assert_select 'id', :text => 'http://www.example.com/' - assert_select 'icon', :text => %r{^http://www.example.com/favicon.ico} - assert_select 'updated' - assert_select 'generator', :text => 'Redmine' - end + assert_select 'feed>icon', :text => %r{^http://www.example.com/favicon.ico} end end |