mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
alliteration
This commit is contained in:
parent
90c2fc4958
commit
c786862875
2 changed files with 3 additions and 3 deletions
|
@ -338,7 +338,7 @@ if !PryTestHelpers.mri18_and_no_real_source_location?
|
|||
|
||||
describe "class commands" do
|
||||
before do
|
||||
# cute pink pincers
|
||||
# pretty pink pincers
|
||||
class LobsterLady < Pry::ClassCommand
|
||||
match "lobster-lady"
|
||||
description "nada."
|
||||
|
@ -360,7 +360,7 @@ if !PryTestHelpers.mri18_and_no_real_source_location?
|
|||
end
|
||||
|
||||
it 'should display actual preceding comment for a class command, when class is used (rather than command name) when looking up' do
|
||||
pry_eval('show-doc LobsterLady').should =~ /cute pink pincers/
|
||||
pry_eval('show-doc LobsterLady').should =~ /pretty pink pincers/
|
||||
Pry.commands.delete("lobster-lady")
|
||||
end
|
||||
end
|
||||
|
|
|
@ -115,7 +115,7 @@ describe Pry::WrappedModule do
|
|||
Pry::WrappedModule(Host::CandidateTest).candidate(2).doc.should =~ /rank 2/
|
||||
end
|
||||
|
||||
it 'should return source for deeply nested class' do
|
||||
it 'should return docs for deeply nested class' do
|
||||
Pry::WrappedModule(Host::ForeverAlone::DoublyNested::TriplyNested).doc.should =~ /nested docs/
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue