Permalink
Browse files

Update nokogiri parsing.

  • Loading branch information...
cmeiklejohn committed Feb 26, 2012
1 parent 1f37220 commit b390a509e02afc71c9b3ab03894b8b91418be6d5
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/functional/api/v1/web_hooks_controller_test.rb
@@ -140,7 +140,7 @@ def self.should_respond_to(format)
should_respond_to(:xml) do |body|
children = Nokogiri.parse(body).root.children
Hash.from_xml(children[1].to_xml).update(
- 'all gems' => [Hash.from_xml(children[5].to_xml)['web_hook']]
+ 'all gems' => Hash.from_xml(children[3].to_xml).delete('all_gems')
)
end

0 comments on commit b390a50

Please sign in to comment.