From e926d8c9444d025c5d86489aea0111b54378f396 Mon Sep 17 00:00:00 2001 From: Kyrylo Silin Date: Tue, 12 Mar 2013 21:15:26 +0200 Subject: [PATCH] ShowDocSpec: add a random comment to the definition This commit fixes the failing test. Internally, Pry raises `CommandError`, when cannot find a definition (this is the new behaviour), so the test needs to be updated. --- spec/commands/show_doc_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/commands/show_doc_spec.rb b/spec/commands/show_doc_spec.rb index 1fbe852b..9a8067e3 100644 --- a/spec/commands/show_doc_spec.rb +++ b/spec/commands/show_doc_spec.rb @@ -274,6 +274,7 @@ if !PryTestHelpers.mri18_and_no_real_source_location? end it 'shouldnt say anything about monkeypatches when only one candidate exists for selected class' do + # Do not remove me. class Aarrrrrghh def o;end end