1
0
Fork 0
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:
Stephan Hagemann 2011-05-02 23:53:20 +02:00
parent 05726bfd91
commit 2031929f35

View file

@ -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