Skip to content

Commit 4b6589a

Browse files
committed
1 parent 20e47fe commit 4b6589a

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
lines changed

test/controllers/contexts_controller_test.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,8 @@ def test_atom_feed_content
153153
login_as :admin_user
154154
get :index, { :format => "atom" }
155155
assert_equal 'application/atom+xml', @response.content_type
156-
#puts @response.body
157156

158-
assert_select 'feed[xmlns="http://www.w3.org/2005/Atom"]' do
157+
assert_select 'feed' do
159158
assert_select '>title', 'Tracks Contexts'
160159
assert_select '>subtitle', "Lists all the contexts for #{users(:admin_user).display_name}"
161160
assert_select 'entry', 10 do

test/controllers/feedlist_controller_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ def test_get_feeds_for_project_using_xhr
2626
assert_response 200
2727
end
2828

29-
end
29+
end

test/controllers/projects_controller_test.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,8 @@ def test_atom_feed_content
127127
login_as :admin_user
128128
get :index, { :format => "atom" }
129129
assert_equal 'application/atom+xml', @response.content_type
130-
# puts @response.body
131130

132-
assert_select 'feed[xmlns="http://www.w3.org/2005/Atom"]' do
131+
assert_select 'feed' do
133132
assert_select '>title', 'Tracks Projects'
134133
assert_select '>subtitle', "Lists all the projects for #{users(:admin_user).display_name}"
135134
assert_select 'entry', 3 do

test/controllers/todos_controller_test.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -522,9 +522,8 @@ def test_atom_feed_content
522522
login_as :admin_user
523523
get :index, { :format => "atom" }
524524
assert_equal 'application/atom+xml', @response.content_type
525-
# #puts @response.body
526525

527-
assert_select 'feed[xmlns="http://www.w3.org/2005/Atom"]' do
526+
assert_select 'feed' do
528527
assert_select '>title', 'Tracks Actions'
529528
assert_select '>subtitle', "Actions for #{users(:admin_user).display_name}"
530529
assert_select 'entry', 17 do

0 commit comments

Comments
 (0)