sugarcube 1.5.8 → 1.5.9

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.
@@ -1,111 +1,790 @@
1
1
  describe "Symbol uicolor" do
2
2
 
3
- before do
4
- @colors = Symbol.uicolors
5
- end
3
+ describe 'core colors' do
4
+ before do
5
+ @colors = Symbol.uicolors
6
+ end
6
7
 
7
- it 'should have 21 colors' do
8
- @colors.size.should == 21
9
- end
8
+ it 'should have 21 colors' do
9
+ @colors.size.should == 21
10
+ end
10
11
 
11
- it 'should have black color' do
12
- @colors[:black].should == :blackColor
13
- end
12
+ it 'should have black color' do
13
+ @colors[:black].should == :blackColor
14
+ :black.uicolor.should.be.kind_of(UIColor)
15
+ end
14
16
 
15
- it 'should have blue color' do
16
- @colors[:blue].should == :blueColor
17
- end
17
+ it 'should have blue color' do
18
+ @colors[:blue].should == :blueColor
19
+ :blue.uicolor.should.be.kind_of(UIColor)
20
+ end
18
21
 
19
- it 'should have brown color' do
20
- @colors[:brown].should == :brownColor
21
- end
22
+ it 'should have brown color' do
23
+ @colors[:brown].should == :brownColor
24
+ :brown.uicolor.should.be.kind_of(UIColor)
25
+ end
22
26
 
23
- it 'should have cyan color' do
24
- @colors[:cyan].should == :cyanColor
25
- end
27
+ it 'should have cyan color' do
28
+ @colors[:cyan].should == :cyanColor
29
+ :cyan.uicolor.should.be.kind_of(UIColor)
30
+ end
26
31
 
27
- it 'should have dark_gray color' do
28
- @colors[:dark_gray].should == :darkGrayColor
29
- end
32
+ it 'should have dark_gray color' do
33
+ @colors[:dark_gray].should == :darkGrayColor
34
+ :dark_gray.uicolor.should.be.kind_of(UIColor)
35
+ end
30
36
 
31
- it 'should have gray color' do
32
- @colors[:gray].should == :grayColor
33
- end
37
+ it 'should have gray color' do
38
+ @colors[:gray].should == :grayColor
39
+ :gray.uicolor.should.be.kind_of(UIColor)
40
+ end
34
41
 
35
- it 'should have green color' do
36
- @colors[:green].should == :greenColor
37
- end
42
+ it 'should have green color' do
43
+ @colors[:green].should == :greenColor
44
+ :green.uicolor.should.be.kind_of(UIColor)
45
+ end
38
46
 
39
- it 'should have light_gray color' do
40
- @colors[:light_gray].should == :lightGrayColor
41
- end
47
+ it 'should have light_gray color' do
48
+ @colors[:light_gray].should == :lightGrayColor
49
+ :light_gray.uicolor.should.be.kind_of(UIColor)
50
+ end
42
51
 
43
- it 'should have magenta color' do
44
- @colors[:magenta].should == :magentaColor
45
- end
52
+ it 'should have magenta color' do
53
+ @colors[:magenta].should == :magentaColor
54
+ :magenta.uicolor.should.be.kind_of(UIColor)
55
+ end
46
56
 
47
- it 'should have orange color' do
48
- @colors[:orange].should == :orangeColor
49
- end
57
+ it 'should have orange color' do
58
+ @colors[:orange].should == :orangeColor
59
+ :orange.uicolor.should.be.kind_of(UIColor)
60
+ end
50
61
 
51
- it 'should have purple color' do
52
- @colors[:purple].should == :purpleColor
53
- end
62
+ it 'should have purple color' do
63
+ @colors[:purple].should == :purpleColor
64
+ :purple.uicolor.should.be.kind_of(UIColor)
65
+ end
54
66
 
55
- it 'should have red color' do
56
- @colors[:red].should == :redColor
57
- end
67
+ it 'should have red color' do
68
+ @colors[:red].should == :redColor
69
+ :red.uicolor.should.be.kind_of(UIColor)
70
+ end
58
71
 
59
- it 'should have yellow color' do
60
- @colors[:yellow].should == :yellowColor
61
- end
72
+ it 'should have yellow color' do
73
+ @colors[:yellow].should == :yellowColor
74
+ :yellow.uicolor.should.be.kind_of(UIColor)
75
+ end
62
76
 
63
- it 'should have white color' do
64
- @colors[:white].should == :whiteColor
65
- end
77
+ it 'should have white color' do
78
+ @colors[:white].should == :whiteColor
79
+ :white.uicolor.should.be.kind_of(UIColor)
80
+ end
66
81
 
67
- it 'should have clear color' do
68
- @colors[:clear].should == :clearColor
69
- end
82
+ it 'should have clear color' do
83
+ @colors[:clear].should == :clearColor
84
+ :clear.uicolor.should.be.kind_of(UIColor)
85
+ end
70
86
 
71
- it 'should have light_text color' do
72
- @colors[:light_text].should == :lightTextColor
73
- end
87
+ it 'should have light_text color' do
88
+ @colors[:light_text].should == :lightTextColor
89
+ :light_text.uicolor.should.be.kind_of(UIColor)
90
+ end
74
91
 
75
- it 'should have dark_text color' do
76
- @colors[:dark_text].should == :darkTextColor
77
- end
92
+ it 'should have dark_text color' do
93
+ @colors[:dark_text].should == :darkTextColor
94
+ :dark_text.uicolor.should.be.kind_of(UIColor)
95
+ end
78
96
 
79
- it 'should have table_view color' do
80
- @colors[:table_view].should == :groupTableViewBackgroundColor
81
- end
97
+ it 'should have table_view color' do
98
+ @colors[:table_view].should == :groupTableViewBackgroundColor
99
+ :table_view.uicolor.should.be.kind_of(UIColor)
100
+ end
82
101
 
83
- it 'should have scroll_view color' do
84
- @colors[:scroll_view].should == :scrollViewTexturedBackgroundColor
85
- end
102
+ it 'should have scroll_view color' do
103
+ @colors[:scroll_view].should == :scrollViewTexturedBackgroundColor
104
+ :scroll_view.uicolor.should.be.kind_of(UIColor)
105
+ end
106
+
107
+ it 'should have flipside color' do
108
+ @colors[:flipside].should == :viewFlipsideBackgroundColor
109
+ :flipside.uicolor.should.be.kind_of(UIColor)
110
+ end
86
111
 
87
- it 'should have flipside color' do
88
- @colors[:flipside].should == :viewFlipsideBackgroundColor
112
+ it 'should have under_page color' do
113
+ @colors[:under_page].should == :underPageBackgroundColor
114
+ :under_page.uicolor.should.be.kind_of(UIColor)
115
+ end
89
116
  end
90
117
 
91
- it 'should have under_page color' do
92
- @colors[:under_page].should == :underPageBackgroundColor
118
+ describe 'css colors' do
119
+ before do
120
+ @colors = Symbol.css_colors
121
+ end
122
+
123
+ it 'should have placeholder color' do
124
+ @colors[:placeholder].should.not == nil
125
+ :placeholder.uicolor.should.be.kind_of(UIColor)
126
+ end
127
+
128
+ it 'should have aliceblue color' do
129
+ @colors[:aliceblue].should.not == nil
130
+ :aliceblue.uicolor.should.be.kind_of(UIColor)
131
+ end
132
+
133
+ it 'should have antiquewhite color' do
134
+ @colors[:antiquewhite].should.not == nil
135
+ :antiquewhite.uicolor.should.be.kind_of(UIColor)
136
+ end
137
+
138
+ it 'should have aqua color' do
139
+ @colors[:aqua].should.not == nil
140
+ :aqua.uicolor.should.be.kind_of(UIColor)
141
+ end
142
+
143
+ it 'should have aquamarine color' do
144
+ @colors[:aquamarine].should.not == nil
145
+ :aquamarine.uicolor.should.be.kind_of(UIColor)
146
+ end
147
+
148
+ it 'should have azure color' do
149
+ @colors[:azure].should.not == nil
150
+ :azure.uicolor.should.be.kind_of(UIColor)
151
+ end
152
+
153
+ it 'should have babygray color' do
154
+ @colors[:babygray].should.not == nil
155
+ :babygray.uicolor.should.be.kind_of(UIColor)
156
+ end
157
+
158
+ it 'should have beige color' do
159
+ @colors[:beige].should.not == nil
160
+ :beige.uicolor.should.be.kind_of(UIColor)
161
+ end
162
+
163
+ it 'should have bisque color' do
164
+ @colors[:bisque].should.not == nil
165
+ :bisque.uicolor.should.be.kind_of(UIColor)
166
+ end
167
+
168
+ it 'should have blanchedalmond color' do
169
+ @colors[:blanchedalmond].should.not == nil
170
+ :blanchedalmond.uicolor.should.be.kind_of(UIColor)
171
+ end
172
+
173
+ it 'should have blueviolet color' do
174
+ @colors[:blueviolet].should.not == nil
175
+ :blueviolet.uicolor.should.be.kind_of(UIColor)
176
+ end
177
+
178
+ it 'should have burlywood color' do
179
+ @colors[:burlywood].should.not == nil
180
+ :burlywood.uicolor.should.be.kind_of(UIColor)
181
+ end
182
+
183
+ it 'should have cadetblue color' do
184
+ @colors[:cadetblue].should.not == nil
185
+ :cadetblue.uicolor.should.be.kind_of(UIColor)
186
+ end
187
+
188
+ it 'should have chartreuse color' do
189
+ @colors[:chartreuse].should.not == nil
190
+ :chartreuse.uicolor.should.be.kind_of(UIColor)
191
+ end
192
+
193
+ it 'should have chocolate color' do
194
+ @colors[:chocolate].should.not == nil
195
+ :chocolate.uicolor.should.be.kind_of(UIColor)
196
+ end
197
+
198
+ it 'should have colingray color' do
199
+ @colors[:colingray].should.not == nil
200
+ :colingray.uicolor.should.be.kind_of(UIColor)
201
+ end
202
+
203
+ it 'should have coral color' do
204
+ @colors[:coral].should.not == nil
205
+ :coral.uicolor.should.be.kind_of(UIColor)
206
+ end
207
+
208
+ it 'should have cornflowerblue color' do
209
+ @colors[:cornflowerblue].should.not == nil
210
+ :cornflowerblue.uicolor.should.be.kind_of(UIColor)
211
+ end
212
+
213
+ it 'should have cornsilk color' do
214
+ @colors[:cornsilk].should.not == nil
215
+ :cornsilk.uicolor.should.be.kind_of(UIColor)
216
+ end
217
+
218
+ it 'should have crimson color' do
219
+ @colors[:crimson].should.not == nil
220
+ :crimson.uicolor.should.be.kind_of(UIColor)
221
+ end
222
+
223
+ it 'should have darkblue color' do
224
+ @colors[:darkblue].should.not == nil
225
+ :darkblue.uicolor.should.be.kind_of(UIColor)
226
+ end
227
+
228
+ it 'should have darkcyan color' do
229
+ @colors[:darkcyan].should.not == nil
230
+ :darkcyan.uicolor.should.be.kind_of(UIColor)
231
+ end
232
+
233
+ it 'should have darkgoldenrod color' do
234
+ @colors[:darkgoldenrod].should.not == nil
235
+ :darkgoldenrod.uicolor.should.be.kind_of(UIColor)
236
+ end
237
+
238
+ it 'should have darkgreen color' do
239
+ @colors[:darkgreen].should.not == nil
240
+ :darkgreen.uicolor.should.be.kind_of(UIColor)
241
+ end
242
+
243
+ it 'should have darkkhaki color' do
244
+ @colors[:darkkhaki].should.not == nil
245
+ :darkkhaki.uicolor.should.be.kind_of(UIColor)
246
+ end
247
+
248
+ it 'should have darkmagenta color' do
249
+ @colors[:darkmagenta].should.not == nil
250
+ :darkmagenta.uicolor.should.be.kind_of(UIColor)
251
+ end
252
+
253
+ it 'should have darkolivegreen color' do
254
+ @colors[:darkolivegreen].should.not == nil
255
+ :darkolivegreen.uicolor.should.be.kind_of(UIColor)
256
+ end
257
+
258
+ it 'should have darkorange color' do
259
+ @colors[:darkorange].should.not == nil
260
+ :darkorange.uicolor.should.be.kind_of(UIColor)
261
+ end
262
+
263
+ it 'should have darkorchid color' do
264
+ @colors[:darkorchid].should.not == nil
265
+ :darkorchid.uicolor.should.be.kind_of(UIColor)
266
+ end
267
+
268
+ it 'should have darkred color' do
269
+ @colors[:darkred].should.not == nil
270
+ :darkred.uicolor.should.be.kind_of(UIColor)
271
+ end
272
+
273
+ it 'should have darksalmon color' do
274
+ @colors[:darksalmon].should.not == nil
275
+ :darksalmon.uicolor.should.be.kind_of(UIColor)
276
+ end
277
+
278
+ it 'should have darkseagreen color' do
279
+ @colors[:darkseagreen].should.not == nil
280
+ :darkseagreen.uicolor.should.be.kind_of(UIColor)
281
+ end
282
+
283
+ it 'should have darkslateblue color' do
284
+ @colors[:darkslateblue].should.not == nil
285
+ :darkslateblue.uicolor.should.be.kind_of(UIColor)
286
+ end
287
+
288
+ it 'should have darkslategray color' do
289
+ @colors[:darkslategray].should.not == nil
290
+ :darkslategray.uicolor.should.be.kind_of(UIColor)
291
+ end
292
+
293
+ it 'should have darkturquoise color' do
294
+ @colors[:darkturquoise].should.not == nil
295
+ :darkturquoise.uicolor.should.be.kind_of(UIColor)
296
+ end
297
+
298
+ it 'should have darkviolet color' do
299
+ @colors[:darkviolet].should.not == nil
300
+ :darkviolet.uicolor.should.be.kind_of(UIColor)
301
+ end
302
+
303
+ it 'should have deeppink color' do
304
+ @colors[:deeppink].should.not == nil
305
+ :deeppink.uicolor.should.be.kind_of(UIColor)
306
+ end
307
+
308
+ it 'should have deepskyblue color' do
309
+ @colors[:deepskyblue].should.not == nil
310
+ :deepskyblue.uicolor.should.be.kind_of(UIColor)
311
+ end
312
+
313
+ it 'should have dimgray color' do
314
+ @colors[:dimgray].should.not == nil
315
+ :dimgray.uicolor.should.be.kind_of(UIColor)
316
+ end
317
+
318
+ it 'should have dodgerblue color' do
319
+ @colors[:dodgerblue].should.not == nil
320
+ :dodgerblue.uicolor.should.be.kind_of(UIColor)
321
+ end
322
+
323
+ it 'should have firebrick color' do
324
+ @colors[:firebrick].should.not == nil
325
+ :firebrick.uicolor.should.be.kind_of(UIColor)
326
+ end
327
+
328
+ it 'should have floralwhite color' do
329
+ @colors[:floralwhite].should.not == nil
330
+ :floralwhite.uicolor.should.be.kind_of(UIColor)
331
+ end
332
+
333
+ it 'should have forestgreen color' do
334
+ @colors[:forestgreen].should.not == nil
335
+ :forestgreen.uicolor.should.be.kind_of(UIColor)
336
+ end
337
+
338
+ it 'should have fuchsia color' do
339
+ @colors[:fuchsia].should.not == nil
340
+ :fuchsia.uicolor.should.be.kind_of(UIColor)
341
+ end
342
+
343
+ it 'should have gainsboro color' do
344
+ @colors[:gainsboro].should.not == nil
345
+ :gainsboro.uicolor.should.be.kind_of(UIColor)
346
+ end
347
+
348
+ it 'should have ghostwhite color' do
349
+ @colors[:ghostwhite].should.not == nil
350
+ :ghostwhite.uicolor.should.be.kind_of(UIColor)
351
+ end
352
+
353
+ it 'should have gold color' do
354
+ @colors[:gold].should.not == nil
355
+ :gold.uicolor.should.be.kind_of(UIColor)
356
+ end
357
+
358
+ it 'should have goldenrod color' do
359
+ @colors[:goldenrod].should.not == nil
360
+ :goldenrod.uicolor.should.be.kind_of(UIColor)
361
+ end
362
+
363
+ it 'should have greenyellow color' do
364
+ @colors[:greenyellow].should.not == nil
365
+ :greenyellow.uicolor.should.be.kind_of(UIColor)
366
+ end
367
+
368
+ it 'should have honeydew color' do
369
+ @colors[:honeydew].should.not == nil
370
+ :honeydew.uicolor.should.be.kind_of(UIColor)
371
+ end
372
+
373
+ it 'should have hotpink color' do
374
+ @colors[:hotpink].should.not == nil
375
+ :hotpink.uicolor.should.be.kind_of(UIColor)
376
+ end
377
+
378
+ it 'should have indianred color' do
379
+ @colors[:indianred].should.not == nil
380
+ :indianred.uicolor.should.be.kind_of(UIColor)
381
+ end
382
+
383
+ it 'should have indigo color' do
384
+ @colors[:indigo].should.not == nil
385
+ :indigo.uicolor.should.be.kind_of(UIColor)
386
+ end
387
+
388
+ it 'should have ivory color' do
389
+ @colors[:ivory].should.not == nil
390
+ :ivory.uicolor.should.be.kind_of(UIColor)
391
+ end
392
+
393
+ it 'should have khaki color' do
394
+ @colors[:khaki].should.not == nil
395
+ :khaki.uicolor.should.be.kind_of(UIColor)
396
+ end
397
+
398
+ it 'should have lavender color' do
399
+ @colors[:lavender].should.not == nil
400
+ :lavender.uicolor.should.be.kind_of(UIColor)
401
+ end
402
+
403
+ it 'should have lavenderblush color' do
404
+ @colors[:lavenderblush].should.not == nil
405
+ :lavenderblush.uicolor.should.be.kind_of(UIColor)
406
+ end
407
+
408
+ it 'should have lawngreen color' do
409
+ @colors[:lawngreen].should.not == nil
410
+ :lawngreen.uicolor.should.be.kind_of(UIColor)
411
+ end
412
+
413
+ it 'should have lemonchiffon color' do
414
+ @colors[:lemonchiffon].should.not == nil
415
+ :lemonchiffon.uicolor.should.be.kind_of(UIColor)
416
+ end
417
+
418
+ it 'should have lightblue color' do
419
+ @colors[:lightblue].should.not == nil
420
+ :lightblue.uicolor.should.be.kind_of(UIColor)
421
+ end
422
+
423
+ it 'should have lightcoral color' do
424
+ @colors[:lightcoral].should.not == nil
425
+ :lightcoral.uicolor.should.be.kind_of(UIColor)
426
+ end
427
+
428
+ it 'should have lightcyan color' do
429
+ @colors[:lightcyan].should.not == nil
430
+ :lightcyan.uicolor.should.be.kind_of(UIColor)
431
+ end
432
+
433
+ it 'should have lightgoldenrodyellow color' do
434
+ @colors[:lightgoldenrodyellow].should.not == nil
435
+ :lightgoldenrodyellow.uicolor.should.be.kind_of(UIColor)
436
+ end
437
+
438
+ it 'should have lightgreen color' do
439
+ @colors[:lightgreen].should.not == nil
440
+ :lightgreen.uicolor.should.be.kind_of(UIColor)
441
+ end
442
+
443
+ it 'should have lightpink color' do
444
+ @colors[:lightpink].should.not == nil
445
+ :lightpink.uicolor.should.be.kind_of(UIColor)
446
+ end
447
+
448
+ it 'should have lightsalmon color' do
449
+ @colors[:lightsalmon].should.not == nil
450
+ :lightsalmon.uicolor.should.be.kind_of(UIColor)
451
+ end
452
+
453
+ it 'should have lightseagreen color' do
454
+ @colors[:lightseagreen].should.not == nil
455
+ :lightseagreen.uicolor.should.be.kind_of(UIColor)
456
+ end
457
+
458
+ it 'should have lightskyblue color' do
459
+ @colors[:lightskyblue].should.not == nil
460
+ :lightskyblue.uicolor.should.be.kind_of(UIColor)
461
+ end
462
+
463
+ it 'should have lightslategray color' do
464
+ @colors[:lightslategray].should.not == nil
465
+ :lightslategray.uicolor.should.be.kind_of(UIColor)
466
+ end
467
+
468
+ it 'should have lightsteelblue color' do
469
+ @colors[:lightsteelblue].should.not == nil
470
+ :lightsteelblue.uicolor.should.be.kind_of(UIColor)
471
+ end
472
+
473
+ it 'should have lightyellow color' do
474
+ @colors[:lightyellow].should.not == nil
475
+ :lightyellow.uicolor.should.be.kind_of(UIColor)
476
+ end
477
+
478
+ it 'should have lime color' do
479
+ @colors[:lime].should.not == nil
480
+ :lime.uicolor.should.be.kind_of(UIColor)
481
+ end
482
+
483
+ it 'should have limegreen color' do
484
+ @colors[:limegreen].should.not == nil
485
+ :limegreen.uicolor.should.be.kind_of(UIColor)
486
+ end
487
+
488
+ it 'should have linen color' do
489
+ @colors[:linen].should.not == nil
490
+ :linen.uicolor.should.be.kind_of(UIColor)
491
+ end
492
+
493
+ it 'should have maroon color' do
494
+ @colors[:maroon].should.not == nil
495
+ :maroon.uicolor.should.be.kind_of(UIColor)
496
+ end
497
+
498
+ it 'should have mediumaquamarine color' do
499
+ @colors[:mediumaquamarine].should.not == nil
500
+ :mediumaquamarine.uicolor.should.be.kind_of(UIColor)
501
+ end
502
+
503
+ it 'should have mediumblue color' do
504
+ @colors[:mediumblue].should.not == nil
505
+ :mediumblue.uicolor.should.be.kind_of(UIColor)
506
+ end
507
+
508
+ it 'should have mediumorchid color' do
509
+ @colors[:mediumorchid].should.not == nil
510
+ :mediumorchid.uicolor.should.be.kind_of(UIColor)
511
+ end
512
+
513
+ it 'should have mediumpurple color' do
514
+ @colors[:mediumpurple].should.not == nil
515
+ :mediumpurple.uicolor.should.be.kind_of(UIColor)
516
+ end
517
+
518
+ it 'should have mediumseagreen color' do
519
+ @colors[:mediumseagreen].should.not == nil
520
+ :mediumseagreen.uicolor.should.be.kind_of(UIColor)
521
+ end
522
+
523
+ it 'should have mediumslateblue color' do
524
+ @colors[:mediumslateblue].should.not == nil
525
+ :mediumslateblue.uicolor.should.be.kind_of(UIColor)
526
+ end
527
+
528
+ it 'should have mediumspringgreen color' do
529
+ @colors[:mediumspringgreen].should.not == nil
530
+ :mediumspringgreen.uicolor.should.be.kind_of(UIColor)
531
+ end
532
+
533
+ it 'should have mediumturquoise color' do
534
+ @colors[:mediumturquoise].should.not == nil
535
+ :mediumturquoise.uicolor.should.be.kind_of(UIColor)
536
+ end
537
+
538
+ it 'should have mediumvioletred color' do
539
+ @colors[:mediumvioletred].should.not == nil
540
+ :mediumvioletred.uicolor.should.be.kind_of(UIColor)
541
+ end
542
+
543
+ it 'should have midnightblue color' do
544
+ @colors[:midnightblue].should.not == nil
545
+ :midnightblue.uicolor.should.be.kind_of(UIColor)
546
+ end
547
+
548
+ it 'should have mintcream color' do
549
+ @colors[:mintcream].should.not == nil
550
+ :mintcream.uicolor.should.be.kind_of(UIColor)
551
+ end
552
+
553
+ it 'should have mistyrose color' do
554
+ @colors[:mistyrose].should.not == nil
555
+ :mistyrose.uicolor.should.be.kind_of(UIColor)
556
+ end
557
+
558
+ it 'should have moccasin color' do
559
+ @colors[:moccasin].should.not == nil
560
+ :moccasin.uicolor.should.be.kind_of(UIColor)
561
+ end
562
+
563
+ it 'should have navajowhite color' do
564
+ @colors[:navajowhite].should.not == nil
565
+ :navajowhite.uicolor.should.be.kind_of(UIColor)
566
+ end
567
+
568
+ it 'should have navy color' do
569
+ @colors[:navy].should.not == nil
570
+ :navy.uicolor.should.be.kind_of(UIColor)
571
+ end
572
+
573
+ it 'should have oldlace color' do
574
+ @colors[:oldlace].should.not == nil
575
+ :oldlace.uicolor.should.be.kind_of(UIColor)
576
+ end
577
+
578
+ it 'should have olive color' do
579
+ @colors[:olive].should.not == nil
580
+ :olive.uicolor.should.be.kind_of(UIColor)
581
+ end
582
+
583
+ it 'should have olivedrab color' do
584
+ @colors[:olivedrab].should.not == nil
585
+ :olivedrab.uicolor.should.be.kind_of(UIColor)
586
+ end
587
+
588
+ it 'should have orangered color' do
589
+ @colors[:orangered].should.not == nil
590
+ :orangered.uicolor.should.be.kind_of(UIColor)
591
+ end
592
+
593
+ it 'should have orchid color' do
594
+ @colors[:orchid].should.not == nil
595
+ :orchid.uicolor.should.be.kind_of(UIColor)
596
+ end
597
+
598
+ it 'should have palegoldenrod color' do
599
+ @colors[:palegoldenrod].should.not == nil
600
+ :palegoldenrod.uicolor.should.be.kind_of(UIColor)
601
+ end
602
+
603
+ it 'should have palegreen color' do
604
+ @colors[:palegreen].should.not == nil
605
+ :palegreen.uicolor.should.be.kind_of(UIColor)
606
+ end
607
+
608
+ it 'should have paleturquoise color' do
609
+ @colors[:paleturquoise].should.not == nil
610
+ :paleturquoise.uicolor.should.be.kind_of(UIColor)
611
+ end
612
+
613
+ it 'should have palevioletred color' do
614
+ @colors[:palevioletred].should.not == nil
615
+ :palevioletred.uicolor.should.be.kind_of(UIColor)
616
+ end
617
+
618
+ it 'should have papayawhip color' do
619
+ @colors[:papayawhip].should.not == nil
620
+ :papayawhip.uicolor.should.be.kind_of(UIColor)
621
+ end
622
+
623
+ it 'should have peachpuff color' do
624
+ @colors[:peachpuff].should.not == nil
625
+ :peachpuff.uicolor.should.be.kind_of(UIColor)
626
+ end
627
+
628
+ it 'should have peru color' do
629
+ @colors[:peru].should.not == nil
630
+ :peru.uicolor.should.be.kind_of(UIColor)
631
+ end
632
+
633
+ it 'should have pink color' do
634
+ @colors[:pink].should.not == nil
635
+ :pink.uicolor.should.be.kind_of(UIColor)
636
+ end
637
+
638
+ it 'should have plum color' do
639
+ @colors[:plum].should.not == nil
640
+ :plum.uicolor.should.be.kind_of(UIColor)
641
+ end
642
+
643
+ it 'should have powderblue color' do
644
+ @colors[:powderblue].should.not == nil
645
+ :powderblue.uicolor.should.be.kind_of(UIColor)
646
+ end
647
+
648
+ it 'should have rosybrown color' do
649
+ @colors[:rosybrown].should.not == nil
650
+ :rosybrown.uicolor.should.be.kind_of(UIColor)
651
+ end
652
+
653
+ it 'should have royalblue color' do
654
+ @colors[:royalblue].should.not == nil
655
+ :royalblue.uicolor.should.be.kind_of(UIColor)
656
+ end
657
+
658
+ it 'should have saddlebrown color' do
659
+ @colors[:saddlebrown].should.not == nil
660
+ :saddlebrown.uicolor.should.be.kind_of(UIColor)
661
+ end
662
+
663
+ it 'should have salmon color' do
664
+ @colors[:salmon].should.not == nil
665
+ :salmon.uicolor.should.be.kind_of(UIColor)
666
+ end
667
+
668
+ it 'should have sandybrown color' do
669
+ @colors[:sandybrown].should.not == nil
670
+ :sandybrown.uicolor.should.be.kind_of(UIColor)
671
+ end
672
+
673
+ it 'should have seagreen color' do
674
+ @colors[:seagreen].should.not == nil
675
+ :seagreen.uicolor.should.be.kind_of(UIColor)
676
+ end
677
+
678
+ it 'should have seashell color' do
679
+ @colors[:seashell].should.not == nil
680
+ :seashell.uicolor.should.be.kind_of(UIColor)
681
+ end
682
+
683
+ it 'should have sienna color' do
684
+ @colors[:sienna].should.not == nil
685
+ :sienna.uicolor.should.be.kind_of(UIColor)
686
+ end
687
+
688
+ it 'should have silver color' do
689
+ @colors[:silver].should.not == nil
690
+ :silver.uicolor.should.be.kind_of(UIColor)
691
+ end
692
+
693
+ it 'should have skyblue color' do
694
+ @colors[:skyblue].should.not == nil
695
+ :skyblue.uicolor.should.be.kind_of(UIColor)
696
+ end
697
+
698
+ it 'should have slateblue color' do
699
+ @colors[:slateblue].should.not == nil
700
+ :slateblue.uicolor.should.be.kind_of(UIColor)
701
+ end
702
+
703
+ it 'should have slategray color' do
704
+ @colors[:slategray].should.not == nil
705
+ :slategray.uicolor.should.be.kind_of(UIColor)
706
+ end
707
+
708
+ it 'should have snow color' do
709
+ @colors[:snow].should.not == nil
710
+ :snow.uicolor.should.be.kind_of(UIColor)
711
+ end
712
+
713
+ it 'should have springgreen color' do
714
+ @colors[:springgreen].should.not == nil
715
+ :springgreen.uicolor.should.be.kind_of(UIColor)
716
+ end
717
+
718
+ it 'should have steelblue color' do
719
+ @colors[:steelblue].should.not == nil
720
+ :steelblue.uicolor.should.be.kind_of(UIColor)
721
+ end
722
+
723
+ it 'should have tan color' do
724
+ @colors[:tan].should.not == nil
725
+ :tan.uicolor.should.be.kind_of(UIColor)
726
+ end
727
+
728
+ it 'should have teal color' do
729
+ @colors[:teal].should.not == nil
730
+ :teal.uicolor.should.be.kind_of(UIColor)
731
+ end
732
+
733
+ it 'should have thistle color' do
734
+ @colors[:thistle].should.not == nil
735
+ :thistle.uicolor.should.be.kind_of(UIColor)
736
+ end
737
+
738
+ it 'should have tomato color' do
739
+ @colors[:tomato].should.not == nil
740
+ :tomato.uicolor.should.be.kind_of(UIColor)
741
+ end
742
+
743
+ it 'should have torygray color' do
744
+ @colors[:torygray].should.not == nil
745
+ :torygray.uicolor.should.be.kind_of(UIColor)
746
+ end
747
+
748
+ it 'should have turquoise color' do
749
+ @colors[:turquoise].should.not == nil
750
+ :turquoise.uicolor.should.be.kind_of(UIColor)
751
+ end
752
+
753
+ it 'should have violet color' do
754
+ @colors[:violet].should.not == nil
755
+ :violet.uicolor.should.be.kind_of(UIColor)
756
+ end
757
+
758
+ it 'should have wheat color' do
759
+ @colors[:wheat].should.not == nil
760
+ :wheat.uicolor.should.be.kind_of(UIColor)
761
+ end
762
+
763
+ it 'should have whitesmoke color' do
764
+ @colors[:whitesmoke].should.not == nil
765
+ :whitesmoke.uicolor.should.be.kind_of(UIColor)
766
+ end
767
+
768
+ it 'should have yellowgreen color' do
769
+ @colors[:yellowgreen].should.not == nil
770
+ :yellowgreen.uicolor.should.be.kind_of(UIColor)
771
+ end
93
772
  end
94
773
 
95
774
  describe 'deprecated colors' do
96
-
97
775
  before do
98
776
  @colors = Symbol.uicolors__deprecated
99
777
  end
100
778
 
101
779
  it 'should have darkgray color' do
102
780
  @colors[:darkgray].should == :dark_gray
781
+ :darkgray.uicolor.should.be.kind_of(UIColor)
103
782
  end
104
783
 
105
784
  it 'should have lightgray color' do
106
785
  @colors[:lightgray].should == :light_gray
786
+ :lightgray.uicolor.should.be.kind_of(UIColor)
107
787
  end
108
-
109
788
  end
110
789
 
111
790
  end