# New article

**URL:** <https://rubytalk.org/t/new-article/18853>\
**Category:** ruby-talk\
**Created:** [8 June 2005 07:13 UTC](https://rubytalk.org/t/new-article/18853 "2005-06-08T07:13:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neville\_Burnell1](https://avatars.discourse-cdn.com/v4/letter/n/85f322/32.png) [@Neville\_Burnell1](https://rubytalk.org/u/Neville_Burnell1)\
**Post date:** [8 June 2005 07:13 UTC](https://rubytalk.org/t/new-article/18853/1 "2005-06-08T07:13:43Z")

</div>

yep ...

Normally I wouldn't be pedantic, but somehow I feel unit testing documentation should be 100% tested

> **···**
>
> -----Original Message-----  
> From: Ghislain Mary [mailto:nospam@lunacymaze.org]  
> Sent: Wednesday, 8 June 2005 5:10 PM  
> To: ruby-talk ML  
> Subject: Re: new article
> 
> Neville Burnell a écrit :
> 
> > Hi,
> > 
> > I'm just reading the PDF and on pg 13 you flesh out the echo() method,  
> > but the def doesn't include any parameters, in particular it should [I  
> > think] be:
> > 
> > Def echo(url)
> > 
> > So the echo method as documented should fail, correct ?
> > 
> > Nev
> 
> In fact, you don't need the url parameter. But you're right there's an error in this example. You should read:
> 
> response = http.get("/service/echo?api\_key=#{@key}")
> 
> instead of
> 
> response = http.get("/service/#{url}")
> 
> And in the test, you just need:
> 
> connection.echo()
> 
> instead of
> 
> connection.echo("/service/echo")
> 
> HTH
> 
> Ghislain
