require File.dirname(__FILE__) + '/../test_helper' class ResponseTest < Test::Unit::TestCase def test_initialize assert_nothing_raised do RateResponse.new(true, "success!", {:rate => 'Free!'}, :rates => [stub(:service_name => 'Free!', :total_price => 0)], :xml => "Free!") end end end