sahaya / rest-assured

Automatically exported from code.google.com/p/rest-assured
0 stars 0 forks source link

Wrong method name in Documentation #176

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
At http://code.google.com/p/rest-assured/wiki/Usage#Full_body/content_matching 
the code looks like this:

expect().body(equalsTo("something")). ..
expect().content(equalsTo("something")). .. // Same as above

while it should look like this:

expect().body(equalTo("something")). ..
expect().content(equalTo("something")). .. // Same as above

It should be "equalTo", not "equalsTo", or am I mistaken?

Original issue reported on code.google.com by klaus.do...@gmail.com on 29 May 2012 at 3:24

GoogleCodeExporter commented 9 years ago
You're right! I've fixed it now, thanks for pointing out.

Original comment by johan.ha...@gmail.com on 29 May 2012 at 3:29