onmodulus/aws-sqs — pull request #8 by patricklodder (2013-04-25 20:49:14+00:00)
Title: Allow testing independent of AWS keys used

Nearly all tests failed for me because of hard ids in urls and queue paths in the specs.
I have changed queue creation tests to validate by regexp, with a little more verbose tests for `sqs.listQueues` to make sure that the intended results are returned.

I have created a helper function `getQualifiedQueue` to dynamically get the qualified queue name using `sqs.listQueues` (used only in batches after that function has been tested) and that throughout all subsequent tests. Tried to make this as small an impact as possible on the spec definition.

This means that a topic that was defined as:
```javascript
function (sqs) {
sqs.sendMessage('/id/queueName', 'message', this.callback);
}
```
is now defined as:
```javascript
getQualifiedQueue('queueName', function () {
this.sqs.sendMessage(this.queue, 'message', this.callback);
})
```