mirror of
https://github.com/awesome-print/awesome_print
synced 2023-03-27 23:22:34 -04:00
Make test for ap returning original value does not output extraneous characters.
This commit is contained in:
parent
05726bfd91
commit
2031929f35
1 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,8 @@ describe "AwesomePrint" do
|
|||
|
||||
describe "ap method" do
|
||||
it "return value" do
|
||||
object = ""
|
||||
object = rand
|
||||
self.stub!(:puts)
|
||||
(ap object).should eql(object)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue