gist: 14146 Download_button fork
public
Public Clone URL: git://gist.github.com/14146.git
Text only
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
scott:webrat(master) scott$ autospec
loading autotest/rspec
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -S spec/webrat/core/logging_spec.rb spec/spec_helper.rb spec/integration/rails_spec.rb spec/api/selects_spec.rb spec/api/reloads_spec.rb spec/webrat/rails/rails_session_spec.rb spec/fakes/test_session.rb spec/api/fills_in_spec.rb spec/api/clicks_button_spec.rb spec/api/chooses_spec.rb spec/api/within_spec.rb spec/api/checks_spec.rb spec/api/attaches_file_spec.rb spec/api/save_and_open_spec.rb spec/api/clicks_link_spec.rb spec/webrat/core/session_spec.rb spec/api/visits_spec.rb -O spec/spec.opts
....FFFFFFFF.FF............FF.FFF..FFF..F.FFFFFFFFFFFFFFFFFFFFFFFFFF..FFFFFFF...FFF..FF.FFFF...FFFFFFFFFF...FFFFFFF.FFF....F..F
 
1)
Spec::Mocks::MockExpectationError in 'selects should send value from option'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: POST /login with {\"month\"=>\"1\"}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/selects_spec.rb:48:
spec/webrat/core/logging_spec.rb:3:
 
2)
Spec::Mocks::MockExpectationError in 'selects should send values with HTML encoded ampersands'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: POST /login with {\"encoded\"=>\"A & B\"}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/selects_spec.rb:60:
spec/webrat/core/logging_spec.rb:3:
 
3)
Spec::Mocks::MockExpectationError in 'selects should work with empty select lists'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: POST /login with {\"month\"=>\"\"}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/selects_spec.rb:71:
spec/webrat/core/logging_spec.rb:3:
 
4)
Spec::Mocks::MockExpectationError in 'selects should work without specifying the field name or label'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: POST /login with {\"month\"=>\"1\"}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/selects_spec.rb:83:
spec/webrat/core/logging_spec.rb:3:
 
5)
Spec::Mocks::MockExpectationError in 'selects should send value from option in list specified by name'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: POST /login with {\"start_month\"=>\"s1\", \"end_month\"=>\"e1\"}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/selects_spec.rb:96:
spec/webrat/core/logging_spec.rb:3:
 
6)
Spec::Mocks::MockExpectationError in 'selects should send value from option in list specified by label'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: POST /login with {\"start_month\"=>\"s1\", \"end_month\"=>\"e1\"}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/selects_spec.rb:111:
spec/webrat/core/logging_spec.rb:3:
 
7)
Spec::Mocks::MockExpectationError in 'selects should use option text if no value'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: POST /login with {\"month\"=>\"January\"}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/selects_spec.rb:123:
spec/webrat/core/logging_spec.rb:3:
 
8)
Spec::Mocks::MockExpectationError in 'selects should find option by regexp'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: POST /login with {\"month\"=>\"January\"}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/selects_spec.rb:135:
spec/webrat/core/logging_spec.rb:3:
 
9)
Spec::Mocks::MockExpectationError in 'selects should find option by regexp in list specified by label'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: POST /login with {\"start_month\"=>\"s1\", \"end_month\"=>\"e1\"}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/selects_spec.rb:163:
spec/webrat/core/logging_spec.rb:3:
 
10)
Spec::Mocks::MockExpectationError in 'reloads should reload the page with http referer'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET / with {}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:113:in `visits'
./spec/api/reloads_spec.rb:12:
spec/webrat/core/logging_spec.rb:3:
 
11)
Spec::Mocks::MockExpectationError in 'fills_in should work with textareas'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: POST /login with {\"user\"=>{\"text\"=>\"filling text area\"}}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/fills_in_spec.rb:18:
spec/webrat/core/logging_spec.rb:3:
 
12)
Spec::Mocks::MockExpectationError in 'fills_in should work with password fields'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: POST /login with {\"user\"=>{\"text\"=>\"pass\"}}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/fills_in_spec.rb:30:
spec/webrat/core/logging_spec.rb:3:
 
13)
Spec::Mocks::MockExpectationError in 'fills_in should allow overriding default form values'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: POST /login with {\"user\"=>{\"email\"=>\"foo@example.com\"}}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/fills_in_spec.rb:52:
spec/webrat/core/logging_spec.rb:3:
 
14)
Spec::Mocks::MockExpectationError in 'fills_in should choose the shortest label match'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: POST /login with {\"user\"=>{\"mail1\"=>\"\", \"mail2\"=>\"value\"}}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/fills_in_spec.rb:68:
spec/webrat/core/logging_spec.rb:3:
 
15)
Spec::Mocks::MockExpectationError in 'fills_in should choose the first label match if closest is a tie'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: POST /login with {\"user\"=>{\"mail1\"=>\"value\", \"mail2\"=>\"\"}}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/fills_in_spec.rb:84:
spec/webrat/core/logging_spec.rb:3:
 
16)
Spec::Mocks::MockExpectationError in 'fills_in should work with inputs nested in labels'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: POST /login with {\"user\"=>{\"email\"=>\"foo@example.com\"}}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/fills_in_spec.rb:121:
spec/webrat/core/logging_spec.rb:3:
 
17)
Spec::Mocks::MockExpectationError in 'fills_in should work with full input names'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: POST /login with {\"user\"=>{\"email\"=>\"foo@example.com\"}}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/fills_in_spec.rb:133:
spec/webrat/core/logging_spec.rb:3:
 
18)
Spec::Mocks::MockExpectationError in 'fills_in should work with symbols'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: POST /login with {\"user\"=>{\"email\"=>\"foo@example.com\"}}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/fills_in_spec.rb:146:
spec/webrat/core/logging_spec.rb:3:
 
19)
Spec::Mocks::MockExpectationError in 'clicks_button should default to get method'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET /login with {}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/clicks_button_spec.rb:33:
spec/webrat/core/logging_spec.rb:3:
 
20)
Spec::Mocks::MockExpectationError in 'clicks_button should submit the first form by default'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET /form1 with {}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/clicks_button_spec.rb:56:
spec/webrat/core/logging_spec.rb:3:
 
21)
Spec::Mocks::MockExpectationError in 'clicks_button should not explode on file fields'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET /form1 with {}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/clicks_button_spec.rb:66:
spec/webrat/core/logging_spec.rb:3:
 
22)
Spec::Mocks::MockExpectationError in 'clicks_button should submit the form with the specified button'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET /form2 with {}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/clicks_button_spec.rb:79:
spec/webrat/core/logging_spec.rb:3:
 
23)
Spec::Mocks::MockExpectationError in 'clicks_button should use action from form'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET /login with {}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/clicks_button_spec.rb:89:
spec/webrat/core/logging_spec.rb:3:
 
24)
Spec::Mocks::MockExpectationError in 'clicks_button should use method from form'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: POST /login with {}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/clicks_button_spec.rb:99:
spec/webrat/core/logging_spec.rb:3:
 
25)
Spec::Mocks::MockExpectationError in 'clicks_button should send button as param if it has a name'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: POST /login with {\"login\"=>\"Login\"}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/clicks_button_spec.rb:110:
spec/webrat/core/logging_spec.rb:3:
 
26)
Spec::Mocks::MockExpectationError in 'clicks_button should not send button as param if it has no name'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: POST /login with {}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/clicks_button_spec.rb:121:
spec/webrat/core/logging_spec.rb:3:
 
27)
Spec::Mocks::MockExpectationError in 'clicks_button should send default password field values'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET /login with {\"user\"=>{\"password\"=>\"mypass\"}}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/clicks_button_spec.rb:132:
spec/webrat/core/logging_spec.rb:3:
 
28)
Spec::Mocks::MockExpectationError in 'clicks_button should send default hidden field values'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET /login with {\"user\"=>{\"email\"=>\"test@example.com\"}}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/clicks_button_spec.rb:143:
spec/webrat/core/logging_spec.rb:3:
 
29)
Spec::Mocks::MockExpectationError in 'clicks_button should send default text field values'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET /login with {\"user\"=>{\"email\"=>\"test@example.com\"}}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/clicks_button_spec.rb:154:
spec/webrat/core/logging_spec.rb:3:
 
30)
Spec::Mocks::MockExpectationError in 'clicks_button should send default checked fields'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET /login with {\"user\"=>{\"tos\"=>\"1\"}}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/clicks_button_spec.rb:165:
spec/webrat/core/logging_spec.rb:3:
 
31)
Spec::Mocks::MockExpectationError in 'clicks_button should send default radio options'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET /login with {\"user\"=>{\"gender\"=>\"F\"}}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/clicks_button_spec.rb:179:
spec/webrat/core/logging_spec.rb:3:
 
32)
Spec::Mocks::MockExpectationError in 'clicks_button should send correct data for rails style unchecked fields'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET /login with {\"user\"=>{\"tos\"=>\"0\"}}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/clicks_button_spec.rb:191:
spec/webrat/core/logging_spec.rb:3:
 
33)
Spec::Mocks::MockExpectationError in 'clicks_button should send correct data for rails style checked fields'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET /login with {\"user\"=>{\"tos\"=>\"1\"}}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/clicks_button_spec.rb:203:
spec/webrat/core/logging_spec.rb:3:
 
34)
Spec::Mocks::MockExpectationError in 'clicks_button should send default collection fields'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: POST /login with {\"response\"=>{\"choices\"=>[{\"selected\"=>\"one\"}, {\"selected\"=>\"two\"}, {\"selected\"=>\"two\"}]}, \"options\"=>[\"burger\", \"fries\", \"soda\", \"soda\", \"dessert\"]}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/clicks_button_spec.rb:225:
spec/webrat/core/logging_spec.rb:3:
 
35)
Spec::Mocks::MockExpectationError in 'clicks_button should not send default unchecked fields'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET /login with {}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/clicks_button_spec.rb:236:
spec/webrat/core/logging_spec.rb:3:
 
36)
Spec::Mocks::MockExpectationError in 'clicks_button should send default textarea values'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: POST /posts with {\"post\"=>{\"body\"=>\"Post body here!\"}}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/clicks_button_spec.rb:247:
spec/webrat/core/logging_spec.rb:3:
 
37)
Spec::Mocks::MockExpectationError in 'clicks_button should send default selected option value from select'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET /login with {\"month\"=>\"2\"}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/clicks_button_spec.rb:261:
spec/webrat/core/logging_spec.rb:3:
 
38)
Spec::Mocks::MockExpectationError in 'clicks_button should send default selected option inner html from select when no value attribute'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET /login with {\"month\"=>\"February\"}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/clicks_button_spec.rb:275:
spec/webrat/core/logging_spec.rb:3:
 
39)
Spec::Mocks::MockExpectationError in 'clicks_button should send first select option value when no option selected'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET /login with {\"month\"=>\"1\"}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/clicks_button_spec.rb:289:
spec/webrat/core/logging_spec.rb:3:
 
40)
Spec::Mocks::MockExpectationError in 'clicks_button should handle nested properties'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: POST /login with {\"contestant\"=>{\"scores\"=>{\"1\"=>\"2\", \"3\"=>\"4\"}}}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/clicks_button_spec.rb:301:
spec/webrat/core/logging_spec.rb:3:
 
41)
Spec::Mocks::MockExpectationError in 'clicks_button should send default empty text field values'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET /login with {\"user\"=>{\"email\"=>\"\"}}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/clicks_button_spec.rb:312:
spec/webrat/core/logging_spec.rb:3:
 
42)
Spec::Mocks::MockExpectationError in 'clicks_button should recognize button tags'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET /login with {\"user\"=>{\"email\"=>\"\"}}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/clicks_button_spec.rb:323:
spec/webrat/core/logging_spec.rb:3:
 
43)
Spec::Mocks::MockExpectationError in 'clicks_button should recognize image button tags'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET / with {}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/clicks_button_spec.rb:333:
spec/webrat/core/logging_spec.rb:3:
 
44)
Spec::Mocks::MockExpectationError in 'clicks_button should find image buttons by their alt text'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET / with {}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/clicks_button_spec.rb:343:
spec/webrat/core/logging_spec.rb:3:
 
45)
Spec::Mocks::MockExpectationError in 'clicks_button should recognize button tags by content'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET /login with {\"user\"=>{\"email\"=>\"\"}}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/clicks_button_spec.rb:354:
spec/webrat/core/logging_spec.rb:3:
 
46)
Spec::Mocks::MockExpectationError in 'chooses should check rails style radio buttons'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET /login with {\"user\"=>{\"gender\"=>\"M\"}}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/chooses_spec.rb:39:
spec/webrat/core/logging_spec.rb:3:
 
47)
Spec::Mocks::MockExpectationError in 'chooses should only submit last chosen value'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET /login with {\"user\"=>{\"gender\"=>\"M\"}}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/chooses_spec.rb:55:
spec/webrat/core/logging_spec.rb:3:
 
48)
Spec::Mocks::MockExpectationError in 'chooses should result in the value on being posted if not specified'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: POST /login with {\"first_option\"=>\"on\"}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/chooses_spec.rb:67:
spec/webrat/core/logging_spec.rb:3:
 
49)
Spec::Mocks::MockExpectationError in 'chooses should result in the value on being posted if not specified and checked by default'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: POST /login with {\"first_option\"=>\"on\"}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/chooses_spec.rb:78:
spec/webrat/core/logging_spec.rb:3:
 
50)
Spec::Mocks::MockExpectationError in 'chooses should result in the value of the selected radio button being posted when a subsequent one is checked by default'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: POST /login with {\"user\"=>{\"gender\"=>\"M\"}}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/chooses_spec.rb:93:
spec/webrat/core/logging_spec.rb:3:
 
51)
Spec::Mocks::MockExpectationError in 'within should click links within a scope'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET /page2 with {}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/link.rb:16:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:105:in `clicks_link'
./spec/api/within_spec.rb:18:
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:109:in `within'
./spec/api/within_spec.rb:17:
spec/webrat/core/logging_spec.rb:3:
 
52)
Spec::Mocks::MockExpectationError in 'within should submit forms within a scope'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET /form2 with {\"email\"=>\"test@example.com\"}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/within_spec.rb:37:
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:109:in `within'
./spec/api/within_spec.rb:35:
spec/webrat/core/logging_spec.rb:3:
 
53)
Spec::Mocks::MockExpectationError in 'checks should check rails style checkboxes'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET /login with {\"user\"=>{\"tos\"=>\"1\"}}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/checks_spec.rb:38:
spec/webrat/core/logging_spec.rb:3:
 
54)
Spec::Mocks::MockExpectationError in 'checks should result in the value on being posted if not specified'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: POST /login with {\"remember_me\"=>\"on\"}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/checks_spec.rb:50:
spec/webrat/core/logging_spec.rb:3:
 
55)
Spec::Mocks::MockExpectationError in 'checks should result in a custom value being posted'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: POST /login with {\"remember_me\"=>\"yes\"}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/checks_spec.rb:62:
spec/webrat/core/logging_spec.rb:3:
 
56)
Spec::Mocks::MockExpectationError in 'unchecks should uncheck rails style checkboxes'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET /login with {\"user\"=>{\"tos\"=>\"0\"}}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/checks_spec.rb:102:
spec/webrat/core/logging_spec.rb:3:
 
57)
Spec::Mocks::MockExpectationError in 'unchecks should result in value not being posted'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: POST /login with {}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/checks_spec.rb:114:
spec/webrat/core/logging_spec.rb:3:
 
58)
Spec::Mocks::MockExpectationError in 'attaches_file should submit empty strings for blank file fields'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: POST /widgets with {\"widget\"=>{\"file\"=>\"\"}}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/attaches_file_spec.rb:28:
spec/webrat/core/logging_spec.rb:3:
 
59)
Spec::Mocks::MockExpectationError in 'attaches_file should submit the attached file'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: POST /widgets with {\"widget\"=>{\"file\"=>#<Spec::Mocks::Mock:0x10f4dfc @name=\"uploaded file\">}}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/attaches_file_spec.rb:41:
spec/webrat/core/logging_spec.rb:3:
 
60)
Spec::Mocks::MockExpectationError in 'attaches_file should support collections'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: POST /widgets with {\"widget\"=>{\"files\"=>[#<Spec::Mocks::Mock:0x10dbc08 @name=\"uploaded file\">, #<Spec::Mocks::Mock:0x10dbc08 @name=\"uploaded file\">]}}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/attaches_file_spec.rb:57:
spec/webrat/core/logging_spec.rb:3:
 
61)
Spec::Mocks::MockExpectationError in 'attaches_file should allow the content type to be specified'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: POST /widgets with {\"person\"=>{\"picture\"=>#<Spec::Mocks::Mock:0x10ac656 @name=\"uploaded file\">}}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/form.rb:56:in `submit'
/Users/scott/src/git/webrat/lib/webrat/core/field.rb:148:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:160:in `clicks_button'
./spec/api/attaches_file_spec.rb:70:
spec/webrat/core/logging_spec.rb:3:
 
62)
Spec::Mocks::MockExpectationError in 'clicks_link should use get by default'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET /page with {}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/link.rb:16:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:105:in `clicks_link'
./spec/api/clicks_link_spec.rb:13:
spec/webrat/core/logging_spec.rb:3:
 
63)
Spec::Mocks::MockExpectationError in 'clicks_link should click get links'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET /page with {}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/link.rb:16:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:115:in `clicks_get_link'
./spec/api/clicks_link_spec.rb:21:
spec/webrat/core/logging_spec.rb:3:
 
64)
Spec::Mocks::MockExpectationError in 'clicks_link should click delete links'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: DELETE /page with {}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/link.rb:16:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:125:in `clicks_delete_link'
./spec/api/clicks_link_spec.rb:29:
spec/webrat/core/logging_spec.rb:3:
 
65)
Spec::Mocks::MockExpectationError in 'clicks_link should click post links'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: POST /page with {}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/link.rb:16:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:135:in `clicks_post_link'
./spec/api/clicks_link_spec.rb:38:
spec/webrat/core/logging_spec.rb:3:
 
66)
Spec::Mocks::MockExpectationError in 'clicks_link should click put links'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: PUT /page with {}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/link.rb:16:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:145:in `clicks_put_link'
./spec/api/clicks_link_spec.rb:46:
spec/webrat/core/logging_spec.rb:3:
 
67)
Spec::Mocks::MockExpectationError in 'clicks_link should click rails javascript links with authenticity tokens'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: POST /posts with {\"authenticity_token\"=>\"aa79cb354597a60a3786e7e291ed4f74d77d3a62\"}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/link.rb:16:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:105:in `clicks_link'
./spec/api/clicks_link_spec.rb:65:
spec/webrat/core/logging_spec.rb:3:
 
68)
Spec::Mocks::MockExpectationError in 'clicks_link should click rails javascript delete links'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: DELETE /posts/1 with {}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/link.rb:16:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:105:in `clicks_link'
./spec/api/clicks_link_spec.rb:84:
spec/webrat/core/logging_spec.rb:3:
 
69)
Spec::Mocks::MockExpectationError in 'clicks_link should click rails javascript post links'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: POST /posts with {}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/link.rb:16:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:105:in `clicks_link'
./spec/api/clicks_link_spec.rb:98:
spec/webrat/core/logging_spec.rb:3:
 
70)
Spec::Mocks::MockExpectationError in 'clicks_link should click rails javascript post links without javascript'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET /posts with {}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/link.rb:18:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:105:in `clicks_link'
./spec/api/clicks_link_spec.rb:112:
spec/webrat/core/logging_spec.rb:3:
 
71)
Spec::Mocks::MockExpectationError in 'clicks_link should click rails javascript put links'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: PUT /posts with {}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/link.rb:16:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:105:in `clicks_link'
./spec/api/clicks_link_spec.rb:131:
spec/webrat/core/logging_spec.rb:3:
 
72)
Spec::Mocks::MockExpectationError in 'clicks_link should not be case sensitive'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET /page with {}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/link.rb:16:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:105:in `clicks_link'
./spec/api/clicks_link_spec.rb:177:
spec/webrat/core/logging_spec.rb:3:
 
73)
Spec::Mocks::MockExpectationError in 'clicks_link should match link substrings'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET /page with {}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/link.rb:16:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:105:in `clicks_link'
./spec/api/clicks_link_spec.rb:185:
spec/webrat/core/logging_spec.rb:3:
 
74)
Spec::Mocks::MockExpectationError in 'clicks_link should work with elements in the link'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET /page with {}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/link.rb:16:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:105:in `clicks_link'
./spec/api/clicks_link_spec.rb:193:
spec/webrat/core/logging_spec.rb:3:
 
75)
Spec::Mocks::MockExpectationError in 'clicks_link should match the first matching link'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET /page1 with {}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/link.rb:16:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:105:in `clicks_link'
./spec/api/clicks_link_spec.rb:202:
spec/webrat/core/logging_spec.rb:3:
 
76)
Spec::Mocks::MockExpectationError in 'clicks_link should choose the shortest link text match'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET /page2 with {}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/link.rb:16:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:105:in `clicks_link'
./spec/api/clicks_link_spec.rb:212:
spec/webrat/core/logging_spec.rb:3:
 
77)
Spec::Mocks::MockExpectationError in 'clicks_link should treat non-breaking spaces as spaces'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET /page1 with {}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/link.rb:16:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:105:in `clicks_link'
./spec/api/clicks_link_spec.rb:221:
spec/webrat/core/logging_spec.rb:3:
 
78)
Spec::Mocks::MockExpectationError in 'clicks_link should click link within a selector'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET /page2 with {}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/link.rb:16:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:105:in `clicks_link'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:102:in `clicks_link_within'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:109:in `within'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:101:in `clicks_link_within'
./spec/api/clicks_link_spec.rb:233:
spec/webrat/core/logging_spec.rb:3:
 
79)
Spec::Mocks::MockExpectationError in 'clicks_link should follow relative links'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET /page/sub with {}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/link.rb:16:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:105:in `clicks_link'
./spec/api/clicks_link_spec.rb:251:
spec/webrat/core/logging_spec.rb:3:
 
80)
Spec::Mocks::MockExpectationError in 'clicks_link should follow fully qualified local links'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET http://www.example.com/page/sub with {}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/link.rb:16:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:105:in `clicks_link'
./spec/api/clicks_link_spec.rb:259:
spec/webrat/core/logging_spec.rb:3:
 
81)
Spec::Mocks::MockExpectationError in 'clicks_link should follow query parameters'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET /page?foo=bar with {}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/link.rb:16:in `click'
/Users/scott/src/git/webrat/lib/webrat/core/scope.rb:105:in `clicks_link'
./spec/api/clicks_link_spec.rb:268:
spec/webrat/core/logging_spec.rb:3:
 
82)
Spec::Mocks::MockExpectationError in 'visits should use get'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET / with {}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:113:in `visits'
./spec/api/visits_spec.rb:11:
spec/webrat/core/logging_spec.rb:3:
 
83)
Spec::Mocks::MockExpectationError in 'visits with referer should use get with referer header'
Mock 'logger' received unexpected message :debug with ("REQUESTING PAGE: GET / with {}")
/Users/scott/src/git/webrat/lib/webrat/core/logging.rb:6:in `debug_log'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:56:in `request_page'
/Users/scott/src/git/webrat/lib/webrat/core/session.rb:113:in `visits'
./spec/api/visits_spec.rb:33:
spec/webrat/core/logging_spec.rb:3:
 
Finished in 0.82784 seconds
 
127 examples, 83 failures
Loaded suite spec/webrat/core/logging_spec
Started
 
Finished in 0.000166 seconds.
 
0 tests, 0 assertions, 0 failures, 0 errors
^CInterrupt a second time to quit
^Cscott:webrat(master) scott$ spec --version
rspec version 1.1.5
scott:webrat(master) scott$
 

Revisions