tunnckoCore/randomorg-js — pull request #2 by gmgj (2014-07-30 18:20:28+00:00)
Title: A work in progress.  Adding tests and comments and more complete example...

1) This example works.

2) Change the method('generateIntegers')

to something invalid and see what happens .

3) original request
.method('generateStrings')
.params({n:4,length:11})

tests change

.method('generateStrings')
to
.method('generate2Strings')

expected results
return an error code - no method of this name

Actual results
returns an array of 4 integers