Guest User

Untitled

a guest
May 25th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. require 'spec/spec_helper'
  2. @parser = ActivationMgr::Parser.new
  3.  
  4. sub = Subscriber.find_by_phonenumber('16307752000')
  5. sub.destroy if not sub.nil?
  6. sub = Subscriber.find_by_phonenumber('16307752001')
  7. sub.destroy if not sub.nil?
  8. sub = create_subscriber( :phonenumber => '16307752000' )
  9.  
  10. mdn_xml = read_xml_fixture( 'iad_changemdn.xml' )
  11. @parser.parse( mdn_xml ).should == true
Add Comment
Please, Sign In to add comment