./test/general/avs_test.rb in exact4r-1.0 vs ./test/general/avs_test.rb in exact4r-1.1

- old
+ new

@@ -29,10 +29,12 @@ r = EWS::Transaction::Request.new(tx_params) assert_equal '1234567LOUGHEEDHIGHW|902101234', r.cc_verification_str1 end def test_encodes_for_paymentech + return unless @@credentials.chase? + tx_params = basic_params.merge(:avs_test_flag => nil, :avs_street_address => '1234567LOUGHEEDHIGHW', :avs_unit_no => nil, :avs_po_box => nil, :avs_postal_code => '902101234').merge(@@credentials.chase) @@ -53,9 +55,11 @@ resp = EWS::Transporter.new(@@credentials.config['location']).submit(r) assert_equal '1234567LOUGHEEDHIGHW902101234', resp.cc_verification_str1 end def test_space_with_numerals_for_tsys + return unless @@credentials.tsys? + transporter = EWS::Transporter.new(@@credentials.config['location']) # should put space between numeral and zip code for Tsys tx_params = basic_params.merge(:avs_test_flag => nil, :avs_street_address => nil, \ No newline at end of file