[WIP] Faraday

@jcwilk Another proof of concept...

I created a Faraday adapter using crystal lake. I'm not sure this is the best strategy for the longterm implementation, but it seems to work.
cool thanks, i'll try to set aside some time soon to look into whether
that's a blocker... i've only done it in a spec (ie, not from a request) so
that's entirely possible.

On Fri, Sep 19, 2014 at 5:07 PM, Chris Friedrich <notifications@github.com>
wrote:

> In spec/requests/posting_spec.rb:
>
> > @@ -3,8 +3,9 @@
> >  describe 'Posting' do
> >
> >    let(:user_params) { { user: FactoryGirl.attributes_for(:user) } }
> > +  let(:conn) { Faraday.new(url: 'http://www.crystallake.com') { |f| f.adapter :crystal_lake } }
>
> Oh, I see what you're saying now. I haven't tried it yet but I'm worried
> that it won't work because Rails (or maybe Rack) throws an error when you
> initialize multiple Response objects in the same Thread.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/lumoslabs/crystal_lake/pull/1/files#r17815721>.
>