mail-sympa 1.2.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
metadata CHANGED
@@ -1,47 +1,73 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mail-sympa
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel J. Berger
8
8
  - David Salisbury
9
9
  - Mark Sallee
10
- autorequire:
11
10
  bindir: bin
12
- cert_chain: []
13
- date: 2016-03-12 00:00:00.000000000 Z
11
+ cert_chain:
12
+ - |
13
+ -----BEGIN CERTIFICATE-----
14
+ MIIEcDCCAtigAwIBAgIBATANBgkqhkiG9w0BAQsFADA/MREwDwYDVQQDDAhkamJl
15
+ cmc5NjEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQBGRYDY29t
16
+ MB4XDTE4MDMxODE1MjIwN1oXDTI4MDMxNTE1MjIwN1owPzERMA8GA1UEAwwIZGpi
17
+ ZXJnOTYxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkWA2Nv
18
+ bTCCAaIwDQYJKoZIhvcNAQEBBQADggGPADCCAYoCggGBALgfaroVM6CI06cxr0/h
19
+ A+j+pc8fgpRgBVmHFaFunq28GPC3IvW7Nvc3Y8SnAW7pP1EQIbhlwRIaQzJ93/yj
20
+ u95KpkP7tA9erypnV7dpzBkzNlX14ACaFD/6pHoXoe2ltBxk3CCyyzx70mTqJpph
21
+ 75IB03ni9a8yqn8pmse+s83bFJOAqddSj009sGPcQO+QOWiNxqYv1n5EHcvj2ebO
22
+ 6hN7YTmhx7aSia4qL/quc4DlIaGMWoAhvML7u1fmo53CYxkKskfN8MOecq2vfEmL
23
+ iLu+SsVVEAufMDDFMXMJlvDsviolUSGMSNRTujkyCcJoXKYYxZSNtIiyd9etI0X3
24
+ ctu0uhrFyrMZXCedutvXNjUolD5r9KGBFSWH1R9u2I3n3SAyFF2yzv/7idQHLJJq
25
+ 74BMnx0FIq6fCpu5slAipvxZ3ZkZpEXZFr3cIBtO1gFvQWW7E/Y3ijliWJS1GQFq
26
+ 058qERadHGu1yu1dojmFRo6W2KZvY9al2yIlbkpDrD5MYQIDAQABo3cwdTAJBgNV
27
+ HRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQUFZsMapgzJimzsbaBG2Tm8j5e
28
+ AzgwHQYDVR0RBBYwFIESZGpiZXJnOTZAZ21haWwuY29tMB0GA1UdEgQWMBSBEmRq
29
+ YmVyZzk2QGdtYWlsLmNvbTANBgkqhkiG9w0BAQsFAAOCAYEAW2tnYixXQtKxgGXq
30
+ /3iSWG2bLwvxS4go3srO+aRXZHrFUMlJ5W0mCxl03aazxxKTsVVpZD8QZxvK91OQ
31
+ h9zr9JBYqCLcCVbr8SkmYCi/laxIZxsNE5YI8cC8vvlLI7AMgSfPSnn/Epq1GjGY
32
+ 6L1iRcEDtanGCIvjqlCXO9+BmsnCfEVehqZkQHeYczA03tpOWb6pon2wzvMKSsKH
33
+ ks0ApVdstSLz1kzzAqem/uHdG9FyXdbTAwH1G4ZPv69sQAFAOCgAqYmdnzedsQtE
34
+ 1LQfaQrx0twO+CZJPcRLEESjq8ScQxWRRkfuh2VeR7cEU7L7KqT10mtUwrvw7APf
35
+ DYoeCY9KyjIBjQXfbj2ke5u1hZj94Fsq9FfbEQg8ygCgwThnmkTrrKEiMSs3alYR
36
+ ORVCZpRuCPpmC8qmqxUnARDArzucjaclkxjLWvCVHeFa9UP7K3Nl9oTjJNv+7/jM
37
+ WZs4eecIcUc4tKdHxcAJ0MO/Dkqq7hGaiHpwKY76wQ1+8xAh
38
+ -----END CERTIFICATE-----
39
+ date: 1980-01-02 00:00:00.000000000 Z
14
40
  dependencies:
15
41
  - !ruby/object:Gem::Dependency
16
- name: soap4r-ruby1.9
42
+ name: savon
17
43
  requirement: !ruby/object:Gem::Requirement
18
44
  requirements:
19
- - - ">="
45
+ - - "~>"
20
46
  - !ruby/object:Gem::Version
21
- version: 2.0.0
47
+ version: '2.12'
22
48
  type: :runtime
23
49
  prerelease: false
24
50
  version_requirements: !ruby/object:Gem::Requirement
25
51
  requirements:
26
- - - ">="
52
+ - - "~>"
27
53
  - !ruby/object:Gem::Version
28
- version: 2.0.0
54
+ version: '2.12'
29
55
  - !ruby/object:Gem::Dependency
30
- name: test-unit
56
+ name: nokogiri
31
57
  requirement: !ruby/object:Gem::Requirement
32
58
  requirements:
33
- - - ">="
59
+ - - "~>"
34
60
  - !ruby/object:Gem::Version
35
- version: 3.0.0
36
- type: :development
61
+ version: '1.13'
62
+ type: :runtime
37
63
  prerelease: false
38
64
  version_requirements: !ruby/object:Gem::Requirement
39
65
  requirements:
40
- - - ">="
66
+ - - "~>"
41
67
  - !ruby/object:Gem::Version
42
- version: 3.0.0
68
+ version: '1.13'
43
69
  - !ruby/object:Gem::Dependency
44
- name: dbi-dbrc
70
+ name: rake
45
71
  requirement: !ruby/object:Gem::Requirement
46
72
  requirements:
47
73
  - - ">="
@@ -54,32 +80,55 @@ dependencies:
54
80
  - - ">="
55
81
  - !ruby/object:Gem::Version
56
82
  version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rspec
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '3.0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '3.0'
57
97
  description: Ruby interface for the Sympa mailing list server
58
98
  email: djberg96@gmail.com
59
99
  executables: []
60
100
  extensions: []
61
- extra_rdoc_files:
62
- - README
63
- - CHANGES
64
- - MANIFEST
101
+ extra_rdoc_files: []
65
102
  files:
66
- - CHANGES
103
+ - CHANGES.md
67
104
  - Gemfile
68
- - lib
69
- - lib/mail
70
- - lib/mail/sympa.rb
105
+ - MANIFEST.md
106
+ - README.md
107
+ - Rakefile
108
+ - certs/djberg96_pub.pem
109
+ - docker/Dockerfile
110
+ - docker/run_specs.rb
111
+ - docker/seed_sympa.pl
112
+ - docker/test-apache.conf
113
+ - docker/test-sympa.conf
114
+ - docker/test-syslog.conf
115
+ - docker/test-topics.conf
71
116
  - lib/mail-sympa.rb
117
+ - lib/mail/sympa.rb
72
118
  - mail-sympa.gemspec
73
- - MANIFEST
74
- - Rakefile
75
- - README
76
- - test
77
- - test/test_mail_sympa.rb
119
+ - spec/mail_sympa_spec.rb
120
+ - spec/soap_integration_spec.rb
121
+ - spec/spec_helper.rb
78
122
  homepage: http://github.com/djberg96/mail-sympa
79
123
  licenses:
80
- - Artistic 2.0
81
- metadata: {}
82
- post_install_message:
124
+ - Artistic-2.0
125
+ metadata:
126
+ homepage_uri: https://github.com/djberg96/mail-sympa
127
+ bug_tracker_uri: https://github.com/djberg96/mail-sympa/issues
128
+ changelog_uri: https://github.com/djberg96/mail-sympa/blob/main/CHANGES.md
129
+ documentation_uri: https://github.com/djberg96/mail-sympa/wiki
130
+ source_code_uri: https://github.com/djberg96/mail-sympa
131
+ wiki_uri: https://github.com/djberg96/mail-sympa/wiki
83
132
  rdoc_options: []
84
133
  require_paths:
85
134
  - lib
@@ -87,19 +136,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
87
136
  requirements:
88
137
  - - ">="
89
138
  - !ruby/object:Gem::Version
90
- version: 1.9.3
139
+ version: '0'
91
140
  required_rubygems_version: !ruby/object:Gem::Requirement
92
141
  requirements:
93
142
  - - ">="
94
143
  - !ruby/object:Gem::Version
95
144
  version: '0'
96
145
  requirements: []
97
- rubyforge_project:
98
- rubygems_version: 2.4.5.1
99
- signing_key:
146
+ rubygems_version: 4.0.20
100
147
  specification_version: 4
101
148
  summary: The mail-sympa library provides a Ruby interface to the Sympa mailing list
102
149
  server software. This is a convenient and pretty wrapper for the various SOAP functions
103
150
  that Sympa server publishes. See http://www.sympa.org for more information.
104
151
  test_files:
105
- - test/test_mail_sympa.rb
152
+ - spec/mail_sympa_spec.rb
153
+ - spec/soap_integration_spec.rb
metadata.gz.sig ADDED
Binary file
data/CHANGES DELETED
@@ -1,22 +0,0 @@
1
- = 1.2.0 - 12-Mar-2016
2
- * No longer supports Ruby 1.8, and made corresponding changes to code.
3
- * Updated the Rakefile tasks. Now assumes Rubygems 2.x.
4
- * Added a mail-sympa.rb file for convenience.
5
- * Removed Gemfile.lock.
6
-
7
- = 1.1.0 - 19-Jul-2011
8
- * Added the authenticate_remote_app_and_run method to run in trusted context
9
- and support for Ruby 1.9+. Thanks go to Blair Christensen for patches.
10
-
11
- = 1.0.0 - 16-Jun-2011
12
- * Added the create_list and close_list methods and corresponding tests. Thanks
13
- go to Blair Christensen for both.
14
- * Added 0.1.1 changes to this file that I forgot.
15
- * Bumped the version to 1.0.0, as I have no more future plans for this library.
16
-
17
- = 0.1.1 - 17-Jan-2011
18
- * Fixed two parser warnings caused by missing commas.
19
- * Added a clean and default task to the Rakefile.
20
-
21
- = 0.1.0 - 13-Apr-2010
22
- * Initial release
data/MANIFEST DELETED
@@ -1,8 +0,0 @@
1
- * CHANGES
2
- * MANIFEST
3
- * README
4
- * Rakefile
5
- * mail-sympa.gemspec
6
- * lib/mail-sympa.rb
7
- * lib/mail/sympa.rb
8
- * test/test_mail_sympa.rb
data/README DELETED
@@ -1,52 +0,0 @@
1
- = Description
2
- The mail-sympa library is Ruby interface for the Sympa mailing list management
3
- software.
4
-
5
- = Prerequisites
6
- soap4r 1.5.8 or later
7
-
8
- = Installation
9
- gem install mail-sympa
10
-
11
- = Synopsis (tentative)
12
- require 'mail/sympa'
13
-
14
- mail = Mail::Sympa.new(server, namespace)
15
- mail.login(email, password)
16
-
17
- # Enumerate over each list and inspect it
18
- puts mail.lists.each do |list|
19
- p list
20
- end
21
-
22
- # Add a user quietly
23
- mail.add('foo@bar.com', 'some_list', 'Mr. Foo', true)
24
-
25
- = Known Issues
26
- The Sympa#add and Sympa#del methods return an empty string instead of
27
- a boolean. I am unsure why.
28
-
29
- = Acknowledgements
30
- Thanks go to Blair Christensen for some nice patches for this library.
31
-
32
- = License
33
- Artistic 2.0
34
-
35
- = Copyright
36
- (C) 2010-2011 Daniel J. Berger, Mark Sallee, David Salisbury, Blair Christensen
37
- All Rights Reserved
38
-
39
- = Warranty
40
- This library is provided "as is" and without any express or
41
- implied warranties, including, without limitation, the implied
42
- warranties of merchantability and fitness for a particular purpose.
43
-
44
- = Notes
45
- See http://www.sympa.org for details.
46
-
47
- = Authors
48
- Daniel Berger
49
- David Salisbury
50
- Mark Sallee
51
- Blair Christensen
52
-
@@ -1,346 +0,0 @@
1
- ##############################################################################
2
- # test_mail_sympa.rb
3
- #
4
- # This is the test suite for the mail-sympa library. You should run these
5
- # tests via the test rake task.
6
- #
7
- # In order for these tests to run successfully you must use the dbi-dbrc
8
- # library, and create an entry for 'test_sympa'. The user name should include
9
- # the full domain, e.g. foo@bar.org. and the driver should be set to the URL:
10
- #
11
- # test_sympa postmaster@foo.org xxx http://foo.bar.org/sympasoap
12
- #
13
- # For all tests to complete successfully, you must use admin credentials.
14
- ##############################################################################
15
- require 'mail/sympa'
16
- require 'dbi/dbrc'
17
- require 'test-unit'
18
-
19
- class MailSympaTest < Test::Unit::TestCase
20
- def self.startup
21
- @@info = DBI::DBRC.new('test_sympa')
22
- @@url = @@info.driver
23
- end
24
-
25
- def setup
26
- @mail = Mail::Sympa.new(@@url)
27
- @user = @@info.user
28
- @pass = @@info.passwd
29
- @list = 'testlist'
30
- @nosub = 'partners'
31
- end
32
-
33
- def create_list(name)
34
- begin
35
- @mail.info(name)
36
- rescue
37
- begin
38
- @mail.create_list(name, name)
39
- rescue => e
40
- fail "list does not exist and could not be created: #{name} - #{e.to_s}"
41
- end
42
- end
43
- end
44
-
45
- # Because most methods won't work without logging in first
46
- def login
47
- @mail.login(@user, @pass)
48
- end
49
-
50
- test "version constant is expected value" do
51
- assert_equal('1.2.0', Mail::Sympa::VERSION)
52
- end
53
-
54
- test "endpoint method basic functionality" do
55
- assert_respond_to(@mail, :endpoint)
56
- assert_nothing_raised{ @mail.endpoint }
57
- assert_kind_of(String, @mail.endpoint)
58
- end
59
-
60
- test "endpoint method returns expected result" do
61
- assert_equal(@@url, @mail.endpoint)
62
- end
63
-
64
- test "endpoint method is a readonly attribute" do
65
- assert_raise(NoMethodError){ @mail.endpoint = 'foo' }
66
- end
67
-
68
- test "namespace method basic functionality" do
69
- assert_respond_to(@mail, :namespace)
70
- assert_nothing_raised{ @mail.namespace }
71
- assert_kind_of(String, @mail.namespace)
72
- end
73
-
74
- test "namespace method returns expected result" do
75
- assert_equal("urn:sympasoap", @mail.namespace)
76
- end
77
-
78
- test "namespace method is a readonly attrubite" do
79
- assert_raise(NoMethodError){ @mail.namespace = 'foo' }
80
- end
81
-
82
- test "login method basic functionality" do
83
- assert_respond_to(@mail, :login)
84
- end
85
-
86
- test "login method works as expected with proper credentials" do
87
- assert_nothing_raised{ @mail.login(@user, @pass) }
88
- assert_not_nil(@mail.cookie)
89
- assert_kind_of(String, @mail.login(@user, @pass))
90
- end
91
-
92
- test "login method raises an error if the credentials are invalid" do
93
- assert_raise(SOAP::FaultError){ @mail.login('bogus', 'bogus') }
94
- end
95
-
96
- test "login method requires two arguments" do
97
- assert_raise(ArgumentError){ @mail.login }
98
- assert_raise(ArgumentError){ @mail.login('bogus') }
99
- end
100
-
101
- test "lists method basic functionality" do
102
- login
103
- assert_respond_to(@mail, :lists)
104
- assert_nothing_raised{ @mail.lists }
105
- end
106
-
107
- test "lists method with no arguments returns all lists" do
108
- login
109
- assert_kind_of(Array, @mail.lists)
110
- assert_kind_of(String, @mail.lists.first)
111
- end
112
-
113
- test "lists method accepts a topic and subtopic" do
114
- login
115
- create_list(@list)
116
- assert_kind_of(Array, @mail.lists(@list))
117
- assert_kind_of(Array, @mail.lists(@list, @list))
118
- end
119
-
120
- test "lists method returns empty array if topic or subtopic is not found" do
121
- login
122
- assert_equal([], @mail.lists('bogus'))
123
- assert_equal([], @mail.lists(@list, 'bogus'))
124
- end
125
-
126
- test "lists method accepts a maximum of two arguments" do
127
- assert_raise(ArgumentError){ @mail.lists(@list, @list, @list) }
128
- end
129
-
130
- test "complex_lists method basic functionality" do
131
- login
132
- assert_respond_to(@mail, :complex_lists)
133
- assert_nothing_raised{ @mail.complex_lists }
134
- end
135
-
136
- test "complex_lists method with no arguments returns all lists" do
137
- login
138
- assert_kind_of(Array, @mail.lists)
139
- assert_kind_of(SOAP::Mapping::Object, @mail.complex_lists.first)
140
- end
141
-
142
- test "complex_lists method accepts a topic and subtopic" do
143
- login
144
- assert_kind_of(Array, @mail.complex_lists(@list))
145
- assert_kind_of(Array, @mail.complex_lists(@list, @list))
146
- end
147
-
148
- test "complex_lists method returns empty array if topic or subtopic is not found" do
149
- login
150
- assert_equal([], @mail.complex_lists('bogus'))
151
- assert_equal([], @mail.complex_lists(@list, 'bogus'))
152
- end
153
-
154
- test "complex_lists method accepts a maximum of two arguments" do
155
- assert_raise(ArgumentError){ @mail.complex_lists(@list, @list, @list) }
156
- end
157
-
158
- test "info method basic functionality" do
159
- login
160
- assert_respond_to(@mail, :info)
161
- assert_nothing_raised{ @mail.info(@list) }
162
- end
163
-
164
- test "info method expected results" do
165
- login
166
- assert_kind_of(SOAP::Mapping::Object, @mail.info(@list))
167
- end
168
-
169
- test "review method basic functionality" do
170
- login
171
- assert_respond_to(@mail, :review)
172
- assert_nothing_raised{ @mail.review(@list) }
173
- end
174
-
175
- test "review method returns expected results" do
176
- login
177
- assert_kind_of(Array, @mail.review(@list))
178
- assert_kind_of(String, @mail.review(@list).first)
179
- end
180
-
181
- test "review method returns 'no_subscribers' if list has no subscribers" do
182
- login
183
- create_list(@nosub)
184
- assert_equal(['no_subscribers'], @mail.review(@nosub))
185
- end
186
-
187
- test "review method raises an error if list isn't found" do
188
- login
189
- assert_raise(SOAP::FaultError){ @mail.review('bogusxxxyyyzzz') }
190
- end
191
-
192
- test "which basic functionality" do
193
- assert_respond_to(@mail, :which)
194
- end
195
-
196
- test "complex_which basic functionality" do
197
- assert_respond_to(@mail, :complex_which)
198
- end
199
-
200
- test "complexWhich is an alias for complex_which" do
201
- assert_alias_method(@mail, :complexWhich, :complex_which)
202
- end
203
-
204
- test "am_i basic functionality" do
205
- login
206
- assert_respond_to(@mail, :am_i?)
207
- assert_nothing_raised{ @mail.am_i?(@user, @list) }
208
- assert_nothing_raised{ @mail.am_i?(@user, @list, 'owner') }
209
- end
210
-
211
- test "am_i returns expected result" do
212
- login
213
- assert_boolean(@mail.am_i?(@user, @list))
214
- end
215
-
216
- test "am_i function name must be owner or editor" do
217
- assert_raise(Mail::Sympa::Error){ @mail.am_i?(@user, @list, 'bogus') }
218
- end
219
-
220
- test "amI is an alias for am_i?" do
221
- assert_alias_method(@mail, :amI, :am_i?)
222
- end
223
-
224
- test "add basic functionality" do
225
- assert_respond_to(@mail, :add)
226
- end
227
-
228
- test "add returns expected result" do
229
- login
230
- notify("The documentation says this should return a boolean")
231
- assert_boolean(@mail.add('test@foo.com', @list, 'test'))
232
- end
233
-
234
- test "add requires at least three arguments" do
235
- assert_raise(ArgumentError){ @mail.add }
236
- assert_raise(ArgumentError){ @mail.add('test@foo.com') }
237
- assert_raise(ArgumentError){ @mail.add('test@foo.com', @list) }
238
- end
239
-
240
- test "del basic functionality" do
241
- assert_respond_to(@mail, :del)
242
- end
243
-
244
- test "del returns expected result" do
245
- login
246
- notify("The documentation says this should return a boolean")
247
- assert_boolean(@mail.del('test@foo.com', @list))
248
- end
249
-
250
- test "delete is an alias for del" do
251
- assert_alias_method(@mail, :delete, :del)
252
- end
253
-
254
- test "del requires at least two arguments" do
255
- assert_raise(ArgumentError){ @mail.delete }
256
- assert_raise(ArgumentError){ @mail.delete('test@foo.com') }
257
- end
258
-
259
- test "subscribe basic functionality" do
260
- assert_respond_to(@mail, :subscribe)
261
- end
262
-
263
- test "subscribe expected results" do
264
- login
265
- assert_boolean(@mail.subscribe(@list, 'test'))
266
- end
267
-
268
- test "subscribe requires at least one argument" do
269
- assert_raise(ArgumentError){ @mail.subscribe }
270
- end
271
-
272
- test "signoff basic functionality" do
273
- assert_respond_to(@mail, :signoff)
274
- end
275
-
276
- test "signoff expected results" do
277
- login
278
- assert_boolean(@mail.signoff(@list))
279
- end
280
-
281
- test "unsubscribe is an alias for signoff" do
282
- assert_alias_method(@mail, :unsubscribe, :signoff)
283
- end
284
-
285
- test "signoff requires one argument only" do
286
- assert_raise(ArgumentError){ @mail.signoff }
287
- assert_raise(ArgumentError){ @mail.signoff(@user, @list) }
288
- end
289
-
290
- test "create_list basic functionality" do
291
- assert_respond_to(@mail, :create_list)
292
- end
293
-
294
- test "create_list returns expected result" do
295
- login
296
- assert_boolean(@mail.create_list("test-#{Time.now.to_i.to_s}", 'Test List'))
297
- end
298
-
299
- test "create_list requires at least two arguments" do
300
- assert_raise(ArgumentError){ @mail.create_list }
301
- assert_raise(ArgumentError){ @mail.create_list("test-#{Time.now.to_i.to_s}") }
302
- end
303
-
304
- test "close_list basic functionality" do
305
- assert_respond_to(@mail, :close_list)
306
- end
307
-
308
- test "close_list returns expected result" do
309
- login
310
- list_name = "test-#{Time.now.to_i.to_s}"
311
- @mail.create_list(list_name, 'Test List')
312
- notify("The documentation says this should return a boolean")
313
- assert_boolean(@mail.close_list(list_name))
314
- end
315
-
316
- test "close_list requires one argument only" do
317
- assert_raise(ArgumentError){ @mail.close_list }
318
- assert_raise(ArgumentError){ @mail.close_list("A", "B")}
319
- end
320
-
321
- test "authenticate_remote_app_and_run basic functionality" do
322
- assert_respond_to(@mail, :authenticate_remote_app_and_run)
323
- assert_respond_to(@mail, :authenticateRemoteAppAndRun)
324
- end
325
-
326
- test "authenticate_remote_app_and_run requires five arguments" do
327
- assert_raise(ArgumentError){ @mail.authenticate_remote_app_and_run }
328
- assert_raise(ArgumentError){ @mail.authenticate_remote_app_and_run("A") }
329
- assert_raise(ArgumentError){ @mail.authenticate_remote_app_and_run("A", "B") }
330
- assert_raise(ArgumentError){ @mail.authenticate_remote_app_and_run("A", "B", "C") }
331
- assert_raise(ArgumentError){ @mail.authenticate_remote_app_and_run("A", "B", "C", "D") }
332
- assert_raise(ArgumentError){ @mail.authenticate_remote_app_and_run("A", "B", "C", "D", "E", "F") }
333
- end
334
-
335
- def teardown
336
- @mail = nil
337
- @user = nil
338
- @pass = nil
339
- @list = nil
340
- end
341
-
342
- def self.shutdown
343
- @@url = nil
344
- @@info = nil
345
- end
346
- end