Integration tests fail
I have handsoap 0.2.5 installed and the integration tests fail with the following errors:
-
Error: test_get_city_forecast_by_zip(WeatherServiceTest): Handsoap::Fault: Handsoap::Fault { :code => 'soap:Client', :reason => 'Server did not recognize the value of HTTP Header SOAPAction: GetCityForecastByZIP.' } /Library/Ruby/Gems/1.8/gems/troelskn-handsoap-0.2.5/lib/handsoap/service.rb:177:in
on_fault' /Library/Ruby/Gems/1.8/gems/troelskn-handsoap-0.2.5/lib/handsoap/service.rb:274:indispatch' /Library/Ruby/Gems/1.8/gems/troelskn-handsoap-0.2.5/lib/handsoap/service.rb:171:ininvoke' app/models/weather_service.rb:11:inget_city_forecast_by_zip' /Library/Ruby/Gems/1.8/gems/troelskn-handsoap-0.2.5/lib/handsoap/service.rb:142:in__send__' /Library/Ruby/Gems/1.8/gems/troelskn-handsoap-0.2.5/lib/handsoap/service.rb:142:inmethod_missing' /test/integration/weather_service_test.rb:8:intest_get_city_forecast_by_zip' mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:insend' mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run' -
Error: test_get_city_weather_by_zip(WeatherServiceTest): Handsoap::Fault: Handsoap::Fault { :code => 'soap:Client', :reason => 'Server did not recognize the value of HTTP Header SOAPAction: GetCityWeatherByZIP.' } /Library/Ruby/Gems/1.8/gems/troelskn-handsoap-0.2.5/lib/handsoap/service.rb:177:in
on_fault' /Library/Ruby/Gems/1.8/gems/troelskn-handsoap-0.2.5/lib/handsoap/service.rb:274:indispatch' /Library/Ruby/Gems/1.8/gems/troelskn-handsoap-0.2.5/lib/handsoap/service.rb:171:ininvoke' app/models/weather_service.rb:19:inget_city_weather_by_zip' /Library/Ruby/Gems/1.8/gems/troelskn-handsoap-0.2.5/lib/handsoap/service.rb:142:in__send__' /Library/Ruby/Gems/1.8/gems/troelskn-handsoap-0.2.5/lib/handsoap/service.rb:142:inmethod_missing' /test/integration/weather_service_test.rb:13:intest_get_city_weather_by_zip' mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:insend' mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in `run' -
Error: test_get_weather_information_by_id(WeatherServiceTest): Handsoap::Fault: Handsoap::Fault { :code => 'soap:Client', :reason => 'Server did not recognize the value of HTTP Header SOAPAction: GetWeatherInformation.' } /Library/Ruby/Gems/1.8/gems/troelskn-handsoap-0.2.5/lib/handsoap/service.rb:177:in
on_fault' /Library/Ruby/Gems/1.8/gems/troelskn-handsoap-0.2.5/lib/handsoap/service.rb:274:indispatch' /Library/Ruby/Gems/1.8/gems/troelskn-handsoap-0.2.5/lib/handsoap/service.rb:171:ininvoke' app/models/weather_service.rb:27:inget_weather_information' app/models/weather_service.rb:32:inget_weather_information_by_id' /Library/Ruby/Gems/1.8/gems/troelskn-handsoap-0.2.5/lib/handsoap/service.rb:142:insend' /Library/Ruby/Gems/1.8/gems/troelskn-handsoap-0.2.5/lib/handsoap/service.rb:142:inmethod_missing' /test/integration/weather_service_test.rb:17:intest_get_weather_information_by_id' mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:in__send__' mocha (0.9.5) lib/mocha/test_case_adapter.rb:69:inrun'
3 tests, 0 assertions, 0 failures, 3 errors rake aborted!
The tests pass with v0.1.2, which is the earlier one I had installed