]> source.dussan.org Git - redmine.git/commitdiff
Revert r20440 (#10535).
authorGo MAEDA <maeda@farend.jp>
Tue, 22 Dec 2020 11:48:29 +0000 (11:48 +0000)
committerGo MAEDA <maeda@farend.jp>
Tue, 22 Dec 2020 11:48:29 +0000 (11:48 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20684 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/integration/feeds_test.rb

index b99d24bde237b24251cd68138e915b6901f986dc..178cff641ac39a549bdd0e51c7d063006f45b1ed 100644 (file)
@@ -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