[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: help with webmock tests



2014-04-19 19:09 GMT+05:30, Cédric Boutillier <boutil@debian.org>:
> Hi Praveen,
>
> On Sat, Apr 19, 2014 at 03:49:31PM +0530, Pirate Praveen wrote:
>> >> It needs ruby-em-http-request 1.1.2 but it seems to be not getting
>> >> built even after 3 days. Do anyone know the reason?
>
>> Finally em-http-request new version is available in unstable.
>
>> I was able to run all tests in my local environment but it is failing
>> in pbuilder. Can anyone try to run those? It is related to test/unit
>> and minitest. My ruby expertise is almost nil and I won't be able to
>> fix them myself. Other option is to disable these tests.
>
>> /tmp/buildd/ruby-webmock-1.17.4/lib/webmock/test_unit.rb:9:in
>> `alias_method': undefined method `teardown' for class `MiniTest::Test'
>> (NameError)
>
> Dropping patch remove-rubygems-port-to-minitest5.patch and adding
> ruby-test-unit to build depends resulted in a build success with both
> dpkg-buildpackage and sbuild.

thanks cedric and avtobiff! Now all minitest tests are failing in
pbuilder (git-buildpackage is working) with errors like this.

1) Error:
test_0003_should verify that expected request occured(Webmock):
NoMethodError: undefined method `stub_http_request' for
#<#<Class:0x00000002d2d870>:0x00000002d40948>
    /tmp/buildd/ruby-webmock-1.17.4/minitest/webmock_spec.rb:7:in
`block (2 levels) in <top (required)>'

-- 
പ്രവീണ്‍ അരിമ്പ്രത്തൊടിയില്‍
You have to keep reminding your government that you don't get your rights
from them; you give them permission to rule, only so long as they follow the
rules: laws and constitution.


Reply to: