diff options
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller/assertions/action_pack_assertions.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/assertions/action_pack_assertions.rb b/actionpack/lib/action_controller/assertions/action_pack_assertions.rb index c9a1aae174..8f07c146b8 100644 --- a/actionpack/lib/action_controller/assertions/action_pack_assertions.rb +++ b/actionpack/lib/action_controller/assertions/action_pack_assertions.rb @@ -218,8 +218,7 @@ module Test #:nodoc: xml, matches = REXML::Document.new(response.body), [] xml.elements.each(expression) { |e| matches << e.text } if matches.empty? then - msg = build_message(message, "<?> not found in document", - expression) + msg = build_message(message, "<?> not found in document", expression) flunk(msg) return elsif matches.length < 2 then |