summaryrefslogtreecommitdiffstats
path: root/test/functional/activities_controller_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-03-04 12:43:55 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-03-04 12:43:55 +0000
commit7ec8a9a1009f87a2d38d5d48be50408bc75ce578 (patch)
treeeb04dd5e4dadadc5f6beff74bb071b44b5627d95 /test/functional/activities_controller_test.rb
parentb06223738e2df0cc0251e08009241cf08f9f5be7 (diff)
downloadredmine-7ec8a9a1009f87a2d38d5d48be50408bc75ce578.tar.gz
redmine-7ec8a9a1009f87a2d38d5d48be50408bc75ce578.zip
Rails 3.1 compatibility.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9082 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/activities_controller_test.rb')
-rw-r--r--test/functional/activities_controller_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/activities_controller_test.rb b/test/functional/activities_controller_test.rb
index b6fd3b509..934b01785 100644
--- a/test/functional/activities_controller_test.rb
+++ b/test/functional/activities_controller_test.rb
@@ -98,7 +98,7 @@ class ActivitiesControllerTest < ActionController::TestCase
def test_index_atom_feed
get :index, :format => 'atom', :with_subprojects => 0
assert_response :success
- assert_template 'common/feed.atom'
+ assert_template 'common/feed'
assert_tag :tag => 'link', :parent => {:tag => 'feed', :parent => nil },
:attributes => {:rel => 'self', :href => 'http://test.host/activity.atom?with_subprojects=0'}
@@ -122,7 +122,7 @@ class ActivitiesControllerTest < ActionController::TestCase
:show_wiki_edits => 1
assert_response :success
- assert_template 'common/feed.atom'
+ assert_template 'common/feed'
assert_tag :tag => 'link', :parent => {:tag => 'feed', :parent => nil },
:attributes => {:rel => 'self', :href => 'http://test.host/activity.atom?show_changesets=1&amp;show_documents=1&amp;show_files=1&amp;show_issues=1&amp;show_messages=1&amp;show_news=1&amp;show_time_entries=1&amp;show_wiki_edits=1&amp;with_subprojects=0'}
@@ -137,7 +137,7 @@ class ActivitiesControllerTest < ActionController::TestCase
def test_index_atom_feed_with_one_item_type
get :index, :format => 'atom', :show_issues => '1'
assert_response :success
- assert_template 'common/feed.atom'
+ assert_template 'common/feed'
assert_tag :tag => 'title', :content => /Issues/
end
end