[LRUG] Serialising a struct
Stephen Nelson-Smith
sanelson at gmail.com
Mon Apr 14 10:15:19 PDT 2014
Hi,
On Mon, Apr 14, 2014 at 6:03 PM, Tom Stuart <tom at codon.com> wrote:
> On 14 Apr 2014, at 17:51, Stephen Nelson-Smith <sanelson at gmail.com> wrote:
> > VCR records the XML response just fine. But I couldn't find an entry
> point in aws-sdk-core that would allow me to pass it the frozen response
> and return the struct.
>
> You shouldn't need an entry point. VCR intercepts the HTTP connection
> (using e.g. WebMock or FakeWeb) during both recording and replay, so once
> you've recorded a real response it should be replayed the next time you run
> the test, instead of allowing aws-sdk-core to make a real HTTP request (as
> it does during recording).
>
Ahh... yes, sorry I've been being extremely dense. I'll test this a bit
later... I was just thinking as I was starting to plumb in my fixture
struct that this didn't quite feel right.
S.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20140414/c5fa1426/attachment-0003.html>
More information about the Chat
mailing list