I have the following spec...
describe \"successful POST on /user/create\" do it \"should redirect to dashboard\" do post \'/user/create\', {
I would consider using a gem for a task like this.
Two of the most popular are WebMock and VCR.