That error has nothing to do with RSpec (I suspect you'd get it in any test 
framework).  It's a curb error.  You should check with the curb maintainers.

On Thursday, June 20, 2013 6:47:48 AM UTC-7, enQA wrote:
>
> Running an RSpec test with ruby bindings for libcurl (with 
> curb<https://github.com/taf2/curb>) 
> like so:
>
> it "Should return JSON data with usernames" do
>   $var = Curl::Easy.new("some-url.com")
>   $var.perform
>   data = JSON.parse($var.body_str)
>   data['username'].should eq('some user')end
>
> and sometimes I get this error:
>
> Failure/Error: $var.perform
>  Curl::Err::OutOfMemoryError:
>    Curl::Err::OutOfMemoryError
>
> Anyone know how to resolve this?
>

-- 
You received this message because you are subscribed to the Google Groups 
"rspec" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rspec/c4524e37-55f0-49a7-9f53-b76b947ac13a%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to