author | Mahlon E. Smith <mahlon@laika.com> |
Mon, 06 Feb 2017 11:54:16 -0800 | |
changeset 14 | cba9fb39bcdb |
parent 12 | 3cc813140c80 |
child 15 | a38e6916504c |
permissions | -rw-r--r-- |
1
1d3cfd4837a8
Filled out the project, added Ezmlm module + spec.
Michael Granger <mgranger@laika.com>
parents:
diff
changeset
|
1 |
#!/usr/bin/env ruby |
1d3cfd4837a8
Filled out the project, added Ezmlm module + spec.
Michael Granger <mgranger@laika.com>
parents:
diff
changeset
|
2 |
|
1d3cfd4837a8
Filled out the project, added Ezmlm module + spec.
Michael Granger <mgranger@laika.com>
parents:
diff
changeset
|
3 |
BEGIN { |
1d3cfd4837a8
Filled out the project, added Ezmlm module + spec.
Michael Granger <mgranger@laika.com>
parents:
diff
changeset
|
4 |
require 'pathname' |
1d3cfd4837a8
Filled out the project, added Ezmlm module + spec.
Michael Granger <mgranger@laika.com>
parents:
diff
changeset
|
5 |
basedir = Pathname.new( __FILE__ ).dirname.parent.parent |
1d3cfd4837a8
Filled out the project, added Ezmlm module + spec.
Michael Granger <mgranger@laika.com>
parents:
diff
changeset
|
6 |
libdir = basedir + "lib" |
1d3cfd4837a8
Filled out the project, added Ezmlm module + spec.
Michael Granger <mgranger@laika.com>
parents:
diff
changeset
|
7 |
$LOAD_PATH.unshift( libdir ) unless $LOAD_PATH.include?( libdir ) |
1d3cfd4837a8
Filled out the project, added Ezmlm module + spec.
Michael Granger <mgranger@laika.com>
parents:
diff
changeset
|
8 |
} |
1d3cfd4837a8
Filled out the project, added Ezmlm module + spec.
Michael Granger <mgranger@laika.com>
parents:
diff
changeset
|
9 |
|
12
3cc813140c80
First round of modernizing after a long absence.
Mahlon E. Smith <mahlon@martini.nu>
parents:
6
diff
changeset
|
10 |
require_relative '../spec_helpers' |
3cc813140c80
First round of modernizing after a long absence.
Mahlon E. Smith <mahlon@martini.nu>
parents:
6
diff
changeset
|
11 |
require 'ezmlm' |
1
1d3cfd4837a8
Filled out the project, added Ezmlm module + spec.
Michael Granger <mgranger@laika.com>
parents:
diff
changeset
|
12 |
|
1d3cfd4837a8
Filled out the project, added Ezmlm module + spec.
Michael Granger <mgranger@laika.com>
parents:
diff
changeset
|
13 |
describe Ezmlm::List do |
1d3cfd4837a8
Filled out the project, added Ezmlm module + spec.
Michael Granger <mgranger@laika.com>
parents:
diff
changeset
|
14 |
|
14 | 15 |
before( :each ) do |
16 |
@listdir = make_listdir() |
|
17 |
end |
|
12
3cc813140c80
First round of modernizing after a long absence.
Mahlon E. Smith <mahlon@martini.nu>
parents:
6
diff
changeset
|
18 |
|
14 | 19 |
after( :each ) do |
20 |
rm_r( @listdir ) |
|
21 |
end |
|
22 |
||
23 |
let( :list ) do |
|
24 |
described_class.new( @listdir ) |
|
25 |
end |
|
12
3cc813140c80
First round of modernizing after a long absence.
Mahlon E. Smith <mahlon@martini.nu>
parents:
6
diff
changeset
|
26 |
|
2
7b5a0131d5cd
Added more list-config accessors
Michael Granger <mgranger@laika.com>
parents:
1
diff
changeset
|
27 |
|
14 | 28 |
it "can return the list name" do |
29 |
expect( list.name ).to eq( TEST_LIST_NAME ) |
|
30 |
end |
|
2
7b5a0131d5cd
Added more list-config accessors
Michael Granger <mgranger@laika.com>
parents:
1
diff
changeset
|
31 |
|
14 | 32 |
it "can return the list host" do |
33 |
expect( list.host ).to eq( TEST_LIST_HOST ) |
|
34 |
end |
|
12
3cc813140c80
First round of modernizing after a long absence.
Mahlon E. Smith <mahlon@martini.nu>
parents:
6
diff
changeset
|
35 |
|
14 | 36 |
it "can return the list address" do |
37 |
expect( list.address ).to eq( TEST_LIST_NAME + '@' + TEST_LIST_HOST ) |
|
38 |
end |
|
12
3cc813140c80
First round of modernizing after a long absence.
Mahlon E. Smith <mahlon@martini.nu>
parents:
6
diff
changeset
|
39 |
|
14 | 40 |
it "returns nil if the list owner isn't an email address" do |
41 |
expect( list.owner ).to eq( nil ) |
|
42 |
end |
|
12
3cc813140c80
First round of modernizing after a long absence.
Mahlon E. Smith <mahlon@martini.nu>
parents:
6
diff
changeset
|
43 |
|
14 | 44 |
it "can return an email address owner" do |
45 |
expect( list ).to receive( :read ).with( 'owner' ).and_return( TEST_OWNER ) |
|
46 |
expect( list.owner ).to eq( TEST_OWNER ) |
|
47 |
end |
|
12
3cc813140c80
First round of modernizing after a long absence.
Mahlon E. Smith <mahlon@martini.nu>
parents:
6
diff
changeset
|
48 |
|
3cc813140c80
First round of modernizing after a long absence.
Mahlon E. Smith <mahlon@martini.nu>
parents:
6
diff
changeset
|
49 |
|
14 | 50 |
it "can add a new subscriber" do |
51 |
list.add_subscriber( *TEST_SUBSCRIBERS ) |
|
52 |
expect( list.is_subscriber?( TEST_SUBSCRIBERS.first ) ).to be_truthy |
|
53 |
end |
|
12
3cc813140c80
First round of modernizing after a long absence.
Mahlon E. Smith <mahlon@martini.nu>
parents:
6
diff
changeset
|
54 |
|
14 | 55 |
it "can return the list of subscibers" do |
56 |
list.add_subscriber( *TEST_SUBSCRIBERS ) |
|
57 |
list.add_subscriber( 'notanemailaddress' ) |
|
58 |
expect( list.subscribers.length ).to eq( 3 ) |
|
59 |
expect( list.subscribers ).to include( TEST_SUBSCRIBERS.first ) |
|
60 |
end |
|
12
3cc813140c80
First round of modernizing after a long absence.
Mahlon E. Smith <mahlon@martini.nu>
parents:
6
diff
changeset
|
61 |
|
14 | 62 |
it "can remove a current subscriber" do |
63 |
list.add_subscriber( *TEST_SUBSCRIBERS ) |
|
64 |
list.remove_subscriber( 'notanemailaddress' ) |
|
65 |
list.remove_subscriber( TEST_MODERATORS.first ) |
|
66 |
expect( list.subscribers.length ).to eq( 2 ) |
|
67 |
end |
|
5
804e1c2b9a40
* Added rdoc-generation to the cruise task and the artifacts that get saved
Michael Granger <mgranger@laika.com>
parents:
4
diff
changeset
|
68 |
|
12
3cc813140c80
First round of modernizing after a long absence.
Mahlon E. Smith <mahlon@martini.nu>
parents:
6
diff
changeset
|
69 |
|
14 | 70 |
it "can add a new moderator" do |
71 |
list.add_moderator( *TEST_MODERATORS ) |
|
72 |
expect( list.is_moderator?( TEST_MODERATORS.first ) ).to be_truthy |
|
73 |
end |
|
12
3cc813140c80
First round of modernizing after a long absence.
Mahlon E. Smith <mahlon@martini.nu>
parents:
6
diff
changeset
|
74 |
|
14 | 75 |
it "can return the list of moderators" do |
76 |
list.add_moderator( *TEST_MODERATORS ) |
|
77 |
expect( list.moderators.length ).to eq( 1 ) |
|
78 |
expect( list.moderators ).to include( TEST_MODERATORS.first ) |
|
79 |
end |
|
12
3cc813140c80
First round of modernizing after a long absence.
Mahlon E. Smith <mahlon@martini.nu>
parents:
6
diff
changeset
|
80 |
|
14 | 81 |
it "can remove a current moderator" do |
82 |
list.add_moderator( *TEST_MODERATORS ) |
|
83 |
list.remove_moderator( TEST_MODERATORS.first ) |
|
84 |
expect( list.moderators ).to be_empty |
|
85 |
end |
|
2
7b5a0131d5cd
Added more list-config accessors
Michael Granger <mgranger@laika.com>
parents:
1
diff
changeset
|
86 |
|
7b5a0131d5cd
Added more list-config accessors
Michael Granger <mgranger@laika.com>
parents:
1
diff
changeset
|
87 |
|
14 | 88 |
it "can add a blacklisted address" do |
89 |
list.add_blacklisted( *TEST_MODERATORS ) |
|
90 |
expect( list.is_blacklisted?( TEST_MODERATORS.first ) ).to be_truthy |
|
91 |
end |
|
2
7b5a0131d5cd
Added more list-config accessors
Michael Granger <mgranger@laika.com>
parents:
1
diff
changeset
|
92 |
|
14 | 93 |
it "can return the list of blacklisted addresses" do |
94 |
list.add_blacklisted( *TEST_MODERATORS ) |
|
95 |
expect( list.blacklisted.length ).to eq( 1 ) |
|
96 |
expect( list.blacklisted ).to include( TEST_MODERATORS.first ) |
|
97 |
end |
|
12
3cc813140c80
First round of modernizing after a long absence.
Mahlon E. Smith <mahlon@martini.nu>
parents:
6
diff
changeset
|
98 |
|
14 | 99 |
it "can remove a blacklisted address" do |
100 |
list.add_blacklisted( *TEST_MODERATORS ) |
|
101 |
list.remove_blacklisted( TEST_MODERATORS.first ) |
|
102 |
expect( list.blacklisted ).to be_empty |
|
103 |
end |
|
2
7b5a0131d5cd
Added more list-config accessors
Michael Granger <mgranger@laika.com>
parents:
1
diff
changeset
|
104 |
|
12
3cc813140c80
First round of modernizing after a long absence.
Mahlon E. Smith <mahlon@martini.nu>
parents:
6
diff
changeset
|
105 |
|
14 | 106 |
it "can add an allowed address" do |
107 |
list.add_allowed( *TEST_MODERATORS ) |
|
108 |
expect( list.is_allowed?( TEST_MODERATORS.first ) ).to be_truthy |
|
109 |
end |
|
2
7b5a0131d5cd
Added more list-config accessors
Michael Granger <mgranger@laika.com>
parents:
1
diff
changeset
|
110 |
|
14 | 111 |
it "can return the list of allowed addresses" do |
112 |
list.add_allowed( *TEST_MODERATORS ) |
|
113 |
expect( list.allowed.length ).to eq( 1 ) |
|
114 |
expect( list.allowed ).to include( TEST_MODERATORS.first ) |
|
115 |
end |
|
2
7b5a0131d5cd
Added more list-config accessors
Michael Granger <mgranger@laika.com>
parents:
1
diff
changeset
|
116 |
|
14 | 117 |
it "can remove a allowed address" do |
118 |
list.add_allowed( *TEST_MODERATORS ) |
|
119 |
list.remove_allowed( TEST_MODERATORS.first ) |
|
120 |
expect( list.allowed ).to be_empty |
|
121 |
end |
|
12
3cc813140c80
First round of modernizing after a long absence.
Mahlon E. Smith <mahlon@martini.nu>
parents:
6
diff
changeset
|
122 |
|
3cc813140c80
First round of modernizing after a long absence.
Mahlon E. Smith <mahlon@martini.nu>
parents:
6
diff
changeset
|
123 |
|
14 | 124 |
it 'can return the current threading state' do |
125 |
expect( list.threaded? ).to be_falsey |
|
126 |
end |
|
3
9b9e85ccf4f9
Add a test for a customized moderator's directory in the dir/remote file.
Michael Granger <mgranger@laika.com>
parents:
2
diff
changeset
|
127 |
|
14 | 128 |
it 'can set the threading state' do |
129 |
list.threaded = true |
|
130 |
expect( list.threaded? ).to be_truthy |
|
131 |
end |
|
2
7b5a0131d5cd
Added more list-config accessors
Michael Granger <mgranger@laika.com>
parents:
1
diff
changeset
|
132 |
|
7b5a0131d5cd
Added more list-config accessors
Michael Granger <mgranger@laika.com>
parents:
1
diff
changeset
|
133 |
|
14 | 134 |
it 'can return the current public/private state' do |
135 |
expect( list.public? ).to be_truthy |
|
136 |
expect( list.private? ).to be_falsey |
|
137 |
end |
|
12
3cc813140c80
First round of modernizing after a long absence.
Mahlon E. Smith <mahlon@martini.nu>
parents:
6
diff
changeset
|
138 |
|
14 | 139 |
it 'can set the privacy state' do |
140 |
list.public = false |
|
141 |
expect( list.public? ).to be_falsey |
|
142 |
expect( list.private? ).to be_truthy |
|
2
7b5a0131d5cd
Added more list-config accessors
Michael Granger <mgranger@laika.com>
parents:
1
diff
changeset
|
143 |
|
14 | 144 |
list.private = false |
145 |
expect( list.private? ).to be_falsey |
|
146 |
expect( list.public? ).to be_truthy |
|
147 |
end |
|
12
3cc813140c80
First round of modernizing after a long absence.
Mahlon E. Smith <mahlon@martini.nu>
parents:
6
diff
changeset
|
148 |
|
3cc813140c80
First round of modernizing after a long absence.
Mahlon E. Smith <mahlon@martini.nu>
parents:
6
diff
changeset
|
149 |
|
14 | 150 |
it 'can set the remote subscription state' do |
151 |
expect( list.remote_subscriptions? ).to be_falsey |
|
152 |
list.remote_subscriptions = true |
|
153 |
expect( list.remote_subscriptions? ).to be_truthy |
|
154 |
list.remote_subscriptions = false |
|
155 |
expect( list.remote_subscriptions? ).to be_falsey |
|
156 |
end |
|
2
7b5a0131d5cd
Added more list-config accessors
Michael Granger <mgranger@laika.com>
parents:
1
diff
changeset
|
157 |
|
7b5a0131d5cd
Added more list-config accessors
Michael Granger <mgranger@laika.com>
parents:
1
diff
changeset
|
158 |
|
14 | 159 |
it 'can set subscription moderation state' do |
160 |
expect( list.moderated_subscriptions? ).to be_falsey |
|
161 |
list.moderated_subscriptions = true |
|
162 |
expect( list.moderated_subscriptions? ).to be_truthy |
|
163 |
list.moderated_subscriptions = false |
|
164 |
expect( list.moderated_subscriptions? ).to be_falsey |
|
165 |
end |
|
12
3cc813140c80
First round of modernizing after a long absence.
Mahlon E. Smith <mahlon@martini.nu>
parents:
6
diff
changeset
|
166 |
|
3cc813140c80
First round of modernizing after a long absence.
Mahlon E. Smith <mahlon@martini.nu>
parents:
6
diff
changeset
|
167 |
|
14 | 168 |
it 'can set posting moderation state' do |
169 |
expect( list.moderated? ).to be_falsey |
|
170 |
list.moderated = true |
|
171 |
expect( list.moderated? ).to be_truthy |
|
172 |
list.moderated = false |
|
173 |
expect( list.moderated? ).to be_falsey |
|
2
7b5a0131d5cd
Added more list-config accessors
Michael Granger <mgranger@laika.com>
parents:
1
diff
changeset
|
174 |
end |
12
3cc813140c80
First round of modernizing after a long absence.
Mahlon E. Smith <mahlon@martini.nu>
parents:
6
diff
changeset
|
175 |
|
3cc813140c80
First round of modernizing after a long absence.
Mahlon E. Smith <mahlon@martini.nu>
parents:
6
diff
changeset
|
176 |
|
14 | 177 |
it 'can set moderation-only posting' do |
178 |
expect( list.moderator_posts_only? ).to be_falsey |
|
179 |
list.moderator_posts_only = true |
|
180 |
expect( list.moderator_posts_only? ).to be_truthy |
|
181 |
list.moderator_posts_only = false |
|
182 |
expect( list.moderator_posts_only? ).to be_falsey |
|
183 |
end |
|
184 |
||
185 |
||
186 |
it 'can set user-only posting' do |
|
187 |
expect( list.user_posts_only? ).to be_falsey |
|
188 |
list.user_posts_only = true |
|
189 |
expect( list.user_posts_only? ).to be_truthy |
|
190 |
list.user_posts_only = false |
|
191 |
expect( list.user_posts_only? ).to be_falsey |
|
192 |
end |
|
193 |
||
194 |
||
195 |
it 'user+moderation together sets non-subscriber moderation' do |
|
196 |
expect( list.user_posts_only? ).to be_falsey |
|
197 |
expect( list.moderated? ).to be_falsey |
|
198 |
||
199 |
list.moderated = true |
|
200 |
list.user_posts_only = true |
|
201 |
||
202 |
expect( list.listdir + 'noreturnposts' ).to exist |
|
12
3cc813140c80
First round of modernizing after a long absence.
Mahlon E. Smith <mahlon@martini.nu>
parents:
6
diff
changeset
|
203 |
|
14 | 204 |
list.moderated = false |
205 |
expect( list.listdir + 'noreturnposts' ).to_not exist |
|
206 |
end |
|
207 |
||
208 |
||
209 |
it 'can set archival status' do |
|
210 |
expect( list.archived? ).to be_truthy |
|
211 |
list.archive = false |
|
212 |
expect( list.archived? ).to be_falsey |
|
213 |
list.archive = true |
|
214 |
expect( list.archived? ).to be_truthy |
|
215 |
end |
|
216 |
||
217 |
||
218 |
it 'can limit archive access to moderators only' do |
|
219 |
expect( list.private_archive? ).to be_falsey |
|
220 |
list.private_archive = true |
|
221 |
expect( list.private_archive? ).to be_truthy |
|
222 |
list.private_archive = false |
|
223 |
expect( list.private_archive? ).to be_falsey |
|
224 |
end |
|
225 |
||
226 |
||
227 |
it 'can limit archive access to list subscribers only' do |
|
228 |
expect( list.guarded_archive? ).to be_falsey |
|
229 |
list.guarded_archive = true |
|
230 |
expect( list.guarded_archive? ).to be_truthy |
|
231 |
list.guarded_archive = false |
|
232 |
expect( list.guarded_archive? ).to be_falsey |
|
233 |
end |
|
12
3cc813140c80
First round of modernizing after a long absence.
Mahlon E. Smith <mahlon@martini.nu>
parents:
6
diff
changeset
|
234 |
|
3cc813140c80
First round of modernizing after a long absence.
Mahlon E. Smith <mahlon@martini.nu>
parents:
6
diff
changeset
|
235 |
|
14 | 236 |
it 'can toggle digest status' do |
237 |
expect( list.digested? ).to be_falsey |
|
238 |
list.digest = true |
|
239 |
expect( list.digested? ).to be_truthy |
|
240 |
list.digest = false |
|
241 |
expect( list.digested? ).to be_falsey |
|
242 |
end |
|
243 |
||
244 |
it 'returns a default digest kbyte size' do |
|
245 |
expect( list.digest_kbytesize ).to eq( 64 ) |
|
246 |
end |
|
247 |
||
248 |
it 'can set a new digest kbyte size' do |
|
249 |
list.digest_kbytesize = 300 |
|
250 |
expect( list.digest_kbytesize ).to eq( 300 ) |
|
251 |
end |
|
252 |
||
253 |
it 'returns a default digest message count' do |
|
254 |
expect( list.digest_count ).to eq( 10 ) |
|
255 |
end |
|
12
3cc813140c80
First round of modernizing after a long absence.
Mahlon E. Smith <mahlon@martini.nu>
parents:
6
diff
changeset
|
256 |
|
14 | 257 |
it 'can set a new digest message count' do |
258 |
list.digest_count = 25 |
|
259 |
expect( list.digest_count ).to eq( 25 ) |
|
260 |
end |
|
261 |
||
262 |
it 'returns a default digest timeout' do |
|
263 |
expect( list.digest_timeout ).to eq( 48 ) |
|
264 |
end |
|
265 |
||
266 |
it 'can set a new digest timeout' do |
|
267 |
list.digest_timeout = 24 |
|
268 |
expect( list.digest_timeout ).to eq( 24 ) |
|
269 |
end |
|
270 |
||
271 |
||
272 |
it 'can set subscription confirmation' do |
|
273 |
expect( list.confirm_subscriptions? ).to be_truthy |
|
274 |
list.confirm_subscriptions = false |
|
275 |
expect( list.confirm_subscriptions? ).to be_falsey |
|
276 |
list.confirm_subscriptions = true |
|
277 |
expect( list.confirm_subscriptions? ).to be_truthy |
|
278 |
end |
|
12
3cc813140c80
First round of modernizing after a long absence.
Mahlon E. Smith <mahlon@martini.nu>
parents:
6
diff
changeset
|
279 |
|
14 | 280 |
it 'can set unsubscription confirmation' do |
281 |
expect( list.confirm_unsubscriptions? ).to be_truthy |
|
282 |
list.confirm_unsubscriptions = false |
|
283 |
expect( list.confirm_unsubscriptions? ).to be_falsey |
|
284 |
list.confirm_unsubscriptions = true |
|
285 |
expect( list.confirm_unsubscriptions? ).to be_truthy |
|
286 |
end |
|
287 |
||
288 |
||
289 |
it 'can set message posting confirmation' do |
|
290 |
expect( list.confirm_postings? ).to be_falsey |
|
291 |
list.confirm_postings = true |
|
292 |
expect( list.confirm_postings? ).to be_truthy |
|
293 |
list.confirm_postings = false |
|
294 |
expect( list.confirm_postings? ).to be_falsey |
|
295 |
end |
|
296 |
||
12
3cc813140c80
First round of modernizing after a long absence.
Mahlon E. Smith <mahlon@martini.nu>
parents:
6
diff
changeset
|
297 |
|
14 | 298 |
it 'can toggle remote subscriber lists for moderators' do |
299 |
expect( list.allow_remote_listing? ).to be_falsey |
|
300 |
list.allow_remote_listing = true |
|
301 |
expect( list.allow_remote_listing? ).to be_truthy |
|
302 |
list.allow_remote_listing = false |
|
303 |
expect( list.allow_remote_listing? ).to be_falsey |
|
304 |
end |
|
305 |
||
12
3cc813140c80
First round of modernizing after a long absence.
Mahlon E. Smith <mahlon@martini.nu>
parents:
6
diff
changeset
|
306 |
|
14 | 307 |
it 'can toggle bounce management' do |
308 |
expect( list.bounce_warnings? ).to be_truthy |
|
309 |
list.bounce_warnings = false |
|
310 |
expect( list.bounce_warnings? ).to be_falsey |
|
311 |
list.bounce_warnings = true |
|
312 |
expect( list.bounce_warnings? ).to be_truthy |
|
313 |
end |
|
314 |
||
12
3cc813140c80
First round of modernizing after a long absence.
Mahlon E. Smith <mahlon@martini.nu>
parents:
6
diff
changeset
|
315 |
|
14 | 316 |
it 'returns a default max message size' do |
317 |
expect( list.maximum_message_size ).to eq( 0 ) |
|
318 |
end |
|
319 |
||
320 |
it 'can set a new max message size' do |
|
321 |
list.maximum_message_size = 1024 * 300 |
|
322 |
expect( list.maximum_message_size ).to eq( 307200 ) |
|
323 |
end |
|
324 |
||
325 |
||
326 |
it 'can return the message count for a pristine list' do |
|
327 |
expect( list.message_count ).to eq( 0 ) |
|
328 |
end |
|
329 |
end |
|
12
3cc813140c80
First round of modernizing after a long absence.
Mahlon E. Smith <mahlon@martini.nu>
parents:
6
diff
changeset
|
330 |
|
4
8c4ae0797d5f
Added more archive-related functions:
Michael Granger <mgranger@laika.com>
parents:
3
diff
changeset
|
331 |
|
12
3cc813140c80
First round of modernizing after a long absence.
Mahlon E. Smith <mahlon@martini.nu>
parents:
6
diff
changeset
|
332 |
|
14 | 333 |
# it "can fetch the body of an archived post by message id" |
334 |
# it "can fetch the header of an archived post by message id" |
|
12
3cc813140c80
First round of modernizing after a long absence.
Mahlon E. Smith <mahlon@martini.nu>
parents:
6
diff
changeset
|
335 |
|
14 | 336 |
# it "can return a hash of the subjects of all archived posts to message ids" |
337 |
# it "can return an Array of the subjects of all archived posts" |
|
4
8c4ae0797d5f
Added more archive-related functions:
Michael Granger <mgranger@laika.com>
parents:
3
diff
changeset
|
338 |
|
14 | 339 |
# it "can return a hash of the threads of all archived posts to message ids" |
340 |
# it "can return an Array of the threads of all archived posts" |
|
4
8c4ae0797d5f
Added more archive-related functions:
Michael Granger <mgranger@laika.com>
parents:
3
diff
changeset
|
341 |
|
14 | 342 |
# it "can return a hash of the authors of all archived posts to message ids" |
343 |
# it "can return an Array of the authors of all archived posts" |
|
12
3cc813140c80
First round of modernizing after a long absence.
Mahlon E. Smith <mahlon@martini.nu>
parents:
6
diff
changeset
|
344 |
|
3cc813140c80
First round of modernizing after a long absence.
Mahlon E. Smith <mahlon@martini.nu>
parents:
6
diff
changeset
|
345 |