1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

alliteration

This commit is contained in:
John Mair 2012-12-27 23:20:32 +01:00
parent 90c2fc4958
commit c786862875
2 changed files with 3 additions and 3 deletions

View file

@ -338,7 +338,7 @@ if !PryTestHelpers.mri18_and_no_real_source_location?
describe "class commands" do describe "class commands" do
before do before do
# cute pink pincers # pretty pink pincers
class LobsterLady < Pry::ClassCommand class LobsterLady < Pry::ClassCommand
match "lobster-lady" match "lobster-lady"
description "nada." description "nada."
@ -360,7 +360,7 @@ if !PryTestHelpers.mri18_and_no_real_source_location?
end end
it 'should display actual preceding comment for a class command, when class is used (rather than command name) when looking up' do 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") Pry.commands.delete("lobster-lady")
end end
end end

View file

@ -115,7 +115,7 @@ describe Pry::WrappedModule do
Pry::WrappedModule(Host::CandidateTest).candidate(2).doc.should =~ /rank 2/ Pry::WrappedModule(Host::CandidateTest).candidate(2).doc.should =~ /rank 2/
end 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/ Pry::WrappedModule(Host::ForeverAlone::DoublyNested::TriplyNested).doc.should =~ /nested docs/
end end
end end