Guest User

Untitled

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