Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'spec/spec_helper'
- @parser = ActivationMgr::Parser.new
- sub = Subscriber.find_by_phonenumber('16307752000')
- sub.destroy if not sub.nil?
- subscriber = create_subscriber( :phonenumber => '16307752000', :status => 'inactive' )
- activation_xml = read_xml_fixture( 'iad_enable.xml' )
- @parser.parse( activation_xml ).should == true
- test_sub = Subscriber.find( subscriber.id )
Add Comment
Please, Sign In to add comment