Sha256: 12500a482559ee2de64c5a1e692ad720679b699e4c6661a5c1f00161a6095807
Contents?: true
Size: 992 Bytes
Versions: 3
Compression:
Stored size: 992 Bytes
Contents
# RSpec.describe 'contacts integration test', skip: true do # include PigeonSpecHelper # # it 'test_create_and_delete_new_list(self):' do # contact_list = PIGEON.lists.create 'Active customers', 'Bob', 'bob@acmetools.com' # # validate_response contact_list, 200, 'success', /list=#{contact_list.list.id} created\/updated successfully/ # contact_list.list.name.should eq 'Active customers' # contact_list.list.from_name.should eq 'Bob' # contact_list.list.reply_to.should eq 'bob@acmetools.com' # contact_list.list.contact_count.should eq 0 # # res = PIGEON.lists.delete(contact_list.list.id) # validate_response res, 200, 'success', /list=#{contact_list.list.id} deleted successfully/ # end # # it 'should update existing list' do # existing_list = PIGEON.lists.create('Update', 'Bob', 'bob@acmetools.com') # end # # list_name = "Upload_#{Kernel.rand(9999)}" # existing_list = PIGEON.lists.create(list_name, 'Bob', 'bob@acmetools.com') # end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
express_pigeon-2.0.2 | spec/express_pigeon/api/lists_spec.rb |
express_pigeon-2.0.1 | spec/express_pigeon/api/lists_spec.rb |
express_pigeon-2.0.0 | spec/express_pigeon/api/lists_spec.rb |