Hai I would like to know how to test block parameters send to method with arguments...
Problem: Here i would like to get weather report basing on city_name. here my method name is request and i am sending :get_cities_weather as argument to that method. @cities_weather = request(:get_cities_weather) do soap.body = { weather_request =>{:city_name => "Banglore" } } end Issue: Here My problem is with block and i would like to know how to test block params i.e soap.body = { weather_request =>{:city_name => "Banglore" } } Here i need to test soap.body key name i.e "weather_request" wheather i am sending exact key name or not?? Could u please help me how to test it??????????? -- Posted via http://www.ruby-forum.com/. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users