terminus 0.4.0 → 0.5.0

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.
Files changed (48) hide show
  1. data/bin/terminus +5 -5
  2. data/lib/capybara/driver/terminus.rb +24 -13
  3. data/lib/terminus.rb +21 -15
  4. data/lib/terminus/application.rb +6 -6
  5. data/lib/terminus/browser.rb +77 -60
  6. data/lib/terminus/client.rb +33 -16
  7. data/lib/terminus/client/browser.rb +10 -9
  8. data/lib/terminus/client/phantom.js +25 -3
  9. data/lib/terminus/client/phantomjs.rb +44 -7
  10. data/lib/terminus/connector.rb +2 -2
  11. data/lib/terminus/connector/server.rb +15 -15
  12. data/lib/terminus/connector/socket_handler.rb +11 -11
  13. data/lib/terminus/controller.rb +62 -26
  14. data/lib/terminus/headers.rb +25 -0
  15. data/lib/terminus/host.rb +6 -6
  16. data/lib/terminus/node.rb +36 -22
  17. data/lib/terminus/proxy.rb +81 -45
  18. data/lib/terminus/proxy/driver_body.rb +14 -15
  19. data/lib/terminus/proxy/external.rb +12 -6
  20. data/lib/terminus/proxy/rewrite.rb +7 -6
  21. data/lib/terminus/public/compiled/terminus-min.js +3 -3
  22. data/lib/terminus/public/compiled/terminus.js +225 -180
  23. data/lib/terminus/public/pathology.js +87 -87
  24. data/lib/terminus/public/terminus.js +138 -93
  25. data/lib/terminus/server.rb +7 -7
  26. data/lib/terminus/timeouts.rb +8 -8
  27. data/lib/terminus/views/bootstrap.erb +7 -7
  28. data/lib/terminus/views/index.erb +4 -4
  29. data/lib/terminus/views/infinite.html +4 -4
  30. data/spec/1.1/reports/android.txt +874 -0
  31. data/spec/{reports → 1.1/reports}/chrome.txt +72 -69
  32. data/spec/{reports → 1.1/reports}/firefox.txt +72 -69
  33. data/spec/{reports → 1.1/reports}/opera.txt +72 -69
  34. data/spec/{reports → 1.1/reports}/phantomjs.txt +72 -69
  35. data/spec/{reports → 1.1/reports}/safari.txt +72 -69
  36. data/spec/{spec_helper.rb → 1.1/spec_helper.rb} +5 -2
  37. data/spec/{terminus_driver_spec.rb → 1.1/terminus_driver_spec.rb} +2 -2
  38. data/spec/{terminus_session_spec.rb → 1.1/terminus_session_spec.rb} +2 -2
  39. data/spec/2.0/reports/android.txt +815 -0
  40. data/spec/2.0/reports/chrome.txt +806 -0
  41. data/spec/2.0/reports/firefox.txt +812 -0
  42. data/spec/2.0/reports/opera.txt +806 -0
  43. data/spec/2.0/reports/phantomjs.txt +803 -0
  44. data/spec/2.0/reports/safari.txt +806 -0
  45. data/spec/2.0/spec_helper.rb +21 -0
  46. data/spec/2.0/terminus_spec.rb +25 -0
  47. metadata +41 -32
  48. data/spec/reports/android.txt +0 -875
@@ -20,6 +20,7 @@ Capybara::Driver::Terminus
20
20
  should extract node attributes
21
21
  should extract boolean node attributes
22
22
  should allow retrieval of the value
23
+ should not swallow extra newlines in textarea
23
24
  should allow assignment of field value
24
25
  should extract node tag name
25
26
  should extract node visibility
@@ -717,6 +718,8 @@ Capybara::Session
717
718
  should reload the current context of the node automatically
718
719
  should reload a parent node automatically
719
720
  should reload a node automatically when using find
721
+ should not reload nodes which haven't been found
722
+ should reload nodes with options
720
723
  #find
721
724
  should allow triggering of custom JS events
722
725
  #body
@@ -764,114 +767,114 @@ Capybara::Session
764
767
 
765
768
  Failures:
766
769
 
767
- 1) Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with normal form should set a file path by id
770
+ 1) Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with normal form should set a file path by id
768
771
  Failure/Error: @session.attach_file "form_image", __FILE__
769
772
  Capybara::NotSupportedByDriverError:
770
773
  Capybara::NotSupportedByDriverError
771
- Shared Example Group: "attach_file" called from ./vendor/capybara/lib/capybara/spec/session.rb:88
772
- # ./lib/terminus/node.rb:52:in `set'
773
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `block in set'
774
- # ./vendor/capybara/lib/capybara/node/base.rb:46:in `wait_until'
775
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `set'
776
- # ./vendor/capybara/lib/capybara/node/actions.rb:158:in `attach_file'
774
+ Shared Example Group: "attach_file" called from ./vendor/capybara/1.1/lib/capybara/spec/session.rb:88
775
+ # ./lib/terminus/node.rb:66:in `set'
776
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `block in set'
777
+ # ./vendor/capybara/1.1/lib/capybara/node/base.rb:54:in `wait_until'
778
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `set'
779
+ # ./vendor/capybara/1.1/lib/capybara/node/actions.rb:158:in `attach_file'
777
780
  # (eval):2:in `attach_file'
778
- # ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:12:in `block (4 levels) in <top (required)>'
781
+ # ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:12:in `block (4 levels) in <top (required)>'
779
782
 
780
- 2) Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with normal form should set a file path by label
783
+ 2) Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with normal form should set a file path by label
781
784
  Failure/Error: @session.attach_file "Image", __FILE__
782
785
  Capybara::NotSupportedByDriverError:
783
786
  Capybara::NotSupportedByDriverError
784
- Shared Example Group: "attach_file" called from ./vendor/capybara/lib/capybara/spec/session.rb:88
785
- # ./lib/terminus/node.rb:52:in `set'
786
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `block in set'
787
- # ./vendor/capybara/lib/capybara/node/base.rb:46:in `wait_until'
788
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `set'
789
- # ./vendor/capybara/lib/capybara/node/actions.rb:158:in `attach_file'
787
+ Shared Example Group: "attach_file" called from ./vendor/capybara/1.1/lib/capybara/spec/session.rb:88
788
+ # ./lib/terminus/node.rb:66:in `set'
789
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `block in set'
790
+ # ./vendor/capybara/1.1/lib/capybara/node/base.rb:54:in `wait_until'
791
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `set'
792
+ # ./vendor/capybara/1.1/lib/capybara/node/actions.rb:158:in `attach_file'
790
793
  # (eval):2:in `attach_file'
791
- # ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:18:in `block (4 levels) in <top (required)>'
794
+ # ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:18:in `block (4 levels) in <top (required)>'
792
795
 
793
- 3) Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with multipart form should set a file path by id
796
+ 3) Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with multipart form should set a file path by id
794
797
  Failure/Error: @session.attach_file "form_document", @test_file_path
795
798
  Capybara::NotSupportedByDriverError:
796
799
  Capybara::NotSupportedByDriverError
797
- Shared Example Group: "attach_file" called from ./vendor/capybara/lib/capybara/spec/session.rb:88
798
- # ./lib/terminus/node.rb:52:in `set'
799
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `block in set'
800
- # ./vendor/capybara/lib/capybara/node/base.rb:46:in `wait_until'
801
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `set'
802
- # ./vendor/capybara/lib/capybara/node/actions.rb:158:in `attach_file'
800
+ Shared Example Group: "attach_file" called from ./vendor/capybara/1.1/lib/capybara/spec/session.rb:88
801
+ # ./lib/terminus/node.rb:66:in `set'
802
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `block in set'
803
+ # ./vendor/capybara/1.1/lib/capybara/node/base.rb:54:in `wait_until'
804
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `set'
805
+ # ./vendor/capybara/1.1/lib/capybara/node/actions.rb:158:in `attach_file'
803
806
  # (eval):2:in `attach_file'
804
- # ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:26:in `block (4 levels) in <top (required)>'
807
+ # ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:26:in `block (4 levels) in <top (required)>'
805
808
 
806
- 4) Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with multipart form should set a file path by label
809
+ 4) Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with multipart form should set a file path by label
807
810
  Failure/Error: @session.attach_file "Document", @test_file_path
808
811
  Capybara::NotSupportedByDriverError:
809
812
  Capybara::NotSupportedByDriverError
810
- Shared Example Group: "attach_file" called from ./vendor/capybara/lib/capybara/spec/session.rb:88
811
- # ./lib/terminus/node.rb:52:in `set'
812
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `block in set'
813
- # ./vendor/capybara/lib/capybara/node/base.rb:46:in `wait_until'
814
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `set'
815
- # ./vendor/capybara/lib/capybara/node/actions.rb:158:in `attach_file'
813
+ Shared Example Group: "attach_file" called from ./vendor/capybara/1.1/lib/capybara/spec/session.rb:88
814
+ # ./lib/terminus/node.rb:66:in `set'
815
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `block in set'
816
+ # ./vendor/capybara/1.1/lib/capybara/node/base.rb:54:in `wait_until'
817
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `set'
818
+ # ./vendor/capybara/1.1/lib/capybara/node/actions.rb:158:in `attach_file'
816
819
  # (eval):2:in `attach_file'
817
- # ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:32:in `block (4 levels) in <top (required)>'
820
+ # ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:32:in `block (4 levels) in <top (required)>'
818
821
 
819
- 5) Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with multipart form should send content type text/plain when uploading a text file
822
+ 5) Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with multipart form should send content type text/plain when uploading a text file
820
823
  Failure/Error: @session.attach_file "Document", @test_file_path
821
824
  Capybara::NotSupportedByDriverError:
822
825
  Capybara::NotSupportedByDriverError
823
- Shared Example Group: "attach_file" called from ./vendor/capybara/lib/capybara/spec/session.rb:88
824
- # ./lib/terminus/node.rb:52:in `set'
825
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `block in set'
826
- # ./vendor/capybara/lib/capybara/node/base.rb:46:in `wait_until'
827
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `set'
828
- # ./vendor/capybara/lib/capybara/node/actions.rb:158:in `attach_file'
826
+ Shared Example Group: "attach_file" called from ./vendor/capybara/1.1/lib/capybara/spec/session.rb:88
827
+ # ./lib/terminus/node.rb:66:in `set'
828
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `block in set'
829
+ # ./vendor/capybara/1.1/lib/capybara/node/base.rb:54:in `wait_until'
830
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `set'
831
+ # ./vendor/capybara/1.1/lib/capybara/node/actions.rb:158:in `attach_file'
829
832
  # (eval):2:in `attach_file'
830
- # ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:43:in `block (4 levels) in <top (required)>'
833
+ # ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:43:in `block (4 levels) in <top (required)>'
831
834
 
832
- 6) Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with multipart form should send content type image/jpeg when uploading an image
835
+ 6) Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with multipart form should send content type image/jpeg when uploading an image
833
836
  Failure/Error: @session.attach_file "Document", @test_jpg_file_path
834
837
  Capybara::NotSupportedByDriverError:
835
838
  Capybara::NotSupportedByDriverError
836
- Shared Example Group: "attach_file" called from ./vendor/capybara/lib/capybara/spec/session.rb:88
837
- # ./lib/terminus/node.rb:52:in `set'
838
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `block in set'
839
- # ./vendor/capybara/lib/capybara/node/base.rb:46:in `wait_until'
840
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `set'
841
- # ./vendor/capybara/lib/capybara/node/actions.rb:158:in `attach_file'
839
+ Shared Example Group: "attach_file" called from ./vendor/capybara/1.1/lib/capybara/spec/session.rb:88
840
+ # ./lib/terminus/node.rb:66:in `set'
841
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `block in set'
842
+ # ./vendor/capybara/1.1/lib/capybara/node/base.rb:54:in `wait_until'
843
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `set'
844
+ # ./vendor/capybara/1.1/lib/capybara/node/actions.rb:158:in `attach_file'
842
845
  # (eval):2:in `attach_file'
843
- # ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:49:in `block (4 levels) in <top (required)>'
846
+ # ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:49:in `block (4 levels) in <top (required)>'
844
847
 
845
- 7) Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with multipart form should not break when using HTML5 multiple file input
848
+ 7) Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with multipart form should not break when using HTML5 multiple file input
846
849
  Failure/Error: @session.attach_file "Multiple Documents", @test_file_path
847
850
  Capybara::NotSupportedByDriverError:
848
851
  Capybara::NotSupportedByDriverError
849
- Shared Example Group: "attach_file" called from ./vendor/capybara/lib/capybara/spec/session.rb:88
850
- # ./lib/terminus/node.rb:52:in `set'
851
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `block in set'
852
- # ./vendor/capybara/lib/capybara/node/base.rb:46:in `wait_until'
853
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `set'
854
- # ./vendor/capybara/lib/capybara/node/actions.rb:158:in `attach_file'
852
+ Shared Example Group: "attach_file" called from ./vendor/capybara/1.1/lib/capybara/spec/session.rb:88
853
+ # ./lib/terminus/node.rb:66:in `set'
854
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `block in set'
855
+ # ./vendor/capybara/1.1/lib/capybara/node/base.rb:54:in `wait_until'
856
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `set'
857
+ # ./vendor/capybara/1.1/lib/capybara/node/actions.rb:158:in `attach_file'
855
858
  # (eval):2:in `attach_file'
856
- # ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:55:in `block (4 levels) in <top (required)>'
859
+ # ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:55:in `block (4 levels) in <top (required)>'
857
860
 
858
- 8) Capybara::Session with terminus driver it should behave like session it should behave like fill_in#fill_in should fill in a text field by label without for
861
+ 8) Capybara::Session with terminus driver it should behave like session it should behave like fill_in #fill_in should fill in a text field by label without for
859
862
  Failure/Error: extract_results(@session)['street'].should == 'Avenue Q'
860
863
  expected: "Avenue Q"
861
864
  got: "Sesame street 66" (using ==)
862
- Shared Example Group: "fill_in" called from ./vendor/capybara/lib/capybara/spec/session.rb:94
863
- # ./vendor/capybara/lib/capybara/spec/session/fill_in_spec.rb:22:in `block (3 levels) in <top (required)>'
865
+ Shared Example Group: "fill_in" called from ./vendor/capybara/1.1/lib/capybara/spec/session.rb:94
866
+ # ./vendor/capybara/1.1/lib/capybara/spec/session/fill_in_spec.rb:22:in `block (3 levels) in <top (required)>'
864
867
 
865
- Finished in 4 minutes 7.05 seconds
866
- 510 examples, 8 failures
868
+ Finished in 3 minutes 53.66 seconds
869
+ 513 examples, 8 failures
867
870
 
868
871
  Failed examples:
869
872
 
870
- rspec ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:11 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with normal form should set a file path by id
871
- rspec ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:17 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with normal form should set a file path by label
872
- rspec ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:25 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with multipart form should set a file path by id
873
- rspec ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:31 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with multipart form should set a file path by label
874
- rspec ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:42 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with multipart form should send content type text/plain when uploading a text file
875
- rspec ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:48 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with multipart form should send content type image/jpeg when uploading an image
876
- rspec ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:54 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with multipart form should not break when using HTML5 multiple file input
877
- rspec ./vendor/capybara/lib/capybara/spec/session/fill_in_spec.rb:19 # Capybara::Session with terminus driver it should behave like session it should behave like fill_in#fill_in should fill in a text field by label without for
873
+ rspec ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:11 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with normal form should set a file path by id
874
+ rspec ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:17 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with normal form should set a file path by label
875
+ rspec ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:25 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with multipart form should set a file path by id
876
+ rspec ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:31 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with multipart form should set a file path by label
877
+ rspec ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:42 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with multipart form should send content type text/plain when uploading a text file
878
+ rspec ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:48 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with multipart form should send content type image/jpeg when uploading an image
879
+ rspec ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:54 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with multipart form should not break when using HTML5 multiple file input
880
+ rspec ./vendor/capybara/1.1/lib/capybara/spec/session/fill_in_spec.rb:19 # Capybara::Session with terminus driver it should behave like session it should behave like fill_in #fill_in should fill in a text field by label without for
@@ -20,6 +20,7 @@ Capybara::Driver::Terminus
20
20
  should extract node attributes
21
21
  should extract boolean node attributes
22
22
  should allow retrieval of the value
23
+ should not swallow extra newlines in textarea
23
24
  should allow assignment of field value
24
25
  should extract node tag name
25
26
  should extract node visibility
@@ -717,6 +718,8 @@ Capybara::Session
717
718
  should reload the current context of the node automatically
718
719
  should reload a parent node automatically
719
720
  should reload a node automatically when using find
721
+ should not reload nodes which haven't been found
722
+ should reload nodes with options
720
723
  #find
721
724
  should allow triggering of custom JS events (FAILED - 8)
722
725
  #body
@@ -764,113 +767,113 @@ Capybara::Session
764
767
 
765
768
  Failures:
766
769
 
767
- 1) Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with normal form should set a file path by id
770
+ 1) Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with normal form should set a file path by id
768
771
  Failure/Error: @session.attach_file "form_image", __FILE__
769
772
  Capybara::NotSupportedByDriverError:
770
773
  Capybara::NotSupportedByDriverError
771
- Shared Example Group: "attach_file" called from ./vendor/capybara/lib/capybara/spec/session.rb:88
772
- # ./lib/terminus/node.rb:52:in `set'
773
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `block in set'
774
- # ./vendor/capybara/lib/capybara/node/base.rb:46:in `wait_until'
775
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `set'
776
- # ./vendor/capybara/lib/capybara/node/actions.rb:158:in `attach_file'
774
+ Shared Example Group: "attach_file" called from ./vendor/capybara/1.1/lib/capybara/spec/session.rb:88
775
+ # ./lib/terminus/node.rb:66:in `set'
776
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `block in set'
777
+ # ./vendor/capybara/1.1/lib/capybara/node/base.rb:54:in `wait_until'
778
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `set'
779
+ # ./vendor/capybara/1.1/lib/capybara/node/actions.rb:158:in `attach_file'
777
780
  # (eval):2:in `attach_file'
778
- # ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:12:in `block (4 levels) in <top (required)>'
781
+ # ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:12:in `block (4 levels) in <top (required)>'
779
782
 
780
- 2) Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with normal form should set a file path by label
783
+ 2) Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with normal form should set a file path by label
781
784
  Failure/Error: @session.attach_file "Image", __FILE__
782
785
  Capybara::NotSupportedByDriverError:
783
786
  Capybara::NotSupportedByDriverError
784
- Shared Example Group: "attach_file" called from ./vendor/capybara/lib/capybara/spec/session.rb:88
785
- # ./lib/terminus/node.rb:52:in `set'
786
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `block in set'
787
- # ./vendor/capybara/lib/capybara/node/base.rb:46:in `wait_until'
788
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `set'
789
- # ./vendor/capybara/lib/capybara/node/actions.rb:158:in `attach_file'
787
+ Shared Example Group: "attach_file" called from ./vendor/capybara/1.1/lib/capybara/spec/session.rb:88
788
+ # ./lib/terminus/node.rb:66:in `set'
789
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `block in set'
790
+ # ./vendor/capybara/1.1/lib/capybara/node/base.rb:54:in `wait_until'
791
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `set'
792
+ # ./vendor/capybara/1.1/lib/capybara/node/actions.rb:158:in `attach_file'
790
793
  # (eval):2:in `attach_file'
791
- # ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:18:in `block (4 levels) in <top (required)>'
794
+ # ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:18:in `block (4 levels) in <top (required)>'
792
795
 
793
- 3) Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with multipart form should set a file path by id
796
+ 3) Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with multipart form should set a file path by id
794
797
  Failure/Error: @session.attach_file "form_document", @test_file_path
795
798
  Capybara::NotSupportedByDriverError:
796
799
  Capybara::NotSupportedByDriverError
797
- Shared Example Group: "attach_file" called from ./vendor/capybara/lib/capybara/spec/session.rb:88
798
- # ./lib/terminus/node.rb:52:in `set'
799
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `block in set'
800
- # ./vendor/capybara/lib/capybara/node/base.rb:46:in `wait_until'
801
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `set'
802
- # ./vendor/capybara/lib/capybara/node/actions.rb:158:in `attach_file'
800
+ Shared Example Group: "attach_file" called from ./vendor/capybara/1.1/lib/capybara/spec/session.rb:88
801
+ # ./lib/terminus/node.rb:66:in `set'
802
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `block in set'
803
+ # ./vendor/capybara/1.1/lib/capybara/node/base.rb:54:in `wait_until'
804
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `set'
805
+ # ./vendor/capybara/1.1/lib/capybara/node/actions.rb:158:in `attach_file'
803
806
  # (eval):2:in `attach_file'
804
- # ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:26:in `block (4 levels) in <top (required)>'
807
+ # ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:26:in `block (4 levels) in <top (required)>'
805
808
 
806
- 4) Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with multipart form should set a file path by label
809
+ 4) Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with multipart form should set a file path by label
807
810
  Failure/Error: @session.attach_file "Document", @test_file_path
808
811
  Capybara::NotSupportedByDriverError:
809
812
  Capybara::NotSupportedByDriverError
810
- Shared Example Group: "attach_file" called from ./vendor/capybara/lib/capybara/spec/session.rb:88
811
- # ./lib/terminus/node.rb:52:in `set'
812
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `block in set'
813
- # ./vendor/capybara/lib/capybara/node/base.rb:46:in `wait_until'
814
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `set'
815
- # ./vendor/capybara/lib/capybara/node/actions.rb:158:in `attach_file'
813
+ Shared Example Group: "attach_file" called from ./vendor/capybara/1.1/lib/capybara/spec/session.rb:88
814
+ # ./lib/terminus/node.rb:66:in `set'
815
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `block in set'
816
+ # ./vendor/capybara/1.1/lib/capybara/node/base.rb:54:in `wait_until'
817
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `set'
818
+ # ./vendor/capybara/1.1/lib/capybara/node/actions.rb:158:in `attach_file'
816
819
  # (eval):2:in `attach_file'
817
- # ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:32:in `block (4 levels) in <top (required)>'
820
+ # ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:32:in `block (4 levels) in <top (required)>'
818
821
 
819
- 5) Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with multipart form should send content type text/plain when uploading a text file
822
+ 5) Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with multipart form should send content type text/plain when uploading a text file
820
823
  Failure/Error: @session.attach_file "Document", @test_file_path
821
824
  Capybara::NotSupportedByDriverError:
822
825
  Capybara::NotSupportedByDriverError
823
- Shared Example Group: "attach_file" called from ./vendor/capybara/lib/capybara/spec/session.rb:88
824
- # ./lib/terminus/node.rb:52:in `set'
825
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `block in set'
826
- # ./vendor/capybara/lib/capybara/node/base.rb:46:in `wait_until'
827
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `set'
828
- # ./vendor/capybara/lib/capybara/node/actions.rb:158:in `attach_file'
826
+ Shared Example Group: "attach_file" called from ./vendor/capybara/1.1/lib/capybara/spec/session.rb:88
827
+ # ./lib/terminus/node.rb:66:in `set'
828
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `block in set'
829
+ # ./vendor/capybara/1.1/lib/capybara/node/base.rb:54:in `wait_until'
830
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `set'
831
+ # ./vendor/capybara/1.1/lib/capybara/node/actions.rb:158:in `attach_file'
829
832
  # (eval):2:in `attach_file'
830
- # ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:43:in `block (4 levels) in <top (required)>'
833
+ # ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:43:in `block (4 levels) in <top (required)>'
831
834
 
832
- 6) Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with multipart form should send content type image/jpeg when uploading an image
835
+ 6) Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with multipart form should send content type image/jpeg when uploading an image
833
836
  Failure/Error: @session.attach_file "Document", @test_jpg_file_path
834
837
  Capybara::NotSupportedByDriverError:
835
838
  Capybara::NotSupportedByDriverError
836
- Shared Example Group: "attach_file" called from ./vendor/capybara/lib/capybara/spec/session.rb:88
837
- # ./lib/terminus/node.rb:52:in `set'
838
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `block in set'
839
- # ./vendor/capybara/lib/capybara/node/base.rb:46:in `wait_until'
840
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `set'
841
- # ./vendor/capybara/lib/capybara/node/actions.rb:158:in `attach_file'
839
+ Shared Example Group: "attach_file" called from ./vendor/capybara/1.1/lib/capybara/spec/session.rb:88
840
+ # ./lib/terminus/node.rb:66:in `set'
841
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `block in set'
842
+ # ./vendor/capybara/1.1/lib/capybara/node/base.rb:54:in `wait_until'
843
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `set'
844
+ # ./vendor/capybara/1.1/lib/capybara/node/actions.rb:158:in `attach_file'
842
845
  # (eval):2:in `attach_file'
843
- # ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:49:in `block (4 levels) in <top (required)>'
846
+ # ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:49:in `block (4 levels) in <top (required)>'
844
847
 
845
- 7) Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with multipart form should not break when using HTML5 multiple file input
848
+ 7) Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with multipart form should not break when using HTML5 multiple file input
846
849
  Failure/Error: @session.attach_file "Multiple Documents", @test_file_path
847
850
  Capybara::NotSupportedByDriverError:
848
851
  Capybara::NotSupportedByDriverError
849
- Shared Example Group: "attach_file" called from ./vendor/capybara/lib/capybara/spec/session.rb:88
850
- # ./lib/terminus/node.rb:52:in `set'
851
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `block in set'
852
- # ./vendor/capybara/lib/capybara/node/base.rb:46:in `wait_until'
853
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `set'
854
- # ./vendor/capybara/lib/capybara/node/actions.rb:158:in `attach_file'
852
+ Shared Example Group: "attach_file" called from ./vendor/capybara/1.1/lib/capybara/spec/session.rb:88
853
+ # ./lib/terminus/node.rb:66:in `set'
854
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `block in set'
855
+ # ./vendor/capybara/1.1/lib/capybara/node/base.rb:54:in `wait_until'
856
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `set'
857
+ # ./vendor/capybara/1.1/lib/capybara/node/actions.rb:158:in `attach_file'
855
858
  # (eval):2:in `attach_file'
856
- # ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:55:in `block (4 levels) in <top (required)>'
859
+ # ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:55:in `block (4 levels) in <top (required)>'
857
860
 
858
- 8) Capybara::Session with terminus driver it should behave like session with javascript support all JS specs#find should allow triggering of custom JS events
861
+ 8) Capybara::Session with terminus driver it should behave like session with javascript support all JS specs #find should allow triggering of custom JS events
859
862
  Failure/Error: @session.should have_css('#focus_event_triggered')
860
863
  expected #has_css?("#focus_event_triggered") to return true, got false
861
- Shared Example Group: "session with javascript support" called from ./spec/terminus_session_spec.rb:16
862
- # ./vendor/capybara/lib/capybara/spec/session/javascript.rb:84:in `block (4 levels) in <top (required)>'
864
+ Shared Example Group: "session with javascript support" called from ./spec/1.1/terminus_session_spec.rb:16
865
+ # ./vendor/capybara/1.1/lib/capybara/spec/session/javascript.rb:101:in `block (4 levels) in <top (required)>'
863
866
 
864
- Finished in 5 minutes 52.66 seconds
865
- 510 examples, 8 failures
867
+ Finished in 12 minutes 26.37 seconds
868
+ 513 examples, 8 failures
866
869
 
867
870
  Failed examples:
868
871
 
869
- rspec ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:11 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with normal form should set a file path by id
870
- rspec ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:17 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with normal form should set a file path by label
871
- rspec ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:25 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with multipart form should set a file path by id
872
- rspec ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:31 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with multipart form should set a file path by label
873
- rspec ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:42 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with multipart form should send content type text/plain when uploading a text file
874
- rspec ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:48 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with multipart form should send content type image/jpeg when uploading an image
875
- rspec ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:54 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with multipart form should not break when using HTML5 multiple file input
876
- rspec ./vendor/capybara/lib/capybara/spec/session/javascript.rb:80 # Capybara::Session with terminus driver it should behave like session with javascript support all JS specs#find should allow triggering of custom JS events
872
+ rspec ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:11 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with normal form should set a file path by id
873
+ rspec ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:17 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with normal form should set a file path by label
874
+ rspec ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:25 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with multipart form should set a file path by id
875
+ rspec ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:31 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with multipart form should set a file path by label
876
+ rspec ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:42 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with multipart form should send content type text/plain when uploading a text file
877
+ rspec ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:48 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with multipart form should send content type image/jpeg when uploading an image
878
+ rspec ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:54 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with multipart form should not break when using HTML5 multiple file input
879
+ rspec ./vendor/capybara/1.1/lib/capybara/spec/session/javascript.rb:97 # Capybara::Session with terminus driver it should behave like session with javascript support all JS specs #find should allow triggering of custom JS events
@@ -20,6 +20,7 @@ Capybara::Driver::Terminus
20
20
  should extract node attributes
21
21
  should extract boolean node attributes
22
22
  should allow retrieval of the value
23
+ should not swallow extra newlines in textarea
23
24
  should allow assignment of field value
24
25
  should extract node tag name
25
26
  should extract node visibility
@@ -717,6 +718,8 @@ Capybara::Session
717
718
  should reload the current context of the node automatically
718
719
  should reload a parent node automatically
719
720
  should reload a node automatically when using find
721
+ should not reload nodes which haven't been found
722
+ should reload nodes with options
720
723
  #find
721
724
  should allow triggering of custom JS events
722
725
  #body
@@ -764,114 +767,114 @@ Capybara::Session
764
767
 
765
768
  Failures:
766
769
 
767
- 1) Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with normal form should set a file path by id
770
+ 1) Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with normal form should set a file path by id
768
771
  Failure/Error: @session.attach_file "form_image", __FILE__
769
772
  Capybara::NotSupportedByDriverError:
770
773
  Capybara::NotSupportedByDriverError
771
- Shared Example Group: "attach_file" called from ./vendor/capybara/lib/capybara/spec/session.rb:88
772
- # ./lib/terminus/node.rb:52:in `set'
773
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `block in set'
774
- # ./vendor/capybara/lib/capybara/node/base.rb:46:in `wait_until'
775
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `set'
776
- # ./vendor/capybara/lib/capybara/node/actions.rb:158:in `attach_file'
774
+ Shared Example Group: "attach_file" called from ./vendor/capybara/1.1/lib/capybara/spec/session.rb:88
775
+ # ./lib/terminus/node.rb:66:in `set'
776
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `block in set'
777
+ # ./vendor/capybara/1.1/lib/capybara/node/base.rb:54:in `wait_until'
778
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `set'
779
+ # ./vendor/capybara/1.1/lib/capybara/node/actions.rb:158:in `attach_file'
777
780
  # (eval):2:in `attach_file'
778
- # ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:12:in `block (4 levels) in <top (required)>'
781
+ # ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:12:in `block (4 levels) in <top (required)>'
779
782
 
780
- 2) Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with normal form should set a file path by label
783
+ 2) Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with normal form should set a file path by label
781
784
  Failure/Error: @session.attach_file "Image", __FILE__
782
785
  Capybara::NotSupportedByDriverError:
783
786
  Capybara::NotSupportedByDriverError
784
- Shared Example Group: "attach_file" called from ./vendor/capybara/lib/capybara/spec/session.rb:88
785
- # ./lib/terminus/node.rb:52:in `set'
786
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `block in set'
787
- # ./vendor/capybara/lib/capybara/node/base.rb:46:in `wait_until'
788
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `set'
789
- # ./vendor/capybara/lib/capybara/node/actions.rb:158:in `attach_file'
787
+ Shared Example Group: "attach_file" called from ./vendor/capybara/1.1/lib/capybara/spec/session.rb:88
788
+ # ./lib/terminus/node.rb:66:in `set'
789
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `block in set'
790
+ # ./vendor/capybara/1.1/lib/capybara/node/base.rb:54:in `wait_until'
791
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `set'
792
+ # ./vendor/capybara/1.1/lib/capybara/node/actions.rb:158:in `attach_file'
790
793
  # (eval):2:in `attach_file'
791
- # ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:18:in `block (4 levels) in <top (required)>'
794
+ # ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:18:in `block (4 levels) in <top (required)>'
792
795
 
793
- 3) Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with multipart form should set a file path by id
796
+ 3) Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with multipart form should set a file path by id
794
797
  Failure/Error: @session.attach_file "form_document", @test_file_path
795
798
  Capybara::NotSupportedByDriverError:
796
799
  Capybara::NotSupportedByDriverError
797
- Shared Example Group: "attach_file" called from ./vendor/capybara/lib/capybara/spec/session.rb:88
798
- # ./lib/terminus/node.rb:52:in `set'
799
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `block in set'
800
- # ./vendor/capybara/lib/capybara/node/base.rb:46:in `wait_until'
801
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `set'
802
- # ./vendor/capybara/lib/capybara/node/actions.rb:158:in `attach_file'
800
+ Shared Example Group: "attach_file" called from ./vendor/capybara/1.1/lib/capybara/spec/session.rb:88
801
+ # ./lib/terminus/node.rb:66:in `set'
802
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `block in set'
803
+ # ./vendor/capybara/1.1/lib/capybara/node/base.rb:54:in `wait_until'
804
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `set'
805
+ # ./vendor/capybara/1.1/lib/capybara/node/actions.rb:158:in `attach_file'
803
806
  # (eval):2:in `attach_file'
804
- # ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:26:in `block (4 levels) in <top (required)>'
807
+ # ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:26:in `block (4 levels) in <top (required)>'
805
808
 
806
- 4) Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with multipart form should set a file path by label
809
+ 4) Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with multipart form should set a file path by label
807
810
  Failure/Error: @session.attach_file "Document", @test_file_path
808
811
  Capybara::NotSupportedByDriverError:
809
812
  Capybara::NotSupportedByDriverError
810
- Shared Example Group: "attach_file" called from ./vendor/capybara/lib/capybara/spec/session.rb:88
811
- # ./lib/terminus/node.rb:52:in `set'
812
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `block in set'
813
- # ./vendor/capybara/lib/capybara/node/base.rb:46:in `wait_until'
814
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `set'
815
- # ./vendor/capybara/lib/capybara/node/actions.rb:158:in `attach_file'
813
+ Shared Example Group: "attach_file" called from ./vendor/capybara/1.1/lib/capybara/spec/session.rb:88
814
+ # ./lib/terminus/node.rb:66:in `set'
815
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `block in set'
816
+ # ./vendor/capybara/1.1/lib/capybara/node/base.rb:54:in `wait_until'
817
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `set'
818
+ # ./vendor/capybara/1.1/lib/capybara/node/actions.rb:158:in `attach_file'
816
819
  # (eval):2:in `attach_file'
817
- # ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:32:in `block (4 levels) in <top (required)>'
820
+ # ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:32:in `block (4 levels) in <top (required)>'
818
821
 
819
- 5) Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with multipart form should send content type text/plain when uploading a text file
822
+ 5) Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with multipart form should send content type text/plain when uploading a text file
820
823
  Failure/Error: @session.attach_file "Document", @test_file_path
821
824
  Capybara::NotSupportedByDriverError:
822
825
  Capybara::NotSupportedByDriverError
823
- Shared Example Group: "attach_file" called from ./vendor/capybara/lib/capybara/spec/session.rb:88
824
- # ./lib/terminus/node.rb:52:in `set'
825
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `block in set'
826
- # ./vendor/capybara/lib/capybara/node/base.rb:46:in `wait_until'
827
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `set'
828
- # ./vendor/capybara/lib/capybara/node/actions.rb:158:in `attach_file'
826
+ Shared Example Group: "attach_file" called from ./vendor/capybara/1.1/lib/capybara/spec/session.rb:88
827
+ # ./lib/terminus/node.rb:66:in `set'
828
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `block in set'
829
+ # ./vendor/capybara/1.1/lib/capybara/node/base.rb:54:in `wait_until'
830
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `set'
831
+ # ./vendor/capybara/1.1/lib/capybara/node/actions.rb:158:in `attach_file'
829
832
  # (eval):2:in `attach_file'
830
- # ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:43:in `block (4 levels) in <top (required)>'
833
+ # ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:43:in `block (4 levels) in <top (required)>'
831
834
 
832
- 6) Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with multipart form should send content type image/jpeg when uploading an image
835
+ 6) Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with multipart form should send content type image/jpeg when uploading an image
833
836
  Failure/Error: @session.attach_file "Document", @test_jpg_file_path
834
837
  Capybara::NotSupportedByDriverError:
835
838
  Capybara::NotSupportedByDriverError
836
- Shared Example Group: "attach_file" called from ./vendor/capybara/lib/capybara/spec/session.rb:88
837
- # ./lib/terminus/node.rb:52:in `set'
838
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `block in set'
839
- # ./vendor/capybara/lib/capybara/node/base.rb:46:in `wait_until'
840
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `set'
841
- # ./vendor/capybara/lib/capybara/node/actions.rb:158:in `attach_file'
839
+ Shared Example Group: "attach_file" called from ./vendor/capybara/1.1/lib/capybara/spec/session.rb:88
840
+ # ./lib/terminus/node.rb:66:in `set'
841
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `block in set'
842
+ # ./vendor/capybara/1.1/lib/capybara/node/base.rb:54:in `wait_until'
843
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `set'
844
+ # ./vendor/capybara/1.1/lib/capybara/node/actions.rb:158:in `attach_file'
842
845
  # (eval):2:in `attach_file'
843
- # ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:49:in `block (4 levels) in <top (required)>'
846
+ # ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:49:in `block (4 levels) in <top (required)>'
844
847
 
845
- 7) Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with multipart form should not break when using HTML5 multiple file input
848
+ 7) Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with multipart form should not break when using HTML5 multiple file input
846
849
  Failure/Error: @session.attach_file "Multiple Documents", @test_file_path
847
850
  Capybara::NotSupportedByDriverError:
848
851
  Capybara::NotSupportedByDriverError
849
- Shared Example Group: "attach_file" called from ./vendor/capybara/lib/capybara/spec/session.rb:88
850
- # ./lib/terminus/node.rb:52:in `set'
851
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `block in set'
852
- # ./vendor/capybara/lib/capybara/node/base.rb:46:in `wait_until'
853
- # ./vendor/capybara/lib/capybara/node/element.rb:75:in `set'
854
- # ./vendor/capybara/lib/capybara/node/actions.rb:158:in `attach_file'
852
+ Shared Example Group: "attach_file" called from ./vendor/capybara/1.1/lib/capybara/spec/session.rb:88
853
+ # ./lib/terminus/node.rb:66:in `set'
854
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `block in set'
855
+ # ./vendor/capybara/1.1/lib/capybara/node/base.rb:54:in `wait_until'
856
+ # ./vendor/capybara/1.1/lib/capybara/node/element.rb:79:in `set'
857
+ # ./vendor/capybara/1.1/lib/capybara/node/actions.rb:158:in `attach_file'
855
858
  # (eval):2:in `attach_file'
856
- # ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:55:in `block (4 levels) in <top (required)>'
859
+ # ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:55:in `block (4 levels) in <top (required)>'
857
860
 
858
- 8) Capybara::Session with terminus driver it should behave like session it should behave like fill_in#fill_in should fill in a text field by label without for
861
+ 8) Capybara::Session with terminus driver it should behave like session it should behave like fill_in #fill_in should fill in a text field by label without for
859
862
  Failure/Error: extract_results(@session)['street'].should == 'Avenue Q'
860
863
  expected: "Avenue Q"
861
864
  got: "Sesame street 66" (using ==)
862
- Shared Example Group: "fill_in" called from ./vendor/capybara/lib/capybara/spec/session.rb:94
863
- # ./vendor/capybara/lib/capybara/spec/session/fill_in_spec.rb:22:in `block (3 levels) in <top (required)>'
865
+ Shared Example Group: "fill_in" called from ./vendor/capybara/1.1/lib/capybara/spec/session.rb:94
866
+ # ./vendor/capybara/1.1/lib/capybara/spec/session/fill_in_spec.rb:22:in `block (3 levels) in <top (required)>'
864
867
 
865
- Finished in 10 minutes 8.65 seconds
866
- 510 examples, 8 failures
868
+ Finished in 5 minutes 7.43 seconds
869
+ 513 examples, 8 failures
867
870
 
868
871
  Failed examples:
869
872
 
870
- rspec ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:11 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with normal form should set a file path by id
871
- rspec ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:17 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with normal form should set a file path by label
872
- rspec ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:25 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with multipart form should set a file path by id
873
- rspec ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:31 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with multipart form should set a file path by label
874
- rspec ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:42 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with multipart form should send content type text/plain when uploading a text file
875
- rspec ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:48 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with multipart form should send content type image/jpeg when uploading an image
876
- rspec ./vendor/capybara/lib/capybara/spec/session/attach_file_spec.rb:54 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file#attach_file with multipart form should not break when using HTML5 multiple file input
877
- rspec ./vendor/capybara/lib/capybara/spec/session/fill_in_spec.rb:19 # Capybara::Session with terminus driver it should behave like session it should behave like fill_in#fill_in should fill in a text field by label without for
873
+ rspec ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:11 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with normal form should set a file path by id
874
+ rspec ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:17 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with normal form should set a file path by label
875
+ rspec ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:25 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with multipart form should set a file path by id
876
+ rspec ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:31 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with multipart form should set a file path by label
877
+ rspec ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:42 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with multipart form should send content type text/plain when uploading a text file
878
+ rspec ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:48 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with multipart form should send content type image/jpeg when uploading an image
879
+ rspec ./vendor/capybara/1.1/lib/capybara/spec/session/attach_file_spec.rb:54 # Capybara::Session with terminus driver it should behave like session it should behave like attach_file #attach_file with multipart form should not break when using HTML5 multiple file input
880
+ rspec ./vendor/capybara/1.1/lib/capybara/spec/session/fill_in_spec.rb:19 # Capybara::Session with terminus driver it should behave like session it should behave like fill_in #fill_in should fill in a text field by label without for