express_admin 1.2.1 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (159) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/express_admin.js +2 -0
  3. data/app/assets/javascripts/express_admin/admin.js +2 -0
  4. data/app/assets/stylesheets/express_admin.css +0 -5
  5. data/app/assets/stylesheets/express_admin/components/_definition.sass +8 -0
  6. data/app/assets/stylesheets/express_admin/components/_pane.sass +2 -2
  7. data/app/assets/stylesheets/express_admin/components/_sub_menu.sass +2 -2
  8. data/app/assets/stylesheets/express_admin/components/_widget_box.sass +4 -4
  9. data/app/assets/stylesheets/express_admin/globals/_foundation_overrides.sass +2 -1
  10. data/app/assets/stylesheets/express_admin/globals/_mixins.sass +0 -2
  11. data/app/assets/stylesheets/express_admin/plugins/_select2.sass +475 -68
  12. data/app/assets/stylesheets/express_admin/plugins/_tinymce.sass +2 -0
  13. data/app/assets/stylesheets/express_admin/screen.sass +6 -1
  14. data/app/assets/stylesheets/express_admin/sections/_header.sass +1 -0
  15. data/app/assets/stylesheets/express_admin/sections/_main_content.sass +6 -2
  16. data/app/assets/stylesheets/express_admin/sections/_main_region.sass +10 -7
  17. data/app/assets/stylesheets/express_admin/sections/_page_body.sass +6 -3
  18. data/app/assets/stylesheets/express_admin/sections/_page_sidebar.sass +6 -2
  19. data/app/assets/stylesheets/express_admin/sections/_sidebar_region.sass +4 -3
  20. data/app/assets/stylesheets/express_admin/shared/_buttons.sass +0 -1
  21. data/app/assets/stylesheets/express_admin/shared/_forms.sass +14 -2
  22. data/app/assets/stylesheets/express_admin/shared/_trees.sass +7 -3
  23. data/app/assets/stylesheets/ionicons/{ionicons.css.sass → ionicons.sass} +0 -0
  24. data/app/components/express_admin/addon_sidebar_component.rb +23 -34
  25. data/app/components/express_admin/definition_list.rb +38 -0
  26. data/app/components/express_admin/definition_table.rb +51 -0
  27. data/app/components/express_admin/flash_message_component.rb +5 -11
  28. data/app/components/express_admin/layout_component.rb +2 -9
  29. data/app/components/express_admin/main_region.rb +4 -4
  30. data/app/components/express_admin/mega_menu_component.rb +40 -34
  31. data/app/components/express_admin/page_header_component.rb +8 -18
  32. data/app/components/express_admin/pane.rb +13 -10
  33. data/app/components/express_admin/setting_form.rb +23 -20
  34. data/app/components/express_admin/sidebar_region.rb +6 -4
  35. data/app/components/express_admin/smart_form.rb +21 -18
  36. data/app/components/express_admin/smart_table.rb +44 -40
  37. data/app/components/express_admin/widget_box.rb +8 -8
  38. data/app/helpers/express_admin/admin_helper.rb +1 -1
  39. data/app/views/devise/sessions/new.html.et +63 -0
  40. data/app/views/layouts/express_admin/admin.html.et +8 -9
  41. data/app/views/shared/express_admin/_navigation_bar.html.et +6 -5
  42. data/config/tinymce.yml +29 -0
  43. data/lib/core_extensions/string_promptify.rb +9 -0
  44. data/lib/express_admin.rb +1 -0
  45. data/lib/express_admin/engine.rb +11 -9
  46. data/lib/express_admin/version.rb +1 -1
  47. data/lib/generators/express_admin/install/install_generator.rb +7 -0
  48. data/lib/generators/express_admin/install/templates/views/devise/sessions/new.html.et +1 -0
  49. data/test/dummy/app/views/demo/sign_in.html.et +6 -6
  50. data/test/dummy/db/test.sqlite3 +0 -0
  51. data/test/dummy/log/test.log +11361 -0
  52. data/test/dummy/test/components/smart_form_test.rb +57 -34
  53. data/test/dummy/test/components/smart_table_test.rb +35 -35
  54. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/1EoyfDwFVtgMAOjo7HPkor8TQbVaioOFx9hildx_DTQ.cache +0 -0
  55. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/4OPIkynisipUm8vKo57HUhBMWFSHBno_IH6OdpK29IA.cache +1 -0
  56. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/4hK1AdPGHbXGkebvk-nSvhxtCdOSlMYNWvA43CvQKhI.cache +0 -0
  57. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/6c0H20s6oHf45XogeDELaojxa0PX1NmirTTWV1ClcRw.cache +0 -0
  58. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/9QvwPXfTSVmgQX6tdK9GuCn0--MZ8Z8eJJbHpUEq1p8.cache +1 -0
  59. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/BoKdGhgi5NHfGTc42p9nltpEIYj_BBUxVdv7YhpBmmA.cache +0 -0
  60. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/GJGMlSyTg1AvPCV_6PaLOTVEKbHeVKY1jhCoaKuRlxM.cache +1 -0
  61. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/H0aD5KRj-4fhORkqWcWZfKPOQfu_ggvt4OmYOl4S5mw.cache +0 -0
  62. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/IBLgVNsKBbJxN8NQnh6zTc3bC_OG-8BhtA3xCNDV6ks.cache +1 -0
  63. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Po8q4NrWy9Kymnz_HbOk-WbdGY_KuuXc6urGogTHe7U.cache +0 -0
  64. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/V1aP9G-CVtOLR5PTnHleid8WC9TSfFAT1DzAygp_5CQ.cache +1 -0
  65. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/WhePtBvZPmF1Jhdcc4glsjhxBJQo9Qw0CDgy_F8lClY.cache +0 -0
  66. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/dVokuKbK8HbOtvPIksKGBAYE8x44l372dQ0gEISqbdo.cache +0 -0
  67. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/oN1zSGeSEz4KhkAuUF_yFDsCVPkulfFjomEAjFzGdPc.cache +0 -0
  68. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/qIeSoker4TjM7JYRQTOjgRd4nN0WeHnNY1GMK7Zpe8M.cache +0 -0
  69. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/tTFLM1bjKSeg4nyH7GWbTY6JVvuYhNKFFvsOMS9h8O0.cache +0 -0
  70. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/tzX-HHF4F70o-aSB9Z_duoPxFGDv3auYnrpko9SYafU.cache +1 -0
  71. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/vMbWbI1SO5bEaiu2pRvV8NDmms_j5flYoRvCSJavhdU.cache +0 -0
  72. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ypZCDLo54Pz2ZoUxrxSEUjT5FYMAq8Ozp8OTOYDRdAE.cache +0 -0
  73. data/test/fixtures/categories.yml +8 -0
  74. data/test/test_helper.rb +34 -0
  75. data/vendor/gems/express_templates/CHANGELOG.md +12 -0
  76. data/vendor/gems/express_templates/Gemfile.lock +4 -1
  77. data/vendor/gems/express_templates/README.md +22 -41
  78. data/vendor/gems/express_templates/express_templates.gemspec +1 -0
  79. data/vendor/gems/express_templates/lib/arbre/patches.rb +50 -0
  80. data/vendor/gems/express_templates/lib/core_extensions/proc.rb +1 -0
  81. data/vendor/gems/express_templates/lib/express_templates.rb +2 -3
  82. data/vendor/gems/express_templates/lib/express_templates/compiler.rb +2 -7
  83. data/vendor/gems/express_templates/lib/express_templates/components.rb +1 -9
  84. data/vendor/gems/express_templates/lib/express_templates/components/base.rb +33 -37
  85. data/vendor/gems/express_templates/lib/express_templates/components/capabilities/resourceful.rb +30 -18
  86. data/vendor/gems/express_templates/lib/express_templates/components/configurable.rb +41 -0
  87. data/vendor/gems/express_templates/lib/express_templates/components/form_rails_support.rb +5 -6
  88. data/vendor/gems/express_templates/lib/express_templates/components/forms.rb +0 -1
  89. data/vendor/gems/express_templates/lib/express_templates/components/forms/basic_fields.rb +3 -6
  90. data/vendor/gems/express_templates/lib/express_templates/components/forms/checkbox.rb +1 -1
  91. data/vendor/gems/express_templates/lib/express_templates/components/forms/express_form.rb +15 -25
  92. data/vendor/gems/express_templates/lib/express_templates/components/forms/form_component.rb +20 -11
  93. data/vendor/gems/express_templates/lib/express_templates/components/forms/option_support.rb +2 -2
  94. data/vendor/gems/express_templates/lib/express_templates/components/forms/radio.rb +7 -8
  95. data/vendor/gems/express_templates/lib/express_templates/components/forms/select.rb +61 -37
  96. data/vendor/gems/express_templates/lib/express_templates/components/forms/select_collection.rb +2 -8
  97. data/vendor/gems/express_templates/lib/express_templates/components/forms/submit.rb +7 -6
  98. data/vendor/gems/express_templates/lib/express_templates/components/tree_for.rb +26 -42
  99. data/vendor/gems/express_templates/lib/express_templates/version.rb +1 -1
  100. data/vendor/gems/express_templates/test/components/base_test.rb +17 -15
  101. data/vendor/gems/express_templates/test/components/capabilities/resourceful_test.rb +3 -3
  102. data/vendor/gems/express_templates/test/components/configurable_test.rb +27 -21
  103. data/vendor/gems/express_templates/test/components/forms/basic_fields_test.rb +57 -17
  104. data/vendor/gems/express_templates/test/components/forms/checkbox_test.rb +16 -22
  105. data/vendor/gems/express_templates/test/components/forms/express_form_test.rb +23 -76
  106. data/vendor/gems/express_templates/test/components/forms/radio_test.rb +31 -27
  107. data/vendor/gems/express_templates/test/components/forms/select_test.rb +46 -71
  108. data/vendor/gems/express_templates/test/components/forms/submit_test.rb +10 -5
  109. data/vendor/gems/express_templates/test/components/tree_for_test.rb +24 -52
  110. data/vendor/gems/express_templates/test/dummy/app/views/hello/show.html.et +4 -3
  111. data/vendor/gems/express_templates/test/dummy/app/views/layouts/application.html.et +1 -1
  112. data/vendor/gems/express_templates/test/dummy/log/test.log +4296 -0
  113. data/vendor/gems/express_templates/test/express_templates_test.rb +5 -1
  114. data/vendor/gems/express_templates/test/handler_test.rb +19 -17
  115. data/vendor/gems/express_templates/test/performance_test.rb +11 -7
  116. data/vendor/gems/express_templates/test/test_helper.rb +162 -1
  117. metadata +58 -47
  118. data/app/assets/stylesheets/express_admin/components/_megadropdown.sass +0 -66
  119. data/vendor/gems/express_templates/diagrams/diagram.graffle +0 -2404
  120. data/vendor/gems/express_templates/diagrams/diagram_express_templates.png +0 -0
  121. data/vendor/gems/express_templates/diagrams/diagram_haml_erb.png +0 -0
  122. data/vendor/gems/express_templates/lib/express_templates/components/capabilities/adoptable.rb +0 -20
  123. data/vendor/gems/express_templates/lib/express_templates/components/capabilities/building.rb +0 -14
  124. data/vendor/gems/express_templates/lib/express_templates/components/capabilities/conditionality.rb +0 -54
  125. data/vendor/gems/express_templates/lib/express_templates/components/capabilities/configurable.rb +0 -90
  126. data/vendor/gems/express_templates/lib/express_templates/components/capabilities/iterating.rb +0 -75
  127. data/vendor/gems/express_templates/lib/express_templates/components/capabilities/parenting.rb +0 -72
  128. data/vendor/gems/express_templates/lib/express_templates/components/capabilities/rendering.rb +0 -30
  129. data/vendor/gems/express_templates/lib/express_templates/components/capabilities/templating.rb +0 -198
  130. data/vendor/gems/express_templates/lib/express_templates/components/capabilities/wrapping.rb +0 -84
  131. data/vendor/gems/express_templates/lib/express_templates/components/column.rb +0 -13
  132. data/vendor/gems/express_templates/lib/express_templates/components/container.rb +0 -7
  133. data/vendor/gems/express_templates/lib/express_templates/components/content_for.rb +0 -42
  134. data/vendor/gems/express_templates/lib/express_templates/components/for_each.rb +0 -30
  135. data/vendor/gems/express_templates/lib/express_templates/components/forms/form_support.rb +0 -13
  136. data/vendor/gems/express_templates/lib/express_templates/components/null_wrap.rb +0 -41
  137. data/vendor/gems/express_templates/lib/express_templates/components/row.rb +0 -28
  138. data/vendor/gems/express_templates/lib/express_templates/components/table_for.rb +0 -163
  139. data/vendor/gems/express_templates/lib/express_templates/components/unless_block.rb +0 -40
  140. data/vendor/gems/express_templates/lib/express_templates/expander.rb +0 -140
  141. data/vendor/gems/express_templates/lib/express_templates/macro.rb +0 -45
  142. data/vendor/gems/express_templates/lib/express_templates/markup.rb +0 -9
  143. data/vendor/gems/express_templates/lib/express_templates/markup/html_tag.rb +0 -62
  144. data/vendor/gems/express_templates/lib/express_templates/markup/tag.rb +0 -150
  145. data/vendor/gems/express_templates/lib/express_templates/markup/wrapper.rb +0 -94
  146. data/vendor/gems/express_templates/lib/express_templates/markup/yielder.rb +0 -21
  147. data/vendor/gems/express_templates/test/components/column_test.rb +0 -11
  148. data/vendor/gems/express_templates/test/components/conditionality_test.rb +0 -37
  149. data/vendor/gems/express_templates/test/components/container_test.rb +0 -66
  150. data/vendor/gems/express_templates/test/components/content_for_test.rb +0 -60
  151. data/vendor/gems/express_templates/test/components/iterating_test.rb +0 -127
  152. data/vendor/gems/express_templates/test/components/null_wrap_test.rb +0 -28
  153. data/vendor/gems/express_templates/test/components/row_test.rb +0 -16
  154. data/vendor/gems/express_templates/test/components/table_for_test.rb +0 -211
  155. data/vendor/gems/express_templates/test/expander_stack_test.rb +0 -41
  156. data/vendor/gems/express_templates/test/expander_test.rb +0 -99
  157. data/vendor/gems/express_templates/test/markup/tag_test.rb +0 -149
  158. data/vendor/gems/express_templates/test/markup/wrapper_test.rb +0 -42
  159. data/vendor/gems/express_templates/test/markup/yielder_test.rb +0 -9
@@ -2,144 +2,119 @@ require 'test_helper'
2
2
  require 'ostruct'
3
3
  class SelectTest < ActiveSupport::TestCase
4
4
 
5
+ def assigns
6
+ {resource: ::Person.new}
7
+ end
8
+
9
+
5
10
  test "select requires a parent component" do
6
- fragment = -> {
7
- select :gender, ['Male', 'Female'], selected: 'Male'
8
- }
9
11
  assert_raises(RuntimeError) {
10
- ExpressTemplates.compile(&fragment)
12
+ html = arbre {
13
+ select :gender, options: ['Male', 'Female'], selected: 'Male'
14
+ }
11
15
  }
12
16
  end
13
17
 
14
18
  test "select comes with a label" do
15
- fragment = -> {
19
+ html = arbre {
16
20
  express_form(:person) {
17
21
  select :gender
18
22
  }
19
23
  }
20
- assert_match '#{label_tag("person_gender", "Gender")}', ExpressTemplates.compile(&fragment)
24
+ assert_match /<label.*for="person_gender"/, html
21
25
  end
22
26
 
23
- test "select uses options_for_select when values are specified" do
24
- fragment = -> {
27
+ test "select generates correct options when values are specified" do
28
+ html = arbre {
25
29
  express_form(:person) {
26
- select :gender, ['Male', 'Female'], selected: 'Male'
30
+ select :gender, options: ['Male', 'Female'], selected: 'Male'
27
31
  }
28
32
  }
29
- assert_match 'options_for_select(["Male", "Female"], "Male")', ExpressTemplates.compile(&fragment)
33
+ assert_match /<option.*selected="selected" value="Male"/, html
34
+ assert_match /<option.*value="Female"/, html
30
35
  end
31
36
 
32
37
  test "selected option is omitted selection is taken from model" do
33
- fragment = -> {
38
+ html = arbre {
34
39
  express_form(:person) {
35
- select :gender, ['Male', 'Female']
40
+ select :gender, options: ['Male', 'Female']
36
41
  }
37
42
  }
38
- assert_match 'options_for_select(["Male", "Female"], @person.gender)', ExpressTemplates.compile(&fragment)
43
+ assert_match /<option.*selected="selected" value="Male"/, html
44
+ assert_match /<option.*value="Female"/, html
39
45
  end
40
46
 
41
47
  test "select generates options from data when options omitted" do
42
- fragment = -> {
48
+ html = arbre {
43
49
  express_form(:person) {
44
50
  select :city
45
51
  }
46
52
  }
47
- assert_match 'options_for_select(@person.class.distinct(:city).pluck(:city), @person.city)', ExpressTemplates.compile(&fragment)
48
- end
49
-
50
- class ::Gender
51
- def self.columns
52
- [OpenStruct.new(name: 'id'), OpenStruct.new(name: 'name')]
53
- end
54
- end
55
- class ::Tagging
56
- def self.columns
57
- [OpenStruct.new(name: 'id'), OpenStruct.new(name: 'name')]
58
- end
59
- end
60
- class ::Person
61
- def self.reflect_on_association(name)
62
- if name.eql? :gender
63
- dummy_belongs_to_association = Object.new
64
- class << dummy_belongs_to_association
65
- def macro ; :belongs_to ; end
66
- def klass ; ::Gender ; end
67
- def polymorphic? ; false ; end
68
- end
69
- return dummy_belongs_to_association
70
- end
71
- if name.eql? :taggings
72
- dummy_has_many_through_association = Object.new
73
- class << dummy_has_many_through_association
74
- def macro ; :has_many ; end
75
- def klass ; ::Tagging ; end
76
- def options ; {:through => :peron_tags} ; end
77
- def polymorphic? ; false ; end
78
- end
79
- return dummy_has_many_through_association
80
- end
81
- end
53
+ assert_match /<option.*selected="selected" value="San Francisco"/, html
54
+ assert_match /<option.*value="Hong Kong"/, html
82
55
  end
83
56
 
84
57
  test "select uses options_from_collect... when field is relation" do
85
- fragment = -> {
58
+ html = arbre {
86
59
  express_form(:person) {
87
- select :gender
60
+ select :gender_id
88
61
  }
89
62
  }
90
63
 
91
- assert_match 'options_from_collection_for_select(Gender.all.select(:id, :name).order(:name), :id, :name, @person.gender)',
92
- ExpressTemplates.compile(&fragment)
64
+ assert_match /<option.*selected="selected" value="1"/, html
65
+ assert_match /<option.*value="2"/, html
93
66
  end
94
67
 
95
68
  test "select defaults to include_blank: true" do
96
- fragment = -> {
69
+ html = arbre {
97
70
  express_form(:person) {
98
71
  select :gender
99
72
  }
100
73
  }
101
- assert_match 'include_blank: true', ExpressTemplates.compile(&fragment)
74
+ assert_match '<option value=""></option>', html
102
75
  end
103
76
 
104
77
 
105
78
  test "select defaults can be overridden" do
106
- fragment = -> {
79
+ html = arbre {
107
80
  express_form(:person) {
108
- select :gender, nil, include_blank: false
81
+ select :gender, include_blank: false
109
82
  }
110
83
  }
111
- assert_no_match 'include_blank: true', ExpressTemplates.compile(&fragment)
84
+ assert_no_match 'include_blank: true', html
112
85
  end
113
86
 
114
87
  test "select multiple: true if passed multiple true" do
115
- fragment = -> {
88
+ html = arbre {
116
89
  express_form(:person) {
117
- select :taggings, nil, include_blank: false, multiple: true
90
+ select :taggings, include_blank: false, multiple: true
118
91
  }
119
92
  }
120
- assert_match 'multiple: true', ExpressTemplates.compile(&fragment)
93
+ assert_match 'multiple="multiple"', html
121
94
  end
122
95
 
123
96
  test "select multiple gets options from associated has_many_through collection" do
124
- fragment = -> {
97
+ html = arbre {
125
98
  express_form(:person) {
126
- select :taggings, nil, include_blank: false, multiple: true
99
+ select :taggings, include_blank: false, multiple: true
127
100
  }
128
101
  }
129
- assert_match 'tagging_ids', ExpressTemplates.compile(&fragment)
130
- assert_match 'options_from_collection_for_select(Tagging.all.select(:id, :name).order(:name), :id, :name, @person.taggings.map(&:id))',
131
- ExpressTemplates.compile(&fragment)
102
+ assert_match 'tagging_ids', html
103
+ assert_match /<option selected="selected" value="1">Friend<\/option>/, html
104
+ assert_match /<option selected="selected" value="2">Enemy<\/option>/, html
105
+ assert_match /<option value="3">Frenemy<\/option>/, html
132
106
  end
133
107
 
134
- test "select_collection uses collection_select" do
135
- fragment = -> {
108
+ test "select_collection works using collection_select" do
109
+ html = arbre {
136
110
  express_form(:person) {
137
111
  select_collection :taggings
138
112
  }
139
113
  }
140
- assert_match 'tagging_ids', ExpressTemplates.compile(&fragment)
141
- assert_match 'collection_select("person", "tagging_ids", Tagging.all.select(:id, :name).order(:name), :id, :name, {:include_blank=>false, :selected=>@person.tagging_ids}, multiple: true)',
142
- ExpressTemplates.compile(&fragment)
114
+ assert_match 'tagging_ids', html
115
+ assert_match /<option value="1">Friend<\/option>/, html
116
+ assert_match /<option value="2">Enemy<\/option>/, html
117
+ assert_match /<option value="3">Frenemy<\/option>/, html
143
118
  end
144
119
 
145
120
 
@@ -1,12 +1,17 @@
1
1
  require 'test_helper'
2
2
 
3
+ class Stuff
4
+ def self.columns
5
+ []
6
+ end
7
+ end
8
+
3
9
  class SubmitTest < ActiveSupport::TestCase
4
10
  test "submit takes string param for value" do
5
- fragment = -> {
6
- express_form(:stuff) {
7
- submit "Save it!"
8
- }
11
+ fragment = -> (ctx) {
12
+ submit "Save it!"
9
13
  }
10
- assert_match '#{submit_tag("Save it!", {})}', ExpressTemplates.compile(&fragment)
14
+ assert_match '<div class="field-wrapper"><input type="submit" name="commit" value="Save it!" /></div>',
15
+ arbre(&fragment)
11
16
  end
12
17
  end
@@ -24,43 +24,16 @@ class TreeForTest < ActiveSupport::TestCase
24
24
  Role.new('Auditor')])])]
25
25
  end
26
26
 
27
- EXAMPLE_COMPILED = -> {
28
- ExpressTemplates::Components::TreeFor.render_in(self) {
29
- node_renderer = -> (role, renderer) {
30
- ExpressTemplates::Indenter.for(:tree) do |ws, wsnl|
31
- "#{wsnl}<li>"+
32
- "#{role.name}"+
33
- if role.children.any?
34
- ExpressTemplates::Indenter.for(:tree) do |ws, wsnl|
35
- "#{wsnl}<ul>" +
36
- role.children.map do |child|
37
- renderer.call(child, renderer)
38
- end.join +
39
- "#{wsnl}</ul>"
40
- end +
41
- "#{wsnl}</li>"
42
- else
43
- "</li>"
44
- end
45
- end
46
- }
47
- ExpressTemplates::Indenter.for(:tree) do |ws, wsnl|
48
- "#{ws}<ul id=\"roles\" class=\"roles tree\">" +
49
- @roles.map do |role|
50
- node_renderer.call(role, node_renderer)
51
- end.join +
52
- "#{wsnl}</ul>\n"
53
- end
54
- }
55
- }
56
-
57
27
  EXAMPLE_MARKUP = <<-HTML
58
28
  <ul id="roles" class="roles tree">
59
- <li>SuperAdmin
29
+ <li>
30
+ SuperAdmin
60
31
  <ul>
61
- <li>Admin
32
+ <li>
33
+ Admin
62
34
  <ul>
63
- <li>Publisher
35
+ <li>
36
+ Publisher
64
37
  <ul>
65
38
  <li>Author</li>
66
39
  </ul>
@@ -73,31 +46,30 @@ ExpressTemplates::Components::TreeFor.render_in(self) {
73
46
  </ul>
74
47
  HTML
75
48
 
76
- def simple_tree_for(roles)
77
- ctx = Context.new(roles)
78
- fragment = -> {
79
- tree_for(:roles) {
80
- "{{role.name}}"
81
- }
82
- }
83
- return ctx, fragment
49
+ def assigns
50
+ {roles: roles}
84
51
  end
85
52
 
53
+ def simple_tree_for
54
+ arbre {
55
+ tree_for(:roles)
56
+ }.to_s
57
+ end
86
58
 
87
- test "example view code renders example markup" do
88
- assert_equal EXAMPLE_MARKUP, Context.new(roles).instance_eval(EXAMPLE_COMPILED.source_body)
59
+ test "tree_for renders correct markup with node.name as default" do
60
+ assert_equal EXAMPLE_MARKUP, simple_tree_for
89
61
  end
90
62
 
91
- test "compiled source is legible and transparent" do
92
- ctx, fragment = simple_tree_for(roles)
93
- assert_equal EXAMPLE_COMPILED.source_body, ExpressTemplates.compile(&fragment)
63
+ def custom_tree_for
64
+ arbre {
65
+ tree_for(:roles) { |node|
66
+ text_node node.name.upcase
67
+ }
68
+ }
94
69
  end
95
70
 
96
- test "rendered component matches desired markup" do
97
- ExpressTemplates::Markup::Tag.formatted do
98
- ctx, fragment = simple_tree_for(roles)
99
- assert_equal EXAMPLE_MARKUP, ExpressTemplates.render(ctx, &fragment)
100
- end
71
+ test "tree_for accepts block with custom content" do
72
+ assert_match 'AUTHOR', custom_tree_for
101
73
  end
102
74
 
103
- end
75
+ end
@@ -1,5 +1,6 @@
1
-
2
1
  content_for :title, "Dummy Show"
3
2
 
4
- h1 '{{@hello}}'
5
- p 'Find me in app/views/hello/show.html.express_templates'
3
+ div {
4
+ h1 "#{hello}"
5
+ p 'Find me in app/views/hello/show.html.express_templates'
6
+ }
@@ -10,6 +10,6 @@ html(lang: "en") {
10
10
  }
11
11
  body {
12
12
  yield
13
- javascript_include_tag "application"
14
13
  }
14
+ javascript_include_tag "application"
15
15
  }
@@ -15985,3 +15985,4299 @@ ExpressTemplatesTest: test_ExpressTemplates.render_renders_a_template
15985
15985
  -------------------------------------------
15986
15986
  ExpressTemplatesTest: test_we_have_a_module
15987
15987
  -------------------------------------------
15988
+ --------------------------------------------------------------------------------------------------
15989
+ ExpressTemplates::ResourcefulTest: test_#resource_class_returns_resource_class_option_if_specified
15990
+ --------------------------------------------------------------------------------------------------
15991
+ -----------------------------------------------------------------------------------------
15992
+ ExpressTemplates::ResourcefulTest: test_infers_a_namespace_and_no_prefix_within_an_engine
15993
+ -----------------------------------------------------------------------------------------
15994
+ ---------------------------------------------------------------------------------------------------
15995
+ ExpressTemplates::ResourcefulTest: test_infers_namespace_and_path_prefix_within_an_engine_and_scope
15996
+ ---------------------------------------------------------------------------------------------------
15997
+ ------------------------------------------------------------------------------------------------
15998
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_infers_prefix_within_a_scope_within_an_app
15999
+ ------------------------------------------------------------------------------------------------
16000
+ -----------------------------------------------------------------------------
16001
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_no_prefix_within_an_app
16002
+ -----------------------------------------------------------------------------
16003
+ ------------------------------------------------------------------------------------
16004
+ StringTest: test_String#inspect_works_normally_when_#to_view_code_hasn't_been_called
16005
+ ------------------------------------------------------------------------------------
16006
+ --------------------------------------------------------------------------------
16007
+ StringTest: test_String#to_view_code_causes_subsequent_#inspect_to_remove_quotes
16008
+ --------------------------------------------------------------------------------
16009
+ -------------------------------------------------------
16010
+ StringTest: test_String#to_view_code_returns_the_string
16011
+ -------------------------------------------------------
16012
+ --------------------------------------------
16013
+ CompilerTest: test_.compile_returns_a_string
16014
+ --------------------------------------------
16015
+ ------------------------------------------------
16016
+ ProcTest: test_#source_body_handles_funky_bodies
16017
+ ------------------------------------------------
16018
+ ----------------------------------------------------------
16019
+ ProcTest: test_#source_body_raises_exception_for_arity_>_0
16020
+ ----------------------------------------------------------
16021
+ ------------------------------------------------------
16022
+ ProcTest: test_#source_body_returns_the_body_of_a_proc
16023
+ ------------------------------------------------------
16024
+ ----------------------------------------------
16025
+ ProcTest: test_#source_returns_a_proc's_source
16026
+ ----------------------------------------------
16027
+ ---------------------------------------------------------------
16028
+ ProcTest: test_#source_work_with_a_stabby_lambda_spanning_lines
16029
+ ---------------------------------------------------------------
16030
+ ------------------------------------------------------------
16031
+ ProcTest: test_#source_works_with_a_block_containing_a_block
16032
+ ------------------------------------------------------------
16033
+ --------------------------------------------
16034
+ ProcTest: test_#source_works_with_a_do_block
16035
+ --------------------------------------------
16036
+ -----------------------------------------------------
16037
+ ProcTest: test_#source_works_with_a_single_line_block
16038
+ -----------------------------------------------------
16039
+ -------------------------------------------------
16040
+ ProcTest: test_#source_works_with_a_stabby_lambda
16041
+ -------------------------------------------------
16042
+ ----------------------------------------------------------------------------------------
16043
+ ProcTest: test_.from_source_stores_source_of_a_dynamicly_built_proc_for_later_inspection
16044
+ ----------------------------------------------------------------------------------------
16045
+ ----------------------------------------------------
16046
+ SubmitTest: test_submit_takes_string_param_for_value
16047
+ ----------------------------------------------------
16048
+ --------------------------------------------------------------
16049
+ HandlerTest: test_helpers_returning_html_when_alone_in_a_block
16050
+ --------------------------------------------------------------
16051
+ ------------------------------------------------------------------------
16052
+ HandlerTest: test_helpers_returning_html_work_in_sequence_within_a_block
16053
+ ------------------------------------------------------------------------
16054
+ ----------------------------------------------------------
16055
+ HandlerTest: test_html_generates_<h1>Hello</h1>_by_default
16056
+ ----------------------------------------------------------
16057
+ -----------------------------
16058
+ HandlerTest: test_locals_work
16059
+ -----------------------------
16060
+ ------------------------------------------------------------
16061
+ HandlerTest: test_nesting_elements_with_ruby_block_structure
16062
+ ------------------------------------------------------------
16063
+ ----------------------------------
16064
+ HandlerTest: test_other_attributes
16065
+ ----------------------------------
16066
+ -------------------------------------------
16067
+ HandlerTest: test_our_handler_is_registered
16068
+ -------------------------------------------
16069
+ ---------------------------------------
16070
+ HandlerTest: test_string_in_block_works
16071
+ ---------------------------------------
16072
+ ----------------------------------------------------------------
16073
+ SelectTest: test_select_collection_works_using_collection_select
16074
+ ----------------------------------------------------------------
16075
+ ------------------------------------------
16076
+ SelectTest: test_select_comes_with_a_label
16077
+ ------------------------------------------
16078
+ --------------------------------------------------
16079
+ SelectTest: test_select_defaults_can_be_overridden
16080
+ --------------------------------------------------
16081
+ -------------------------------------------------------
16082
+ SelectTest: test_select_defaults_to_include_blank:_true
16083
+ -------------------------------------------------------
16084
+ ------------------------------------------------------------------------
16085
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
16086
+ ------------------------------------------------------------------------
16087
+ --------------------------------------------------------------
16088
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
16089
+ --------------------------------------------------------------
16090
+ -----------------------------------------------------------------------------------------
16091
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
16092
+ -----------------------------------------------------------------------------------------
16093
+ ---------------------------------------------------
16094
+ SelectTest: test_select_requires_a_parent_component
16095
+ ---------------------------------------------------
16096
+ -------------------------------------------------------------------------
16097
+ SelectTest: test_select_uses_options_for_select_when_values_are_specified
16098
+ -------------------------------------------------------------------------
16099
+ ---------------------------------------------------------------------------
16100
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
16101
+ ---------------------------------------------------------------------------
16102
+ -------------------------------------------------------------------------
16103
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
16104
+ -------------------------------------------------------------------------
16105
+ ------------------------------------------------------------------------------------
16106
+ InterpolatorTest: test_"{{some_{{thing}}_foo}}"_transforms_to_"#{some_#{thing}_foo}"
16107
+ ------------------------------------------------------------------------------------
16108
+ -------------------------------------------------------------------
16109
+ InterpolatorTest: test_"{{something}}"_transforms_to_"#{something}"
16110
+ -------------------------------------------------------------------
16111
+ ---------------------------------------------------------------------
16112
+ InterpolatorTest: test_'a_lot_of_{{something_"{{good}}"}}'_transforms
16113
+ ---------------------------------------------------------------------
16114
+ ---------------------------------------------------------------------
16115
+ InterpolatorTest: test_nested_with_multiple_nested_expressions_parses
16116
+ ---------------------------------------------------------------------
16117
+ ----------------------------------------------------
16118
+ InterpolatorTest: test_nested_with_outer_text_parses
16119
+ ----------------------------------------------------
16120
+ -------------------------------------------------------
16121
+ InterpolatorTest: test_nested_without_outer_text_parses
16122
+ -------------------------------------------------------
16123
+ ---------------------------------------------------------------------
16124
+ InterpolatorTest: test_simple_expression_with_surrounding_text_parses
16125
+ ---------------------------------------------------------------------
16126
+ -------------------------------------------------
16127
+ InterpolatorTest: test_simplest_expression_parses
16128
+ -------------------------------------------------
16129
+ -----------------------------------------------------------------------------------------
16130
+ BaseTest: test_.has_markup_makes_compile_return_the_block_passed_through_express_compiled
16131
+ -----------------------------------------------------------------------------------------
16132
+ ----------------------------------------------------------------------
16133
+ BaseTest: test_components_register_themselves_as_arbre_builder_methods
16134
+ ----------------------------------------------------------------------
16135
+ --------------------------------------------------------------------
16136
+ BaseTest: test_helpers_defined_in_component_are_evaluated_in_context
16137
+ --------------------------------------------------------------------
16138
+ ---------------------------------------------------------------------
16139
+ ExpressTemplatesTest: test_ExpressTemplates.render_renders_a_template
16140
+ ---------------------------------------------------------------------
16141
+ -------------------------------------------
16142
+ ExpressTemplatesTest: test_we_have_a_module
16143
+ -------------------------------------------
16144
+ -----------------------------------------
16145
+ HelloControllerTest: test_should_get_show
16146
+ -----------------------------------------
16147
+ Processing by HelloController#show as HTML
16148
+ Rendered hello/show.html.et within layouts/application (0.7ms)
16149
+ Completed 500 Internal Server Error in 13ms
16150
+ ---------------------------------------------------------------------------------------------
16151
+ IndenterTest: test_.for(:name)_returns_current_indent_without_newline_when_block_is_not_given
16152
+ ---------------------------------------------------------------------------------------------
16153
+ -----------------------------------------------------------------
16154
+ IndenterTest: test_.for(:name)_takes_a_block_receiving_whitespace
16155
+ -----------------------------------------------------------------
16156
+ ------------------------------------------------------------------
16157
+ IndenterTest: test_nesting_blocks_increases_whitespace_accordingly
16158
+ ------------------------------------------------------------------
16159
+ -------------------------------------
16160
+ BasicFieldsTest: test_all_fields_work
16161
+ -------------------------------------
16162
+ ---------------------------------------------------------------------------------
16163
+ BasicFieldsTest: test_hidden_field_passes_additional_html_options_to_rails_helper
16164
+ ---------------------------------------------------------------------------------
16165
+ ---------------------------------------------------------
16166
+ BasicFieldsTest: test_hidden_uses_rails_hidden_tag_helper
16167
+ ---------------------------------------------------------
16168
+ ---------------------------------------------------------
16169
+ BasicFieldsTest: test_passing_html_options_to_fields_work
16170
+ ---------------------------------------------------------
16171
+ -----------------------------------------------------------------------------
16172
+ BasicFieldsTest: test_textarea_passes_additional_html_options_to_rails_helper
16173
+ -----------------------------------------------------------------------------
16174
+ ----------------------------------------------------------
16175
+ BasicFieldsTest: test_textarea_uses_rails_text_area_helper
16176
+ ----------------------------------------------------------
16177
+ ----------------------------------------------------------------------------
16178
+ ConfigurableTest: test_a_configurable_component_may_have_also_be_a_container
16179
+ ----------------------------------------------------------------------------
16180
+ ----------------------------------------------------
16181
+ ConfigurableTest: test_renders_id_argument_as_dom_id
16182
+ ----------------------------------------------------
16183
+ -------------------------------------------------------------
16184
+ CheckboxTest: test_checkbox_places_the_label_before_the_input
16185
+ -------------------------------------------------------------
16186
+ -------------------------------------------------------
16187
+ CheckboxTest: test_checkbox_respects_label_after:_true_
16188
+ -------------------------------------------------------
16189
+ -----------------------------------------------------------
16190
+ RadioTest: test_radio_has_correct_label_field_name_and_text
16191
+ -----------------------------------------------------------
16192
+ ------------------------------------------------------------------
16193
+ RadioTest: test_radio_options_from_collection_when_options_omitted
16194
+ ------------------------------------------------------------------
16195
+ ----------------------------------------------------------
16196
+ RadioTest: test_radio_options_may_be_specified_with_a_hash
16197
+ ----------------------------------------------------------
16198
+ --------------------------------------------------------
16199
+ RadioTest: test_radio_options_present_with_class_'radio'
16200
+ --------------------------------------------------------
16201
+ -------------------------------------------------
16202
+ RadioTest: test_radio_requires_a_parent_component
16203
+ -------------------------------------------------
16204
+ ------------------------------------------------------------
16205
+ RadioTest: test_radio_throws_error_if_given_improper_options
16206
+ ------------------------------------------------------------
16207
+ ---------------------------------------------------------------
16208
+ ExpressFormTest: test_express_form_contents_are_inside_the_form
16209
+ ---------------------------------------------------------------
16210
+ ---------------------------------------------------------
16211
+ ExpressFormTest: test_express_form_default_method_is_POST
16212
+ ---------------------------------------------------------
16213
+ -----------------------------------------------------
16214
+ ExpressFormTest: test_simplest_form_contains_form_tag
16215
+ -----------------------------------------------------
16216
+ ---------------------------------------------------------------
16217
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
16218
+ ---------------------------------------------------------------
16219
+ ---------------------------------------------------
16220
+ ExpressFormTest: test_simplest_form_contains_submit
16221
+ ---------------------------------------------------
16222
+ -------------------------------------------
16223
+ ExpressFormTest: test_simplest_form_renders
16224
+ -------------------------------------------
16225
+ -------------------------------------------------------------------
16226
+ ExpressFormTest: test_simplest_form_uses_form_action_for_the_action
16227
+ -------------------------------------------------------------------
16228
+ --------------------------------------------------------------
16229
+ HandlerTest: test_helpers_returning_html_when_alone_in_a_block
16230
+ --------------------------------------------------------------
16231
+ ------------------------------------------------------------------------
16232
+ HandlerTest: test_helpers_returning_html_work_in_sequence_within_a_block
16233
+ ------------------------------------------------------------------------
16234
+ ----------------------------------------------------------
16235
+ HandlerTest: test_html_generates_<h1>Hello</h1>_by_default
16236
+ ----------------------------------------------------------
16237
+ -----------------------------
16238
+ HandlerTest: test_locals_work
16239
+ -----------------------------
16240
+ ------------------------------------------------------------
16241
+ HandlerTest: test_nesting_elements_with_ruby_block_structure
16242
+ ------------------------------------------------------------
16243
+ ----------------------------------
16244
+ HandlerTest: test_other_attributes
16245
+ ----------------------------------
16246
+ -------------------------------------------
16247
+ HandlerTest: test_our_handler_is_registered
16248
+ -------------------------------------------
16249
+ ---------------------------------------
16250
+ HandlerTest: test_string_in_block_works
16251
+ ---------------------------------------
16252
+ ---------------------------------------------------------------------------------------------
16253
+ IndenterTest: test_.for(:name)_returns_current_indent_without_newline_when_block_is_not_given
16254
+ ---------------------------------------------------------------------------------------------
16255
+ -----------------------------------------------------------------
16256
+ IndenterTest: test_.for(:name)_takes_a_block_receiving_whitespace
16257
+ -----------------------------------------------------------------
16258
+ ------------------------------------------------------------------
16259
+ IndenterTest: test_nesting_blocks_increases_whitespace_accordingly
16260
+ ------------------------------------------------------------------
16261
+ -----------------------------------------------------------------------------------------
16262
+ BaseTest: test_.has_markup_makes_compile_return_the_block_passed_through_express_compiled
16263
+ -----------------------------------------------------------------------------------------
16264
+ ----------------------------------------------------------------------
16265
+ BaseTest: test_components_register_themselves_as_arbre_builder_methods
16266
+ ----------------------------------------------------------------------
16267
+ --------------------------------------------------------------------
16268
+ BaseTest: test_helpers_defined_in_component_are_evaluated_in_context
16269
+ --------------------------------------------------------------------
16270
+ ------------------------------------------------------------------------------------
16271
+ StringTest: test_String#inspect_works_normally_when_#to_view_code_hasn't_been_called
16272
+ ------------------------------------------------------------------------------------
16273
+ --------------------------------------------------------------------------------
16274
+ StringTest: test_String#to_view_code_causes_subsequent_#inspect_to_remove_quotes
16275
+ --------------------------------------------------------------------------------
16276
+ -------------------------------------------------------
16277
+ StringTest: test_String#to_view_code_returns_the_string
16278
+ -------------------------------------------------------
16279
+ ---------------------------------------------------------------
16280
+ ExpressFormTest: test_express_form_contents_are_inside_the_form
16281
+ ---------------------------------------------------------------
16282
+ ---------------------------------------------------------
16283
+ ExpressFormTest: test_express_form_default_method_is_POST
16284
+ ---------------------------------------------------------
16285
+ -----------------------------------------------------
16286
+ ExpressFormTest: test_simplest_form_contains_form_tag
16287
+ -----------------------------------------------------
16288
+ ---------------------------------------------------------------
16289
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
16290
+ ---------------------------------------------------------------
16291
+ ---------------------------------------------------
16292
+ ExpressFormTest: test_simplest_form_contains_submit
16293
+ ---------------------------------------------------
16294
+ -------------------------------------------
16295
+ ExpressFormTest: test_simplest_form_renders
16296
+ -------------------------------------------
16297
+ -------------------------------------------------------------------
16298
+ ExpressFormTest: test_simplest_form_uses_form_action_for_the_action
16299
+ -------------------------------------------------------------------
16300
+ --------------------------------------------
16301
+ CompilerTest: test_.compile_returns_a_string
16302
+ --------------------------------------------
16303
+ ----------------------------------------------------
16304
+ SubmitTest: test_submit_takes_string_param_for_value
16305
+ ----------------------------------------------------
16306
+ ----------------------------------------------------------------
16307
+ SelectTest: test_select_collection_works_using_collection_select
16308
+ ----------------------------------------------------------------
16309
+ ------------------------------------------
16310
+ SelectTest: test_select_comes_with_a_label
16311
+ ------------------------------------------
16312
+ --------------------------------------------------
16313
+ SelectTest: test_select_defaults_can_be_overridden
16314
+ --------------------------------------------------
16315
+ -------------------------------------------------------
16316
+ SelectTest: test_select_defaults_to_include_blank:_true
16317
+ -------------------------------------------------------
16318
+ ------------------------------------------------------------------------
16319
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
16320
+ ------------------------------------------------------------------------
16321
+ --------------------------------------------------------------
16322
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
16323
+ --------------------------------------------------------------
16324
+ -----------------------------------------------------------------------------------------
16325
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
16326
+ -----------------------------------------------------------------------------------------
16327
+ ---------------------------------------------------
16328
+ SelectTest: test_select_requires_a_parent_component
16329
+ ---------------------------------------------------
16330
+ -------------------------------------------------------------------------
16331
+ SelectTest: test_select_uses_options_for_select_when_values_are_specified
16332
+ -------------------------------------------------------------------------
16333
+ ---------------------------------------------------------------------------
16334
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
16335
+ ---------------------------------------------------------------------------
16336
+ -------------------------------------------------------------------------
16337
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
16338
+ -------------------------------------------------------------------------
16339
+ ---------------------------------------------------------------------
16340
+ ExpressTemplatesTest: test_ExpressTemplates.render_renders_a_template
16341
+ ---------------------------------------------------------------------
16342
+ -------------------------------------------
16343
+ ExpressTemplatesTest: test_we_have_a_module
16344
+ -------------------------------------------
16345
+ ----------------------------------------------------------------------------
16346
+ ConfigurableTest: test_a_configurable_component_may_have_also_be_a_container
16347
+ ----------------------------------------------------------------------------
16348
+ ----------------------------------------------------
16349
+ ConfigurableTest: test_renders_id_argument_as_dom_id
16350
+ ----------------------------------------------------
16351
+ ------------------------------------------------------------------------------------
16352
+ InterpolatorTest: test_"{{some_{{thing}}_foo}}"_transforms_to_"#{some_#{thing}_foo}"
16353
+ ------------------------------------------------------------------------------------
16354
+ -------------------------------------------------------------------
16355
+ InterpolatorTest: test_"{{something}}"_transforms_to_"#{something}"
16356
+ -------------------------------------------------------------------
16357
+ ---------------------------------------------------------------------
16358
+ InterpolatorTest: test_'a_lot_of_{{something_"{{good}}"}}'_transforms
16359
+ ---------------------------------------------------------------------
16360
+ ---------------------------------------------------------------------
16361
+ InterpolatorTest: test_nested_with_multiple_nested_expressions_parses
16362
+ ---------------------------------------------------------------------
16363
+ ----------------------------------------------------
16364
+ InterpolatorTest: test_nested_with_outer_text_parses
16365
+ ----------------------------------------------------
16366
+ -------------------------------------------------------
16367
+ InterpolatorTest: test_nested_without_outer_text_parses
16368
+ -------------------------------------------------------
16369
+ ---------------------------------------------------------------------
16370
+ InterpolatorTest: test_simple_expression_with_surrounding_text_parses
16371
+ ---------------------------------------------------------------------
16372
+ -------------------------------------------------
16373
+ InterpolatorTest: test_simplest_expression_parses
16374
+ -------------------------------------------------
16375
+ -------------------------------------------------------------
16376
+ CheckboxTest: test_checkbox_places_the_label_before_the_input
16377
+ -------------------------------------------------------------
16378
+ -------------------------------------------------------
16379
+ CheckboxTest: test_checkbox_respects_label_after:_true_
16380
+ -------------------------------------------------------
16381
+ ------------------------------------------------
16382
+ ProcTest: test_#source_body_handles_funky_bodies
16383
+ ------------------------------------------------
16384
+ ----------------------------------------------------------
16385
+ ProcTest: test_#source_body_raises_exception_for_arity_>_0
16386
+ ----------------------------------------------------------
16387
+ ------------------------------------------------------
16388
+ ProcTest: test_#source_body_returns_the_body_of_a_proc
16389
+ ------------------------------------------------------
16390
+ ----------------------------------------------
16391
+ ProcTest: test_#source_returns_a_proc's_source
16392
+ ----------------------------------------------
16393
+ ---------------------------------------------------------------
16394
+ ProcTest: test_#source_work_with_a_stabby_lambda_spanning_lines
16395
+ ---------------------------------------------------------------
16396
+ ------------------------------------------------------------
16397
+ ProcTest: test_#source_works_with_a_block_containing_a_block
16398
+ ------------------------------------------------------------
16399
+ --------------------------------------------
16400
+ ProcTest: test_#source_works_with_a_do_block
16401
+ --------------------------------------------
16402
+ -----------------------------------------------------
16403
+ ProcTest: test_#source_works_with_a_single_line_block
16404
+ -----------------------------------------------------
16405
+ -------------------------------------------------
16406
+ ProcTest: test_#source_works_with_a_stabby_lambda
16407
+ -------------------------------------------------
16408
+ ----------------------------------------------------------------------------------------
16409
+ ProcTest: test_.from_source_stores_source_of_a_dynamicly_built_proc_for_later_inspection
16410
+ ----------------------------------------------------------------------------------------
16411
+ --------------------------------------------------------------------------------------------------
16412
+ ExpressTemplates::ResourcefulTest: test_#resource_class_returns_resource_class_option_if_specified
16413
+ --------------------------------------------------------------------------------------------------
16414
+ -----------------------------------------------------------------------------------------
16415
+ ExpressTemplates::ResourcefulTest: test_infers_a_namespace_and_no_prefix_within_an_engine
16416
+ -----------------------------------------------------------------------------------------
16417
+ ---------------------------------------------------------------------------------------------------
16418
+ ExpressTemplates::ResourcefulTest: test_infers_namespace_and_path_prefix_within_an_engine_and_scope
16419
+ ---------------------------------------------------------------------------------------------------
16420
+ ------------------------------------------------------------------------------------------------
16421
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_infers_prefix_within_a_scope_within_an_app
16422
+ ------------------------------------------------------------------------------------------------
16423
+ -----------------------------------------------------------------------------
16424
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_no_prefix_within_an_app
16425
+ -----------------------------------------------------------------------------
16426
+ -------------------------------------
16427
+ BasicFieldsTest: test_all_fields_work
16428
+ -------------------------------------
16429
+ ---------------------------------------------------------------------------------
16430
+ BasicFieldsTest: test_hidden_field_passes_additional_html_options_to_rails_helper
16431
+ ---------------------------------------------------------------------------------
16432
+ ---------------------------------------------------------
16433
+ BasicFieldsTest: test_hidden_uses_rails_hidden_tag_helper
16434
+ ---------------------------------------------------------
16435
+ ---------------------------------------------------------
16436
+ BasicFieldsTest: test_passing_html_options_to_fields_work
16437
+ ---------------------------------------------------------
16438
+ -----------------------------------------------------------------------------
16439
+ BasicFieldsTest: test_textarea_passes_additional_html_options_to_rails_helper
16440
+ -----------------------------------------------------------------------------
16441
+ ----------------------------------------------------------
16442
+ BasicFieldsTest: test_textarea_uses_rails_text_area_helper
16443
+ ----------------------------------------------------------
16444
+ -----------------------------------------
16445
+ HelloControllerTest: test_should_get_show
16446
+ -----------------------------------------
16447
+ Processing by HelloController#show as HTML
16448
+ Rendered hello/show.html.et within layouts/application (1.2ms)
16449
+ Completed 200 OK in 139ms (Views: 138.4ms)
16450
+ -----------------------------------------------------------
16451
+ RadioTest: test_radio_has_correct_label_field_name_and_text
16452
+ -----------------------------------------------------------
16453
+ ------------------------------------------------------------------
16454
+ RadioTest: test_radio_options_from_collection_when_options_omitted
16455
+ ------------------------------------------------------------------
16456
+ ----------------------------------------------------------
16457
+ RadioTest: test_radio_options_may_be_specified_with_a_hash
16458
+ ----------------------------------------------------------
16459
+ --------------------------------------------------------
16460
+ RadioTest: test_radio_options_present_with_class_'radio'
16461
+ --------------------------------------------------------
16462
+ -------------------------------------------------
16463
+ RadioTest: test_radio_requires_a_parent_component
16464
+ -------------------------------------------------
16465
+ ------------------------------------------------------------
16466
+ RadioTest: test_radio_throws_error_if_given_improper_options
16467
+ ------------------------------------------------------------
16468
+ ----------------------------------------------------------------
16469
+ SelectTest: test_select_collection_works_using_collection_select
16470
+ ----------------------------------------------------------------
16471
+ ------------------------------------------
16472
+ SelectTest: test_select_comes_with_a_label
16473
+ ------------------------------------------
16474
+ --------------------------------------------------
16475
+ SelectTest: test_select_defaults_can_be_overridden
16476
+ --------------------------------------------------
16477
+ -------------------------------------------------------
16478
+ SelectTest: test_select_defaults_to_include_blank:_true
16479
+ -------------------------------------------------------
16480
+ ------------------------------------------------------------------------
16481
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
16482
+ ------------------------------------------------------------------------
16483
+ --------------------------------------------------------------
16484
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
16485
+ --------------------------------------------------------------
16486
+ -----------------------------------------------------------------------------------------
16487
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
16488
+ -----------------------------------------------------------------------------------------
16489
+ ---------------------------------------------------
16490
+ SelectTest: test_select_requires_a_parent_component
16491
+ ---------------------------------------------------
16492
+ -------------------------------------------------------------------------
16493
+ SelectTest: test_select_uses_options_for_select_when_values_are_specified
16494
+ -------------------------------------------------------------------------
16495
+ ---------------------------------------------------------------------------
16496
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
16497
+ ---------------------------------------------------------------------------
16498
+ -------------------------------------------------------------------------
16499
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
16500
+ -------------------------------------------------------------------------
16501
+ -------------------------------------------------------------------------
16502
+ SelectTest: test_select_uses_options_for_select_when_values_are_specified
16503
+ -------------------------------------------------------------------------
16504
+ -------------------------------------------------------------------------
16505
+ SelectTest: test_select_uses_options_for_select_when_values_are_specified
16506
+ -------------------------------------------------------------------------
16507
+ -------------------------------------------------------------------------
16508
+ SelectTest: test_select_uses_options_for_select_when_values_are_specified
16509
+ -------------------------------------------------------------------------
16510
+ -------------------------------------------------------------------------
16511
+ SelectTest: test_select_uses_options_for_select_when_values_are_specified
16512
+ -------------------------------------------------------------------------
16513
+ -------------------------------------------------------------------------
16514
+ SelectTest: test_select_uses_options_for_select_when_values_are_specified
16515
+ -------------------------------------------------------------------------
16516
+ -------------------------------------------------------------------------
16517
+ SelectTest: test_select_uses_options_for_select_when_values_are_specified
16518
+ -------------------------------------------------------------------------
16519
+ -------------------------------------------------------------------------
16520
+ SelectTest: test_select_uses_options_for_select_when_values_are_specified
16521
+ -------------------------------------------------------------------------
16522
+ -------------------------------------------------------------------------
16523
+ SelectTest: test_select_uses_options_for_select_when_values_are_specified
16524
+ -------------------------------------------------------------------------
16525
+ -------------------------------------------------------------------------
16526
+ SelectTest: test_select_uses_options_for_select_when_values_are_specified
16527
+ -------------------------------------------------------------------------
16528
+ -------------------------------------------------------------------------
16529
+ SelectTest: test_select_uses_options_for_select_when_values_are_specified
16530
+ -------------------------------------------------------------------------
16531
+ -------------------------------------------------------------------------
16532
+ SelectTest: test_select_uses_options_for_select_when_values_are_specified
16533
+ -------------------------------------------------------------------------
16534
+ -------------------------------------------------------------------------
16535
+ SelectTest: test_select_uses_options_for_select_when_values_are_specified
16536
+ -------------------------------------------------------------------------
16537
+ -------------------------------------------------------------------------
16538
+ SelectTest: test_select_uses_options_for_select_when_values_are_specified
16539
+ -------------------------------------------------------------------------
16540
+ -------------------------------------------------------------------------
16541
+ SelectTest: test_select_uses_options_for_select_when_values_are_specified
16542
+ -------------------------------------------------------------------------
16543
+ -------------------------------------------------------------------------
16544
+ SelectTest: test_select_uses_options_for_select_when_values_are_specified
16545
+ -------------------------------------------------------------------------
16546
+ -------------------------------------------------------------------------
16547
+ SelectTest: test_select_uses_options_for_select_when_values_are_specified
16548
+ -------------------------------------------------------------------------
16549
+ -------------------------------------------------------------------------
16550
+ SelectTest: test_select_uses_options_for_select_when_values_are_specified
16551
+ -------------------------------------------------------------------------
16552
+ ----------------------------------------------------------------
16553
+ SelectTest: test_select_collection_works_using_collection_select
16554
+ ----------------------------------------------------------------
16555
+ ------------------------------------------
16556
+ SelectTest: test_select_comes_with_a_label
16557
+ ------------------------------------------
16558
+ --------------------------------------------------
16559
+ SelectTest: test_select_defaults_can_be_overridden
16560
+ --------------------------------------------------
16561
+ -------------------------------------------------------
16562
+ SelectTest: test_select_defaults_to_include_blank:_true
16563
+ -------------------------------------------------------
16564
+ ------------------------------------------------------------------------
16565
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
16566
+ ------------------------------------------------------------------------
16567
+ --------------------------------------------------------------
16568
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
16569
+ --------------------------------------------------------------
16570
+ -----------------------------------------------------------------------------------------
16571
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
16572
+ -----------------------------------------------------------------------------------------
16573
+ ---------------------------------------------------
16574
+ SelectTest: test_select_requires_a_parent_component
16575
+ ---------------------------------------------------
16576
+ -------------------------------------------------------------------------
16577
+ SelectTest: test_select_uses_options_for_select_when_values_are_specified
16578
+ -------------------------------------------------------------------------
16579
+ ---------------------------------------------------------------------------
16580
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
16581
+ ---------------------------------------------------------------------------
16582
+ -------------------------------------------------------------------------
16583
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
16584
+ -------------------------------------------------------------------------
16585
+ -------------------------------------------------------------
16586
+ CheckboxTest: test_checkbox_places_the_label_before_the_input
16587
+ -------------------------------------------------------------
16588
+ -------------------------------------------------------
16589
+ CheckboxTest: test_checkbox_respects_label_after:_true_
16590
+ -------------------------------------------------------
16591
+ -----------------------------------------------------------
16592
+ RadioTest: test_radio_has_correct_label_field_name_and_text
16593
+ -----------------------------------------------------------
16594
+ ------------------------------------------------------------------
16595
+ RadioTest: test_radio_options_from_collection_when_options_omitted
16596
+ ------------------------------------------------------------------
16597
+ ----------------------------------------------------------
16598
+ RadioTest: test_radio_options_may_be_specified_with_a_hash
16599
+ ----------------------------------------------------------
16600
+ --------------------------------------------------------
16601
+ RadioTest: test_radio_options_present_with_class_'radio'
16602
+ --------------------------------------------------------
16603
+ -------------------------------------------------
16604
+ RadioTest: test_radio_requires_a_parent_component
16605
+ -------------------------------------------------
16606
+ ------------------------------------------------------------
16607
+ RadioTest: test_radio_throws_error_if_given_improper_options
16608
+ ------------------------------------------------------------
16609
+ ---------------------------------------------------------------
16610
+ ExpressFormTest: test_express_form_contents_are_inside_the_form
16611
+ ---------------------------------------------------------------
16612
+ ---------------------------------------------------------
16613
+ ExpressFormTest: test_express_form_default_method_is_POST
16614
+ ---------------------------------------------------------
16615
+ -----------------------------------------------------
16616
+ ExpressFormTest: test_simplest_form_contains_form_tag
16617
+ -----------------------------------------------------
16618
+ ---------------------------------------------------------------
16619
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
16620
+ ---------------------------------------------------------------
16621
+ ---------------------------------------------------
16622
+ ExpressFormTest: test_simplest_form_contains_submit
16623
+ ---------------------------------------------------
16624
+ -------------------------------------------
16625
+ ExpressFormTest: test_simplest_form_renders
16626
+ -------------------------------------------
16627
+ -------------------------------------------------------------------
16628
+ ExpressFormTest: test_simplest_form_uses_form_action_for_the_action
16629
+ -------------------------------------------------------------------
16630
+ --------------------------------------------
16631
+ CompilerTest: test_.compile_returns_a_string
16632
+ --------------------------------------------
16633
+ ----------------------------------------------------
16634
+ SubmitTest: test_submit_takes_string_param_for_value
16635
+ ----------------------------------------------------
16636
+ ---------------------------------------------------------------------------------------------
16637
+ IndenterTest: test_.for(:name)_returns_current_indent_without_newline_when_block_is_not_given
16638
+ ---------------------------------------------------------------------------------------------
16639
+ -----------------------------------------------------------------
16640
+ IndenterTest: test_.for(:name)_takes_a_block_receiving_whitespace
16641
+ -----------------------------------------------------------------
16642
+ ------------------------------------------------------------------
16643
+ IndenterTest: test_nesting_blocks_increases_whitespace_accordingly
16644
+ ------------------------------------------------------------------
16645
+ ------------------------------------------------------------------------------------
16646
+ InterpolatorTest: test_"{{some_{{thing}}_foo}}"_transforms_to_"#{some_#{thing}_foo}"
16647
+ ------------------------------------------------------------------------------------
16648
+ -------------------------------------------------------------------
16649
+ InterpolatorTest: test_"{{something}}"_transforms_to_"#{something}"
16650
+ -------------------------------------------------------------------
16651
+ ---------------------------------------------------------------------
16652
+ InterpolatorTest: test_'a_lot_of_{{something_"{{good}}"}}'_transforms
16653
+ ---------------------------------------------------------------------
16654
+ ---------------------------------------------------------------------
16655
+ InterpolatorTest: test_nested_with_multiple_nested_expressions_parses
16656
+ ---------------------------------------------------------------------
16657
+ ----------------------------------------------------
16658
+ InterpolatorTest: test_nested_with_outer_text_parses
16659
+ ----------------------------------------------------
16660
+ -------------------------------------------------------
16661
+ InterpolatorTest: test_nested_without_outer_text_parses
16662
+ -------------------------------------------------------
16663
+ ---------------------------------------------------------------------
16664
+ InterpolatorTest: test_simple_expression_with_surrounding_text_parses
16665
+ ---------------------------------------------------------------------
16666
+ -------------------------------------------------
16667
+ InterpolatorTest: test_simplest_expression_parses
16668
+ -------------------------------------------------
16669
+ --------------------------------------------------------------------------------------------------
16670
+ ExpressTemplates::ResourcefulTest: test_#resource_class_returns_resource_class_option_if_specified
16671
+ --------------------------------------------------------------------------------------------------
16672
+ -----------------------------------------------------------------------------------------
16673
+ ExpressTemplates::ResourcefulTest: test_infers_a_namespace_and_no_prefix_within_an_engine
16674
+ -----------------------------------------------------------------------------------------
16675
+ ---------------------------------------------------------------------------------------------------
16676
+ ExpressTemplates::ResourcefulTest: test_infers_namespace_and_path_prefix_within_an_engine_and_scope
16677
+ ---------------------------------------------------------------------------------------------------
16678
+ ------------------------------------------------------------------------------------------------
16679
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_infers_prefix_within_a_scope_within_an_app
16680
+ ------------------------------------------------------------------------------------------------
16681
+ -----------------------------------------------------------------------------
16682
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_no_prefix_within_an_app
16683
+ -----------------------------------------------------------------------------
16684
+ ----------------------------------------------------------------------------
16685
+ ConfigurableTest: test_a_configurable_component_may_have_also_be_a_container
16686
+ ----------------------------------------------------------------------------
16687
+ ----------------------------------------------------
16688
+ ConfigurableTest: test_renders_id_argument_as_dom_id
16689
+ ----------------------------------------------------
16690
+ ----------------------------------------------------------------
16691
+ SelectTest: test_select_collection_works_using_collection_select
16692
+ ----------------------------------------------------------------
16693
+ ------------------------------------------
16694
+ SelectTest: test_select_comes_with_a_label
16695
+ ------------------------------------------
16696
+ --------------------------------------------------
16697
+ SelectTest: test_select_defaults_can_be_overridden
16698
+ --------------------------------------------------
16699
+ -------------------------------------------------------
16700
+ SelectTest: test_select_defaults_to_include_blank:_true
16701
+ -------------------------------------------------------
16702
+ ------------------------------------------------------------------------
16703
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
16704
+ ------------------------------------------------------------------------
16705
+ --------------------------------------------------------------
16706
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
16707
+ --------------------------------------------------------------
16708
+ -----------------------------------------------------------------------------------------
16709
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
16710
+ -----------------------------------------------------------------------------------------
16711
+ ---------------------------------------------------
16712
+ SelectTest: test_select_requires_a_parent_component
16713
+ ---------------------------------------------------
16714
+ -------------------------------------------------------------------------
16715
+ SelectTest: test_select_uses_options_for_select_when_values_are_specified
16716
+ -------------------------------------------------------------------------
16717
+ ---------------------------------------------------------------------------
16718
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
16719
+ ---------------------------------------------------------------------------
16720
+ -------------------------------------------------------------------------
16721
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
16722
+ -------------------------------------------------------------------------
16723
+ -------------------------------------
16724
+ BasicFieldsTest: test_all_fields_work
16725
+ -------------------------------------
16726
+ ---------------------------------------------------------------------------------
16727
+ BasicFieldsTest: test_hidden_field_passes_additional_html_options_to_rails_helper
16728
+ ---------------------------------------------------------------------------------
16729
+ ---------------------------------------------------------
16730
+ BasicFieldsTest: test_hidden_uses_rails_hidden_tag_helper
16731
+ ---------------------------------------------------------
16732
+ ---------------------------------------------------------
16733
+ BasicFieldsTest: test_passing_html_options_to_fields_work
16734
+ ---------------------------------------------------------
16735
+ -----------------------------------------------------------------------------
16736
+ BasicFieldsTest: test_textarea_passes_additional_html_options_to_rails_helper
16737
+ -----------------------------------------------------------------------------
16738
+ ----------------------------------------------------------
16739
+ BasicFieldsTest: test_textarea_uses_rails_text_area_helper
16740
+ ----------------------------------------------------------
16741
+ -----------------------------------------------------------------------------------------
16742
+ BaseTest: test_.has_markup_makes_compile_return_the_block_passed_through_express_compiled
16743
+ -----------------------------------------------------------------------------------------
16744
+ ----------------------------------------------------------------------
16745
+ BaseTest: test_components_register_themselves_as_arbre_builder_methods
16746
+ ----------------------------------------------------------------------
16747
+ --------------------------------------------------------------------
16748
+ BaseTest: test_helpers_defined_in_component_are_evaluated_in_context
16749
+ --------------------------------------------------------------------
16750
+ ------------------------------------------------------------------------------------
16751
+ StringTest: test_String#inspect_works_normally_when_#to_view_code_hasn't_been_called
16752
+ ------------------------------------------------------------------------------------
16753
+ --------------------------------------------------------------------------------
16754
+ StringTest: test_String#to_view_code_causes_subsequent_#inspect_to_remove_quotes
16755
+ --------------------------------------------------------------------------------
16756
+ -------------------------------------------------------
16757
+ StringTest: test_String#to_view_code_returns_the_string
16758
+ -------------------------------------------------------
16759
+ ---------------------------------------------------------------------
16760
+ ExpressTemplatesTest: test_ExpressTemplates.render_renders_a_template
16761
+ ---------------------------------------------------------------------
16762
+ -------------------------------------------
16763
+ ExpressTemplatesTest: test_we_have_a_module
16764
+ -------------------------------------------
16765
+ --------------------------------------------------------------
16766
+ HandlerTest: test_helpers_returning_html_when_alone_in_a_block
16767
+ --------------------------------------------------------------
16768
+ ------------------------------------------------------------------------
16769
+ HandlerTest: test_helpers_returning_html_work_in_sequence_within_a_block
16770
+ ------------------------------------------------------------------------
16771
+ ----------------------------------------------------------
16772
+ HandlerTest: test_html_generates_<h1>Hello</h1>_by_default
16773
+ ----------------------------------------------------------
16774
+ -----------------------------
16775
+ HandlerTest: test_locals_work
16776
+ -----------------------------
16777
+ ------------------------------------------------------------
16778
+ HandlerTest: test_nesting_elements_with_ruby_block_structure
16779
+ ------------------------------------------------------------
16780
+ ----------------------------------
16781
+ HandlerTest: test_other_attributes
16782
+ ----------------------------------
16783
+ -------------------------------------------
16784
+ HandlerTest: test_our_handler_is_registered
16785
+ -------------------------------------------
16786
+ ---------------------------------------
16787
+ HandlerTest: test_string_in_block_works
16788
+ ---------------------------------------
16789
+ -----------------------------------------
16790
+ HelloControllerTest: test_should_get_show
16791
+ -----------------------------------------
16792
+ Processing by HelloController#show as HTML
16793
+ Rendered hello/show.html.et within layouts/application (1.2ms)
16794
+ Completed 200 OK in 135ms (Views: 135.0ms)
16795
+ ------------------------------------------------
16796
+ ProcTest: test_#source_body_handles_funky_bodies
16797
+ ------------------------------------------------
16798
+ ----------------------------------------------------------
16799
+ ProcTest: test_#source_body_raises_exception_for_arity_>_0
16800
+ ----------------------------------------------------------
16801
+ ------------------------------------------------------
16802
+ ProcTest: test_#source_body_returns_the_body_of_a_proc
16803
+ ------------------------------------------------------
16804
+ ----------------------------------------------
16805
+ ProcTest: test_#source_returns_a_proc's_source
16806
+ ----------------------------------------------
16807
+ ---------------------------------------------------------------
16808
+ ProcTest: test_#source_work_with_a_stabby_lambda_spanning_lines
16809
+ ---------------------------------------------------------------
16810
+ ------------------------------------------------------------
16811
+ ProcTest: test_#source_works_with_a_block_containing_a_block
16812
+ ------------------------------------------------------------
16813
+ --------------------------------------------
16814
+ ProcTest: test_#source_works_with_a_do_block
16815
+ --------------------------------------------
16816
+ -----------------------------------------------------
16817
+ ProcTest: test_#source_works_with_a_single_line_block
16818
+ -----------------------------------------------------
16819
+ -------------------------------------------------
16820
+ ProcTest: test_#source_works_with_a_stabby_lambda
16821
+ -------------------------------------------------
16822
+ ----------------------------------------------------------------------------------------
16823
+ ProcTest: test_.from_source_stores_source_of_a_dynamicly_built_proc_for_later_inspection
16824
+ ----------------------------------------------------------------------------------------
16825
+ -----------------------------------------------------------
16826
+ RadioTest: test_radio_has_correct_label_field_name_and_text
16827
+ -----------------------------------------------------------
16828
+ ------------------------------------------------------------------
16829
+ RadioTest: test_radio_options_from_collection_when_options_omitted
16830
+ ------------------------------------------------------------------
16831
+ ----------------------------------------------------------
16832
+ RadioTest: test_radio_options_may_be_specified_with_a_hash
16833
+ ----------------------------------------------------------
16834
+ --------------------------------------------------------
16835
+ RadioTest: test_radio_options_present_with_class_'radio'
16836
+ --------------------------------------------------------
16837
+ -------------------------------------------------
16838
+ RadioTest: test_radio_requires_a_parent_component
16839
+ -------------------------------------------------
16840
+ ------------------------------------------------------------
16841
+ RadioTest: test_radio_throws_error_if_given_improper_options
16842
+ ------------------------------------------------------------
16843
+ ----------------------------------------------------
16844
+ SubmitTest: test_submit_takes_string_param_for_value
16845
+ ----------------------------------------------------
16846
+ --------------------------------------------
16847
+ CompilerTest: test_.compile_returns_a_string
16848
+ --------------------------------------------
16849
+ ---------------------------------------------------------------------------------------------
16850
+ IndenterTest: test_.for(:name)_returns_current_indent_without_newline_when_block_is_not_given
16851
+ ---------------------------------------------------------------------------------------------
16852
+ -----------------------------------------------------------------
16853
+ IndenterTest: test_.for(:name)_takes_a_block_receiving_whitespace
16854
+ -----------------------------------------------------------------
16855
+ ------------------------------------------------------------------
16856
+ IndenterTest: test_nesting_blocks_increases_whitespace_accordingly
16857
+ ------------------------------------------------------------------
16858
+ -------------------------------------
16859
+ BasicFieldsTest: test_all_fields_work
16860
+ -------------------------------------
16861
+ ---------------------------------------------------------------------------------
16862
+ BasicFieldsTest: test_hidden_field_passes_additional_html_options_to_rails_helper
16863
+ ---------------------------------------------------------------------------------
16864
+ ---------------------------------------------------------
16865
+ BasicFieldsTest: test_hidden_uses_rails_hidden_tag_helper
16866
+ ---------------------------------------------------------
16867
+ ---------------------------------------------------------
16868
+ BasicFieldsTest: test_passing_html_options_to_fields_work
16869
+ ---------------------------------------------------------
16870
+ -----------------------------------------------------------------------------
16871
+ BasicFieldsTest: test_textarea_passes_additional_html_options_to_rails_helper
16872
+ -----------------------------------------------------------------------------
16873
+ ----------------------------------------------------------
16874
+ BasicFieldsTest: test_textarea_uses_rails_text_area_helper
16875
+ ----------------------------------------------------------
16876
+ -----------------------------------------------------------------------------------------
16877
+ BaseTest: test_.has_markup_makes_compile_return_the_block_passed_through_express_compiled
16878
+ -----------------------------------------------------------------------------------------
16879
+ ----------------------------------------------------------------------
16880
+ BaseTest: test_components_register_themselves_as_arbre_builder_methods
16881
+ ----------------------------------------------------------------------
16882
+ --------------------------------------------------------------------
16883
+ BaseTest: test_helpers_defined_in_component_are_evaluated_in_context
16884
+ --------------------------------------------------------------------
16885
+ ---------------------------------------------------------------
16886
+ ExpressFormTest: test_express_form_contents_are_inside_the_form
16887
+ ---------------------------------------------------------------
16888
+ ---------------------------------------------------------
16889
+ ExpressFormTest: test_express_form_default_method_is_POST
16890
+ ---------------------------------------------------------
16891
+ -----------------------------------------------------
16892
+ ExpressFormTest: test_simplest_form_contains_form_tag
16893
+ -----------------------------------------------------
16894
+ ---------------------------------------------------------------
16895
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
16896
+ ---------------------------------------------------------------
16897
+ ---------------------------------------------------
16898
+ ExpressFormTest: test_simplest_form_contains_submit
16899
+ ---------------------------------------------------
16900
+ -------------------------------------------
16901
+ ExpressFormTest: test_simplest_form_renders
16902
+ -------------------------------------------
16903
+ -------------------------------------------------------------------
16904
+ ExpressFormTest: test_simplest_form_uses_form_action_for_the_action
16905
+ -------------------------------------------------------------------
16906
+ ---------------------------------------------------------------------
16907
+ ExpressTemplatesTest: test_ExpressTemplates.render_renders_a_template
16908
+ ---------------------------------------------------------------------
16909
+ -------------------------------------------
16910
+ ExpressTemplatesTest: test_we_have_a_module
16911
+ -------------------------------------------
16912
+ ------------------------------------------------------------------------------------
16913
+ StringTest: test_String#inspect_works_normally_when_#to_view_code_hasn't_been_called
16914
+ ------------------------------------------------------------------------------------
16915
+ --------------------------------------------------------------------------------
16916
+ StringTest: test_String#to_view_code_causes_subsequent_#inspect_to_remove_quotes
16917
+ --------------------------------------------------------------------------------
16918
+ -------------------------------------------------------
16919
+ StringTest: test_String#to_view_code_returns_the_string
16920
+ -------------------------------------------------------
16921
+ ------------------------------------------------
16922
+ ProcTest: test_#source_body_handles_funky_bodies
16923
+ ------------------------------------------------
16924
+ ----------------------------------------------------------
16925
+ ProcTest: test_#source_body_raises_exception_for_arity_>_0
16926
+ ----------------------------------------------------------
16927
+ ------------------------------------------------------
16928
+ ProcTest: test_#source_body_returns_the_body_of_a_proc
16929
+ ------------------------------------------------------
16930
+ ----------------------------------------------
16931
+ ProcTest: test_#source_returns_a_proc's_source
16932
+ ----------------------------------------------
16933
+ ---------------------------------------------------------------
16934
+ ProcTest: test_#source_work_with_a_stabby_lambda_spanning_lines
16935
+ ---------------------------------------------------------------
16936
+ ------------------------------------------------------------
16937
+ ProcTest: test_#source_works_with_a_block_containing_a_block
16938
+ ------------------------------------------------------------
16939
+ --------------------------------------------
16940
+ ProcTest: test_#source_works_with_a_do_block
16941
+ --------------------------------------------
16942
+ -----------------------------------------------------
16943
+ ProcTest: test_#source_works_with_a_single_line_block
16944
+ -----------------------------------------------------
16945
+ -------------------------------------------------
16946
+ ProcTest: test_#source_works_with_a_stabby_lambda
16947
+ -------------------------------------------------
16948
+ ----------------------------------------------------------------------------------------
16949
+ ProcTest: test_.from_source_stores_source_of_a_dynamicly_built_proc_for_later_inspection
16950
+ ----------------------------------------------------------------------------------------
16951
+ -------------------------------------------------------------
16952
+ CheckboxTest: test_checkbox_places_the_label_before_the_input
16953
+ -------------------------------------------------------------
16954
+ -------------------------------------------------------
16955
+ CheckboxTest: test_checkbox_respects_label_after:_true_
16956
+ -------------------------------------------------------
16957
+ ------------------------------------------------------------------------------------
16958
+ InterpolatorTest: test_"{{some_{{thing}}_foo}}"_transforms_to_"#{some_#{thing}_foo}"
16959
+ ------------------------------------------------------------------------------------
16960
+ -------------------------------------------------------------------
16961
+ InterpolatorTest: test_"{{something}}"_transforms_to_"#{something}"
16962
+ -------------------------------------------------------------------
16963
+ ---------------------------------------------------------------------
16964
+ InterpolatorTest: test_'a_lot_of_{{something_"{{good}}"}}'_transforms
16965
+ ---------------------------------------------------------------------
16966
+ ---------------------------------------------------------------------
16967
+ InterpolatorTest: test_nested_with_multiple_nested_expressions_parses
16968
+ ---------------------------------------------------------------------
16969
+ ----------------------------------------------------
16970
+ InterpolatorTest: test_nested_with_outer_text_parses
16971
+ ----------------------------------------------------
16972
+ -------------------------------------------------------
16973
+ InterpolatorTest: test_nested_without_outer_text_parses
16974
+ -------------------------------------------------------
16975
+ ---------------------------------------------------------------------
16976
+ InterpolatorTest: test_simple_expression_with_surrounding_text_parses
16977
+ ---------------------------------------------------------------------
16978
+ -------------------------------------------------
16979
+ InterpolatorTest: test_simplest_expression_parses
16980
+ -------------------------------------------------
16981
+ -----------------------------------------
16982
+ HelloControllerTest: test_should_get_show
16983
+ -----------------------------------------
16984
+ Processing by HelloController#show as HTML
16985
+ Rendered hello/show.html.et within layouts/application (0.7ms)
16986
+ Completed 200 OK in 127ms (Views: 126.8ms)
16987
+ ----------------------------------------------------------------------------
16988
+ ConfigurableTest: test_a_configurable_component_may_have_also_be_a_container
16989
+ ----------------------------------------------------------------------------
16990
+ ----------------------------------------------------
16991
+ ConfigurableTest: test_renders_id_argument_as_dom_id
16992
+ ----------------------------------------------------
16993
+ --------------------------------------------------------------
16994
+ HandlerTest: test_helpers_returning_html_when_alone_in_a_block
16995
+ --------------------------------------------------------------
16996
+ ------------------------------------------------------------------------
16997
+ HandlerTest: test_helpers_returning_html_work_in_sequence_within_a_block
16998
+ ------------------------------------------------------------------------
16999
+ ----------------------------------------------------------
17000
+ HandlerTest: test_html_generates_<h1>Hello</h1>_by_default
17001
+ ----------------------------------------------------------
17002
+ -----------------------------
17003
+ HandlerTest: test_locals_work
17004
+ -----------------------------
17005
+ ------------------------------------------------------------
17006
+ HandlerTest: test_nesting_elements_with_ruby_block_structure
17007
+ ------------------------------------------------------------
17008
+ ----------------------------------
17009
+ HandlerTest: test_other_attributes
17010
+ ----------------------------------
17011
+ -------------------------------------------
17012
+ HandlerTest: test_our_handler_is_registered
17013
+ -------------------------------------------
17014
+ ---------------------------------------
17015
+ HandlerTest: test_string_in_block_works
17016
+ ---------------------------------------
17017
+ --------------------------------------------------------------------------------------------------
17018
+ ExpressTemplates::ResourcefulTest: test_#resource_class_returns_resource_class_option_if_specified
17019
+ --------------------------------------------------------------------------------------------------
17020
+ -----------------------------------------------------------------------------------------
17021
+ ExpressTemplates::ResourcefulTest: test_infers_a_namespace_and_no_prefix_within_an_engine
17022
+ -----------------------------------------------------------------------------------------
17023
+ ---------------------------------------------------------------------------------------------------
17024
+ ExpressTemplates::ResourcefulTest: test_infers_namespace_and_path_prefix_within_an_engine_and_scope
17025
+ ---------------------------------------------------------------------------------------------------
17026
+ ------------------------------------------------------------------------------------------------
17027
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_infers_prefix_within_a_scope_within_an_app
17028
+ ------------------------------------------------------------------------------------------------
17029
+ -----------------------------------------------------------------------------
17030
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_no_prefix_within_an_app
17031
+ -----------------------------------------------------------------------------
17032
+ ----------------------------------------------------------------
17033
+ SelectTest: test_select_collection_works_using_collection_select
17034
+ ----------------------------------------------------------------
17035
+ ------------------------------------------
17036
+ SelectTest: test_select_comes_with_a_label
17037
+ ------------------------------------------
17038
+ --------------------------------------------------
17039
+ SelectTest: test_select_defaults_can_be_overridden
17040
+ --------------------------------------------------
17041
+ -------------------------------------------------------
17042
+ SelectTest: test_select_defaults_to_include_blank:_true
17043
+ -------------------------------------------------------
17044
+ ------------------------------------------------------------------------
17045
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
17046
+ ------------------------------------------------------------------------
17047
+ --------------------------------------------------------------
17048
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
17049
+ --------------------------------------------------------------
17050
+ -----------------------------------------------------------------------------------------
17051
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
17052
+ -----------------------------------------------------------------------------------------
17053
+ ---------------------------------------------------
17054
+ SelectTest: test_select_requires_a_parent_component
17055
+ ---------------------------------------------------
17056
+ -------------------------------------------------------------------------
17057
+ SelectTest: test_select_uses_options_for_select_when_values_are_specified
17058
+ -------------------------------------------------------------------------
17059
+ ---------------------------------------------------------------------------
17060
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
17061
+ ---------------------------------------------------------------------------
17062
+ -------------------------------------------------------------------------
17063
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
17064
+ -------------------------------------------------------------------------
17065
+ -----------------------------------------------------------
17066
+ RadioTest: test_radio_has_correct_label_field_name_and_text
17067
+ -----------------------------------------------------------
17068
+ ------------------------------------------------------------------
17069
+ RadioTest: test_radio_options_from_collection_when_options_omitted
17070
+ ------------------------------------------------------------------
17071
+ ----------------------------------------------------------
17072
+ RadioTest: test_radio_options_may_be_specified_with_a_hash
17073
+ ----------------------------------------------------------
17074
+ --------------------------------------------------------
17075
+ RadioTest: test_radio_options_present_with_class_'radio'
17076
+ --------------------------------------------------------
17077
+ -------------------------------------------------
17078
+ RadioTest: test_radio_requires_a_parent_component
17079
+ -------------------------------------------------
17080
+ ------------------------------------------------------------
17081
+ RadioTest: test_radio_throws_error_if_given_improper_options
17082
+ ------------------------------------------------------------
17083
+ ---------------------------------------------------------------------
17084
+ ExpressTemplatesTest: test_ExpressTemplates.render_renders_a_template
17085
+ ---------------------------------------------------------------------
17086
+ -------------------------------------------
17087
+ ExpressTemplatesTest: test_we_have_a_module
17088
+ -------------------------------------------
17089
+ --------------------------------------------
17090
+ CompilerTest: test_.compile_returns_a_string
17091
+ --------------------------------------------
17092
+ ---------------------------------------------------------------------------------------------
17093
+ IndenterTest: test_.for(:name)_returns_current_indent_without_newline_when_block_is_not_given
17094
+ ---------------------------------------------------------------------------------------------
17095
+ -----------------------------------------------------------------
17096
+ IndenterTest: test_.for(:name)_takes_a_block_receiving_whitespace
17097
+ -----------------------------------------------------------------
17098
+ ------------------------------------------------------------------
17099
+ IndenterTest: test_nesting_blocks_increases_whitespace_accordingly
17100
+ ------------------------------------------------------------------
17101
+ -------------------------------------------------------------
17102
+ CheckboxTest: test_checkbox_places_the_label_before_the_input
17103
+ -------------------------------------------------------------
17104
+ -------------------------------------------------------
17105
+ CheckboxTest: test_checkbox_respects_label_after:_true_
17106
+ -------------------------------------------------------
17107
+ ------------------------------------------------------------------------------------
17108
+ StringTest: test_String#inspect_works_normally_when_#to_view_code_hasn't_been_called
17109
+ ------------------------------------------------------------------------------------
17110
+ --------------------------------------------------------------------------------
17111
+ StringTest: test_String#to_view_code_causes_subsequent_#inspect_to_remove_quotes
17112
+ --------------------------------------------------------------------------------
17113
+ -------------------------------------------------------
17114
+ StringTest: test_String#to_view_code_returns_the_string
17115
+ -------------------------------------------------------
17116
+ --------------------------------------------------------------------------------------------------
17117
+ ExpressTemplates::ResourcefulTest: test_#resource_class_returns_resource_class_option_if_specified
17118
+ --------------------------------------------------------------------------------------------------
17119
+ -----------------------------------------------------------------------------------------
17120
+ ExpressTemplates::ResourcefulTest: test_infers_a_namespace_and_no_prefix_within_an_engine
17121
+ -----------------------------------------------------------------------------------------
17122
+ ---------------------------------------------------------------------------------------------------
17123
+ ExpressTemplates::ResourcefulTest: test_infers_namespace_and_path_prefix_within_an_engine_and_scope
17124
+ ---------------------------------------------------------------------------------------------------
17125
+ ------------------------------------------------------------------------------------------------
17126
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_infers_prefix_within_a_scope_within_an_app
17127
+ ------------------------------------------------------------------------------------------------
17128
+ -----------------------------------------------------------------------------
17129
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_no_prefix_within_an_app
17130
+ -----------------------------------------------------------------------------
17131
+ -----------------------------------------
17132
+ HelloControllerTest: test_should_get_show
17133
+ -----------------------------------------
17134
+ Processing by HelloController#show as HTML
17135
+ Rendered hello/show.html.et within layouts/application (0.5ms)
17136
+ Completed 200 OK in 115ms (Views: 114.5ms)
17137
+ ---------------------------------------------------------------
17138
+ ExpressFormTest: test_express_form_contents_are_inside_the_form
17139
+ ---------------------------------------------------------------
17140
+ ---------------------------------------------------------
17141
+ ExpressFormTest: test_express_form_default_method_is_POST
17142
+ ---------------------------------------------------------
17143
+ -----------------------------------------------------
17144
+ ExpressFormTest: test_simplest_form_contains_form_tag
17145
+ -----------------------------------------------------
17146
+ ---------------------------------------------------------------
17147
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
17148
+ ---------------------------------------------------------------
17149
+ ---------------------------------------------------
17150
+ ExpressFormTest: test_simplest_form_contains_submit
17151
+ ---------------------------------------------------
17152
+ -------------------------------------------
17153
+ ExpressFormTest: test_simplest_form_renders
17154
+ -------------------------------------------
17155
+ -------------------------------------------------------------------
17156
+ ExpressFormTest: test_simplest_form_uses_form_action_for_the_action
17157
+ -------------------------------------------------------------------
17158
+ ------------------------------------------------
17159
+ ProcTest: test_#source_body_handles_funky_bodies
17160
+ ------------------------------------------------
17161
+ ----------------------------------------------------------
17162
+ ProcTest: test_#source_body_raises_exception_for_arity_>_0
17163
+ ----------------------------------------------------------
17164
+ ------------------------------------------------------
17165
+ ProcTest: test_#source_body_returns_the_body_of_a_proc
17166
+ ------------------------------------------------------
17167
+ ----------------------------------------------
17168
+ ProcTest: test_#source_returns_a_proc's_source
17169
+ ----------------------------------------------
17170
+ ---------------------------------------------------------------
17171
+ ProcTest: test_#source_work_with_a_stabby_lambda_spanning_lines
17172
+ ---------------------------------------------------------------
17173
+ ------------------------------------------------------------
17174
+ ProcTest: test_#source_works_with_a_block_containing_a_block
17175
+ ------------------------------------------------------------
17176
+ --------------------------------------------
17177
+ ProcTest: test_#source_works_with_a_do_block
17178
+ --------------------------------------------
17179
+ -----------------------------------------------------
17180
+ ProcTest: test_#source_works_with_a_single_line_block
17181
+ -----------------------------------------------------
17182
+ -------------------------------------------------
17183
+ ProcTest: test_#source_works_with_a_stabby_lambda
17184
+ -------------------------------------------------
17185
+ ----------------------------------------------------------------------------------------
17186
+ ProcTest: test_.from_source_stores_source_of_a_dynamicly_built_proc_for_later_inspection
17187
+ ----------------------------------------------------------------------------------------
17188
+ --------------------------------------------------------------
17189
+ HandlerTest: test_helpers_returning_html_when_alone_in_a_block
17190
+ --------------------------------------------------------------
17191
+ ------------------------------------------------------------------------
17192
+ HandlerTest: test_helpers_returning_html_work_in_sequence_within_a_block
17193
+ ------------------------------------------------------------------------
17194
+ ----------------------------------------------------------
17195
+ HandlerTest: test_html_generates_<h1>Hello</h1>_by_default
17196
+ ----------------------------------------------------------
17197
+ -----------------------------
17198
+ HandlerTest: test_locals_work
17199
+ -----------------------------
17200
+ ------------------------------------------------------------
17201
+ HandlerTest: test_nesting_elements_with_ruby_block_structure
17202
+ ------------------------------------------------------------
17203
+ ----------------------------------
17204
+ HandlerTest: test_other_attributes
17205
+ ----------------------------------
17206
+ -------------------------------------------
17207
+ HandlerTest: test_our_handler_is_registered
17208
+ -------------------------------------------
17209
+ ---------------------------------------
17210
+ HandlerTest: test_string_in_block_works
17211
+ ---------------------------------------
17212
+ ------------------------------------------------------------------------------------
17213
+ InterpolatorTest: test_"{{some_{{thing}}_foo}}"_transforms_to_"#{some_#{thing}_foo}"
17214
+ ------------------------------------------------------------------------------------
17215
+ -------------------------------------------------------------------
17216
+ InterpolatorTest: test_"{{something}}"_transforms_to_"#{something}"
17217
+ -------------------------------------------------------------------
17218
+ ---------------------------------------------------------------------
17219
+ InterpolatorTest: test_'a_lot_of_{{something_"{{good}}"}}'_transforms
17220
+ ---------------------------------------------------------------------
17221
+ ---------------------------------------------------------------------
17222
+ InterpolatorTest: test_nested_with_multiple_nested_expressions_parses
17223
+ ---------------------------------------------------------------------
17224
+ ----------------------------------------------------
17225
+ InterpolatorTest: test_nested_with_outer_text_parses
17226
+ ----------------------------------------------------
17227
+ -------------------------------------------------------
17228
+ InterpolatorTest: test_nested_without_outer_text_parses
17229
+ -------------------------------------------------------
17230
+ ---------------------------------------------------------------------
17231
+ InterpolatorTest: test_simple_expression_with_surrounding_text_parses
17232
+ ---------------------------------------------------------------------
17233
+ -------------------------------------------------
17234
+ InterpolatorTest: test_simplest_expression_parses
17235
+ -------------------------------------------------
17236
+ -------------------------------------
17237
+ BasicFieldsTest: test_all_fields_work
17238
+ -------------------------------------
17239
+ ---------------------------------------------------------------------------------
17240
+ BasicFieldsTest: test_hidden_field_passes_additional_html_options_to_rails_helper
17241
+ ---------------------------------------------------------------------------------
17242
+ ---------------------------------------------------------
17243
+ BasicFieldsTest: test_hidden_uses_rails_hidden_tag_helper
17244
+ ---------------------------------------------------------
17245
+ ---------------------------------------------------------
17246
+ BasicFieldsTest: test_passing_html_options_to_fields_work
17247
+ ---------------------------------------------------------
17248
+ -----------------------------------------------------------------------------
17249
+ BasicFieldsTest: test_textarea_passes_additional_html_options_to_rails_helper
17250
+ -----------------------------------------------------------------------------
17251
+ ----------------------------------------------------------
17252
+ BasicFieldsTest: test_textarea_uses_rails_text_area_helper
17253
+ ----------------------------------------------------------
17254
+ ----------------------------------------------------
17255
+ SubmitTest: test_submit_takes_string_param_for_value
17256
+ ----------------------------------------------------
17257
+ ----------------------------------------------------------------------------
17258
+ ConfigurableTest: test_a_configurable_component_may_have_also_be_a_container
17259
+ ----------------------------------------------------------------------------
17260
+ ----------------------------------------------------
17261
+ ConfigurableTest: test_renders_id_argument_as_dom_id
17262
+ ----------------------------------------------------
17263
+ ----------------------------------------------------------------
17264
+ SelectTest: test_select_collection_works_using_collection_select
17265
+ ----------------------------------------------------------------
17266
+ ------------------------------------------
17267
+ SelectTest: test_select_comes_with_a_label
17268
+ ------------------------------------------
17269
+ --------------------------------------------------
17270
+ SelectTest: test_select_defaults_can_be_overridden
17271
+ --------------------------------------------------
17272
+ -------------------------------------------------------
17273
+ SelectTest: test_select_defaults_to_include_blank:_true
17274
+ -------------------------------------------------------
17275
+ ------------------------------------------------------------------------
17276
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
17277
+ ------------------------------------------------------------------------
17278
+ --------------------------------------------------------------
17279
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
17280
+ --------------------------------------------------------------
17281
+ -----------------------------------------------------------------------------------------
17282
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
17283
+ -----------------------------------------------------------------------------------------
17284
+ ---------------------------------------------------
17285
+ SelectTest: test_select_requires_a_parent_component
17286
+ ---------------------------------------------------
17287
+ -------------------------------------------------------------------------
17288
+ SelectTest: test_select_uses_options_for_select_when_values_are_specified
17289
+ -------------------------------------------------------------------------
17290
+ ---------------------------------------------------------------------------
17291
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
17292
+ ---------------------------------------------------------------------------
17293
+ -------------------------------------------------------------------------
17294
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
17295
+ -------------------------------------------------------------------------
17296
+ -----------------------------------------------------------------------------------------
17297
+ BaseTest: test_.has_markup_makes_compile_return_the_block_passed_through_express_compiled
17298
+ -----------------------------------------------------------------------------------------
17299
+ ----------------------------------------------------------------------
17300
+ BaseTest: test_components_register_themselves_as_arbre_builder_methods
17301
+ ----------------------------------------------------------------------
17302
+ --------------------------------------------------------------------
17303
+ BaseTest: test_helpers_defined_in_component_are_evaluated_in_context
17304
+ --------------------------------------------------------------------
17305
+ ------------------------------------------------
17306
+ ProcTest: test_#source_body_handles_funky_bodies
17307
+ ------------------------------------------------
17308
+ ----------------------------------------------------------
17309
+ ProcTest: test_#source_body_raises_exception_for_arity_>_0
17310
+ ----------------------------------------------------------
17311
+ ------------------------------------------------------
17312
+ ProcTest: test_#source_body_returns_the_body_of_a_proc
17313
+ ------------------------------------------------------
17314
+ ----------------------------------------------
17315
+ ProcTest: test_#source_returns_a_proc's_source
17316
+ ----------------------------------------------
17317
+ ---------------------------------------------------------------
17318
+ ProcTest: test_#source_work_with_a_stabby_lambda_spanning_lines
17319
+ ---------------------------------------------------------------
17320
+ ------------------------------------------------------------
17321
+ ProcTest: test_#source_works_with_a_block_containing_a_block
17322
+ ------------------------------------------------------------
17323
+ --------------------------------------------
17324
+ ProcTest: test_#source_works_with_a_do_block
17325
+ --------------------------------------------
17326
+ -----------------------------------------------------
17327
+ ProcTest: test_#source_works_with_a_single_line_block
17328
+ -----------------------------------------------------
17329
+ -------------------------------------------------
17330
+ ProcTest: test_#source_works_with_a_stabby_lambda
17331
+ -------------------------------------------------
17332
+ ----------------------------------------------------------------------------------------
17333
+ ProcTest: test_.from_source_stores_source_of_a_dynamicly_built_proc_for_later_inspection
17334
+ ----------------------------------------------------------------------------------------
17335
+ -----------------------------------------
17336
+ HelloControllerTest: test_should_get_show
17337
+ -----------------------------------------
17338
+ Processing by HelloController#show as HTML
17339
+ Rendered hello/show.html.et within layouts/application (0.5ms)
17340
+ Completed 200 OK in 114ms (Views: 114.2ms)
17341
+ ------------------------------------------------------------------------------------
17342
+ StringTest: test_String#inspect_works_normally_when_#to_view_code_hasn't_been_called
17343
+ ------------------------------------------------------------------------------------
17344
+ --------------------------------------------------------------------------------
17345
+ StringTest: test_String#to_view_code_causes_subsequent_#inspect_to_remove_quotes
17346
+ --------------------------------------------------------------------------------
17347
+ -------------------------------------------------------
17348
+ StringTest: test_String#to_view_code_returns_the_string
17349
+ -------------------------------------------------------
17350
+ --------------------------------------------------------------
17351
+ HandlerTest: test_helpers_returning_html_when_alone_in_a_block
17352
+ --------------------------------------------------------------
17353
+ ------------------------------------------------------------------------
17354
+ HandlerTest: test_helpers_returning_html_work_in_sequence_within_a_block
17355
+ ------------------------------------------------------------------------
17356
+ ----------------------------------------------------------
17357
+ HandlerTest: test_html_generates_<h1>Hello</h1>_by_default
17358
+ ----------------------------------------------------------
17359
+ -----------------------------
17360
+ HandlerTest: test_locals_work
17361
+ -----------------------------
17362
+ ------------------------------------------------------------
17363
+ HandlerTest: test_nesting_elements_with_ruby_block_structure
17364
+ ------------------------------------------------------------
17365
+ ----------------------------------
17366
+ HandlerTest: test_other_attributes
17367
+ ----------------------------------
17368
+ -------------------------------------------
17369
+ HandlerTest: test_our_handler_is_registered
17370
+ -------------------------------------------
17371
+ ---------------------------------------
17372
+ HandlerTest: test_string_in_block_works
17373
+ ---------------------------------------
17374
+ -----------------------------------------------------------------------------------------
17375
+ BaseTest: test_.has_markup_makes_compile_return_the_block_passed_through_express_compiled
17376
+ -----------------------------------------------------------------------------------------
17377
+ ----------------------------------------------------------------------
17378
+ BaseTest: test_components_register_themselves_as_arbre_builder_methods
17379
+ ----------------------------------------------------------------------
17380
+ --------------------------------------------------------------------
17381
+ BaseTest: test_helpers_defined_in_component_are_evaluated_in_context
17382
+ --------------------------------------------------------------------
17383
+ ----------------------------------------------------------------------------
17384
+ ConfigurableTest: test_a_configurable_component_may_have_also_be_a_container
17385
+ ----------------------------------------------------------------------------
17386
+ ----------------------------------------------------
17387
+ ConfigurableTest: test_renders_id_argument_as_dom_id
17388
+ ----------------------------------------------------
17389
+ ----------------------------------------------------
17390
+ SubmitTest: test_submit_takes_string_param_for_value
17391
+ ----------------------------------------------------
17392
+ ---------------------------------------------------------------------------------------------
17393
+ IndenterTest: test_.for(:name)_returns_current_indent_without_newline_when_block_is_not_given
17394
+ ---------------------------------------------------------------------------------------------
17395
+ -----------------------------------------------------------------
17396
+ IndenterTest: test_.for(:name)_takes_a_block_receiving_whitespace
17397
+ -----------------------------------------------------------------
17398
+ ------------------------------------------------------------------
17399
+ IndenterTest: test_nesting_blocks_increases_whitespace_accordingly
17400
+ ------------------------------------------------------------------
17401
+ ---------------------------------------------------------------------
17402
+ ExpressTemplatesTest: test_ExpressTemplates.render_renders_a_template
17403
+ ---------------------------------------------------------------------
17404
+ -------------------------------------------
17405
+ ExpressTemplatesTest: test_we_have_a_module
17406
+ -------------------------------------------
17407
+ ----------------------------------------------------------------
17408
+ SelectTest: test_select_collection_works_using_collection_select
17409
+ ----------------------------------------------------------------
17410
+ ------------------------------------------
17411
+ SelectTest: test_select_comes_with_a_label
17412
+ ------------------------------------------
17413
+ --------------------------------------------------
17414
+ SelectTest: test_select_defaults_can_be_overridden
17415
+ --------------------------------------------------
17416
+ -------------------------------------------------------
17417
+ SelectTest: test_select_defaults_to_include_blank:_true
17418
+ -------------------------------------------------------
17419
+ ------------------------------------------------------------------------
17420
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
17421
+ ------------------------------------------------------------------------
17422
+ --------------------------------------------------------------
17423
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
17424
+ --------------------------------------------------------------
17425
+ -----------------------------------------------------------------------------------------
17426
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
17427
+ -----------------------------------------------------------------------------------------
17428
+ ---------------------------------------------------
17429
+ SelectTest: test_select_requires_a_parent_component
17430
+ ---------------------------------------------------
17431
+ -------------------------------------------------------------------------
17432
+ SelectTest: test_select_uses_options_for_select_when_values_are_specified
17433
+ -------------------------------------------------------------------------
17434
+ ---------------------------------------------------------------------------
17435
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
17436
+ ---------------------------------------------------------------------------
17437
+ -------------------------------------------------------------------------
17438
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
17439
+ -------------------------------------------------------------------------
17440
+ --------------------------------------------------------------------------------------------------
17441
+ ExpressTemplates::ResourcefulTest: test_#resource_class_returns_resource_class_option_if_specified
17442
+ --------------------------------------------------------------------------------------------------
17443
+ -----------------------------------------------------------------------------------------
17444
+ ExpressTemplates::ResourcefulTest: test_infers_a_namespace_and_no_prefix_within_an_engine
17445
+ -----------------------------------------------------------------------------------------
17446
+ ---------------------------------------------------------------------------------------------------
17447
+ ExpressTemplates::ResourcefulTest: test_infers_namespace_and_path_prefix_within_an_engine_and_scope
17448
+ ---------------------------------------------------------------------------------------------------
17449
+ ------------------------------------------------------------------------------------------------
17450
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_infers_prefix_within_a_scope_within_an_app
17451
+ ------------------------------------------------------------------------------------------------
17452
+ -----------------------------------------------------------------------------
17453
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_no_prefix_within_an_app
17454
+ -----------------------------------------------------------------------------
17455
+ -------------------------------------------------------------
17456
+ CheckboxTest: test_checkbox_places_the_label_before_the_input
17457
+ -------------------------------------------------------------
17458
+ -------------------------------------------------------
17459
+ CheckboxTest: test_checkbox_respects_label_after:_true_
17460
+ -------------------------------------------------------
17461
+ ---------------------------------------------------------------
17462
+ ExpressFormTest: test_express_form_contents_are_inside_the_form
17463
+ ---------------------------------------------------------------
17464
+ ---------------------------------------------------------
17465
+ ExpressFormTest: test_express_form_default_method_is_POST
17466
+ ---------------------------------------------------------
17467
+ -----------------------------------------------------
17468
+ ExpressFormTest: test_simplest_form_contains_form_tag
17469
+ -----------------------------------------------------
17470
+ ---------------------------------------------------------------
17471
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
17472
+ ---------------------------------------------------------------
17473
+ ---------------------------------------------------
17474
+ ExpressFormTest: test_simplest_form_contains_submit
17475
+ ---------------------------------------------------
17476
+ -------------------------------------------
17477
+ ExpressFormTest: test_simplest_form_renders
17478
+ -------------------------------------------
17479
+ -------------------------------------------------------------------
17480
+ ExpressFormTest: test_simplest_form_uses_form_action_for_the_action
17481
+ -------------------------------------------------------------------
17482
+ -------------------------------------
17483
+ BasicFieldsTest: test_all_fields_work
17484
+ -------------------------------------
17485
+ ---------------------------------------------------------------------------------
17486
+ BasicFieldsTest: test_hidden_field_passes_additional_html_options_to_rails_helper
17487
+ ---------------------------------------------------------------------------------
17488
+ ---------------------------------------------------------
17489
+ BasicFieldsTest: test_hidden_uses_rails_hidden_tag_helper
17490
+ ---------------------------------------------------------
17491
+ ---------------------------------------------------------
17492
+ BasicFieldsTest: test_passing_html_options_to_fields_work
17493
+ ---------------------------------------------------------
17494
+ -----------------------------------------------------------------------------
17495
+ BasicFieldsTest: test_textarea_passes_additional_html_options_to_rails_helper
17496
+ -----------------------------------------------------------------------------
17497
+ ----------------------------------------------------------
17498
+ BasicFieldsTest: test_textarea_uses_rails_text_area_helper
17499
+ ----------------------------------------------------------
17500
+ ------------------------------------------------------------------------------------
17501
+ InterpolatorTest: test_"{{some_{{thing}}_foo}}"_transforms_to_"#{some_#{thing}_foo}"
17502
+ ------------------------------------------------------------------------------------
17503
+ -------------------------------------------------------------------
17504
+ InterpolatorTest: test_"{{something}}"_transforms_to_"#{something}"
17505
+ -------------------------------------------------------------------
17506
+ ---------------------------------------------------------------------
17507
+ InterpolatorTest: test_'a_lot_of_{{something_"{{good}}"}}'_transforms
17508
+ ---------------------------------------------------------------------
17509
+ ---------------------------------------------------------------------
17510
+ InterpolatorTest: test_nested_with_multiple_nested_expressions_parses
17511
+ ---------------------------------------------------------------------
17512
+ ----------------------------------------------------
17513
+ InterpolatorTest: test_nested_with_outer_text_parses
17514
+ ----------------------------------------------------
17515
+ -------------------------------------------------------
17516
+ InterpolatorTest: test_nested_without_outer_text_parses
17517
+ -------------------------------------------------------
17518
+ ---------------------------------------------------------------------
17519
+ InterpolatorTest: test_simple_expression_with_surrounding_text_parses
17520
+ ---------------------------------------------------------------------
17521
+ -------------------------------------------------
17522
+ InterpolatorTest: test_simplest_expression_parses
17523
+ -------------------------------------------------
17524
+ -----------------------------------------------------------
17525
+ RadioTest: test_radio_has_correct_label_field_name_and_text
17526
+ -----------------------------------------------------------
17527
+ ------------------------------------------------------------------
17528
+ RadioTest: test_radio_options_from_collection_when_options_omitted
17529
+ ------------------------------------------------------------------
17530
+ ----------------------------------------------------------
17531
+ RadioTest: test_radio_options_may_be_specified_with_a_hash
17532
+ ----------------------------------------------------------
17533
+ --------------------------------------------------------
17534
+ RadioTest: test_radio_options_present_with_class_'radio'
17535
+ --------------------------------------------------------
17536
+ -------------------------------------------------
17537
+ RadioTest: test_radio_requires_a_parent_component
17538
+ -------------------------------------------------
17539
+ ------------------------------------------------------------
17540
+ RadioTest: test_radio_throws_error_if_given_improper_options
17541
+ ------------------------------------------------------------
17542
+ --------------------------------------------
17543
+ CompilerTest: test_.compile_returns_a_string
17544
+ --------------------------------------------
17545
+ -----------------------------------------------------------------------------------------
17546
+ BaseTest: test_.has_markup_makes_compile_return_the_block_passed_through_express_compiled
17547
+ -----------------------------------------------------------------------------------------
17548
+ ----------------------------------------------------------------------
17549
+ BaseTest: test_components_register_themselves_as_arbre_builder_methods
17550
+ ----------------------------------------------------------------------
17551
+ --------------------------------------------------------------------
17552
+ BaseTest: test_helpers_defined_in_component_are_evaluated_in_context
17553
+ --------------------------------------------------------------------
17554
+ ------------------------------------------------
17555
+ ProcTest: test_#source_body_handles_funky_bodies
17556
+ ------------------------------------------------
17557
+ ----------------------------------------------------------
17558
+ ProcTest: test_#source_body_raises_exception_for_arity_>_0
17559
+ ----------------------------------------------------------
17560
+ ------------------------------------------------------
17561
+ ProcTest: test_#source_body_returns_the_body_of_a_proc
17562
+ ------------------------------------------------------
17563
+ ----------------------------------------------
17564
+ ProcTest: test_#source_returns_a_proc's_source
17565
+ ----------------------------------------------
17566
+ ---------------------------------------------------------------
17567
+ ProcTest: test_#source_work_with_a_stabby_lambda_spanning_lines
17568
+ ---------------------------------------------------------------
17569
+ ------------------------------------------------------------
17570
+ ProcTest: test_#source_works_with_a_block_containing_a_block
17571
+ ------------------------------------------------------------
17572
+ --------------------------------------------
17573
+ ProcTest: test_#source_works_with_a_do_block
17574
+ --------------------------------------------
17575
+ -----------------------------------------------------
17576
+ ProcTest: test_#source_works_with_a_single_line_block
17577
+ -----------------------------------------------------
17578
+ -------------------------------------------------
17579
+ ProcTest: test_#source_works_with_a_stabby_lambda
17580
+ -------------------------------------------------
17581
+ ----------------------------------------------------------------------------------------
17582
+ ProcTest: test_.from_source_stores_source_of_a_dynamicly_built_proc_for_later_inspection
17583
+ ----------------------------------------------------------------------------------------
17584
+ ------------------------------------------------------------------------------------
17585
+ StringTest: test_String#inspect_works_normally_when_#to_view_code_hasn't_been_called
17586
+ ------------------------------------------------------------------------------------
17587
+ --------------------------------------------------------------------------------
17588
+ StringTest: test_String#to_view_code_causes_subsequent_#inspect_to_remove_quotes
17589
+ --------------------------------------------------------------------------------
17590
+ -------------------------------------------------------
17591
+ StringTest: test_String#to_view_code_returns_the_string
17592
+ -------------------------------------------------------
17593
+ ---------------------------------------------------------------
17594
+ ExpressFormTest: test_express_form_contents_are_inside_the_form
17595
+ ---------------------------------------------------------------
17596
+ ---------------------------------------------------------
17597
+ ExpressFormTest: test_express_form_default_method_is_POST
17598
+ ---------------------------------------------------------
17599
+ -----------------------------------------------------
17600
+ ExpressFormTest: test_simplest_form_contains_form_tag
17601
+ -----------------------------------------------------
17602
+ ---------------------------------------------------------------
17603
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
17604
+ ---------------------------------------------------------------
17605
+ ---------------------------------------------------
17606
+ ExpressFormTest: test_simplest_form_contains_submit
17607
+ ---------------------------------------------------
17608
+ -------------------------------------------
17609
+ ExpressFormTest: test_simplest_form_renders
17610
+ -------------------------------------------
17611
+ -------------------------------------------------------------------
17612
+ ExpressFormTest: test_simplest_form_uses_form_action_for_the_action
17613
+ -------------------------------------------------------------------
17614
+ -------------------------------------
17615
+ BasicFieldsTest: test_all_fields_work
17616
+ -------------------------------------
17617
+ ---------------------------------------------------------------------------------
17618
+ BasicFieldsTest: test_hidden_field_passes_additional_html_options_to_rails_helper
17619
+ ---------------------------------------------------------------------------------
17620
+ ---------------------------------------------------------
17621
+ BasicFieldsTest: test_hidden_uses_rails_hidden_tag_helper
17622
+ ---------------------------------------------------------
17623
+ ---------------------------------------------------------
17624
+ BasicFieldsTest: test_passing_html_options_to_fields_work
17625
+ ---------------------------------------------------------
17626
+ -----------------------------------------------------------------------------
17627
+ BasicFieldsTest: test_textarea_passes_additional_html_options_to_rails_helper
17628
+ -----------------------------------------------------------------------------
17629
+ ----------------------------------------------------------
17630
+ BasicFieldsTest: test_textarea_uses_rails_text_area_helper
17631
+ ----------------------------------------------------------
17632
+ --------------------------------------------------------------------------------------------------
17633
+ ExpressTemplates::ResourcefulTest: test_#resource_class_returns_resource_class_option_if_specified
17634
+ --------------------------------------------------------------------------------------------------
17635
+ -----------------------------------------------------------------------------------------
17636
+ ExpressTemplates::ResourcefulTest: test_infers_a_namespace_and_no_prefix_within_an_engine
17637
+ -----------------------------------------------------------------------------------------
17638
+ ---------------------------------------------------------------------------------------------------
17639
+ ExpressTemplates::ResourcefulTest: test_infers_namespace_and_path_prefix_within_an_engine_and_scope
17640
+ ---------------------------------------------------------------------------------------------------
17641
+ ------------------------------------------------------------------------------------------------
17642
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_infers_prefix_within_a_scope_within_an_app
17643
+ ------------------------------------------------------------------------------------------------
17644
+ -----------------------------------------------------------------------------
17645
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_no_prefix_within_an_app
17646
+ -----------------------------------------------------------------------------
17647
+ ----------------------------------------------------------------
17648
+ SelectTest: test_select_collection_works_using_collection_select
17649
+ ----------------------------------------------------------------
17650
+ ------------------------------------------
17651
+ SelectTest: test_select_comes_with_a_label
17652
+ ------------------------------------------
17653
+ --------------------------------------------------
17654
+ SelectTest: test_select_defaults_can_be_overridden
17655
+ --------------------------------------------------
17656
+ -------------------------------------------------------
17657
+ SelectTest: test_select_defaults_to_include_blank:_true
17658
+ -------------------------------------------------------
17659
+ ------------------------------------------------------------------------
17660
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
17661
+ ------------------------------------------------------------------------
17662
+ --------------------------------------------------------------
17663
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
17664
+ --------------------------------------------------------------
17665
+ -----------------------------------------------------------------------------------------
17666
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
17667
+ -----------------------------------------------------------------------------------------
17668
+ ---------------------------------------------------
17669
+ SelectTest: test_select_requires_a_parent_component
17670
+ ---------------------------------------------------
17671
+ -------------------------------------------------------------------------
17672
+ SelectTest: test_select_uses_options_for_select_when_values_are_specified
17673
+ -------------------------------------------------------------------------
17674
+ ---------------------------------------------------------------------------
17675
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
17676
+ ---------------------------------------------------------------------------
17677
+ -------------------------------------------------------------------------
17678
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
17679
+ -------------------------------------------------------------------------
17680
+ ----------------------------------------------------
17681
+ SubmitTest: test_submit_takes_string_param_for_value
17682
+ ----------------------------------------------------
17683
+ ---------------------------------------------------------------------
17684
+ ExpressTemplatesTest: test_ExpressTemplates.render_renders_a_template
17685
+ ---------------------------------------------------------------------
17686
+ -------------------------------------------
17687
+ ExpressTemplatesTest: test_we_have_a_module
17688
+ -------------------------------------------
17689
+ -----------------------------------------
17690
+ HelloControllerTest: test_should_get_show
17691
+ -----------------------------------------
17692
+ Processing by HelloController#show as HTML
17693
+ Rendered hello/show.html.et within layouts/application (0.7ms)
17694
+ Completed 200 OK in 131ms (Views: 130.9ms)
17695
+ -------------------------------------------------------------
17696
+ CheckboxTest: test_checkbox_places_the_label_before_the_input
17697
+ -------------------------------------------------------------
17698
+ -------------------------------------------------------
17699
+ CheckboxTest: test_checkbox_respects_label_after:_true_
17700
+ -------------------------------------------------------
17701
+ --------------------------------------------
17702
+ CompilerTest: test_.compile_returns_a_string
17703
+ --------------------------------------------
17704
+ --------------------------------------------------------------
17705
+ HandlerTest: test_helpers_returning_html_when_alone_in_a_block
17706
+ --------------------------------------------------------------
17707
+ ------------------------------------------------------------------------
17708
+ HandlerTest: test_helpers_returning_html_work_in_sequence_within_a_block
17709
+ ------------------------------------------------------------------------
17710
+ ----------------------------------------------------------
17711
+ HandlerTest: test_html_generates_<h1>Hello</h1>_by_default
17712
+ ----------------------------------------------------------
17713
+ -----------------------------
17714
+ HandlerTest: test_locals_work
17715
+ -----------------------------
17716
+ ------------------------------------------------------------
17717
+ HandlerTest: test_nesting_elements_with_ruby_block_structure
17718
+ ------------------------------------------------------------
17719
+ ----------------------------------
17720
+ HandlerTest: test_other_attributes
17721
+ ----------------------------------
17722
+ -------------------------------------------
17723
+ HandlerTest: test_our_handler_is_registered
17724
+ -------------------------------------------
17725
+ ---------------------------------------
17726
+ HandlerTest: test_string_in_block_works
17727
+ ---------------------------------------
17728
+ ----------------------------------------------------------------------------
17729
+ ConfigurableTest: test_a_configurable_component_may_have_also_be_a_container
17730
+ ----------------------------------------------------------------------------
17731
+ ----------------------------------------------------
17732
+ ConfigurableTest: test_renders_id_argument_as_dom_id
17733
+ ----------------------------------------------------
17734
+ ------------------------------------------------------------------------------------
17735
+ InterpolatorTest: test_"{{some_{{thing}}_foo}}"_transforms_to_"#{some_#{thing}_foo}"
17736
+ ------------------------------------------------------------------------------------
17737
+ -------------------------------------------------------------------
17738
+ InterpolatorTest: test_"{{something}}"_transforms_to_"#{something}"
17739
+ -------------------------------------------------------------------
17740
+ ---------------------------------------------------------------------
17741
+ InterpolatorTest: test_'a_lot_of_{{something_"{{good}}"}}'_transforms
17742
+ ---------------------------------------------------------------------
17743
+ ---------------------------------------------------------------------
17744
+ InterpolatorTest: test_nested_with_multiple_nested_expressions_parses
17745
+ ---------------------------------------------------------------------
17746
+ ----------------------------------------------------
17747
+ InterpolatorTest: test_nested_with_outer_text_parses
17748
+ ----------------------------------------------------
17749
+ -------------------------------------------------------
17750
+ InterpolatorTest: test_nested_without_outer_text_parses
17751
+ -------------------------------------------------------
17752
+ ---------------------------------------------------------------------
17753
+ InterpolatorTest: test_simple_expression_with_surrounding_text_parses
17754
+ ---------------------------------------------------------------------
17755
+ -------------------------------------------------
17756
+ InterpolatorTest: test_simplest_expression_parses
17757
+ -------------------------------------------------
17758
+ ---------------------------------------------------------------------------------------------
17759
+ IndenterTest: test_.for(:name)_returns_current_indent_without_newline_when_block_is_not_given
17760
+ ---------------------------------------------------------------------------------------------
17761
+ -----------------------------------------------------------------
17762
+ IndenterTest: test_.for(:name)_takes_a_block_receiving_whitespace
17763
+ -----------------------------------------------------------------
17764
+ ------------------------------------------------------------------
17765
+ IndenterTest: test_nesting_blocks_increases_whitespace_accordingly
17766
+ ------------------------------------------------------------------
17767
+ -----------------------------------------------------------
17768
+ RadioTest: test_radio_has_correct_label_field_name_and_text
17769
+ -----------------------------------------------------------
17770
+ ------------------------------------------------------------------
17771
+ RadioTest: test_radio_options_from_collection_when_options_omitted
17772
+ ------------------------------------------------------------------
17773
+ ----------------------------------------------------------
17774
+ RadioTest: test_radio_options_may_be_specified_with_a_hash
17775
+ ----------------------------------------------------------
17776
+ --------------------------------------------------------
17777
+ RadioTest: test_radio_options_present_with_class_'radio'
17778
+ --------------------------------------------------------
17779
+ -------------------------------------------------
17780
+ RadioTest: test_radio_requires_a_parent_component
17781
+ -------------------------------------------------
17782
+ ------------------------------------------------------------
17783
+ RadioTest: test_radio_throws_error_if_given_improper_options
17784
+ ------------------------------------------------------------
17785
+ ---------------------------------------------------------------------
17786
+ ExpressTemplatesTest: test_ExpressTemplates.render_renders_a_template
17787
+ ---------------------------------------------------------------------
17788
+ -------------------------------------------
17789
+ ExpressTemplatesTest: test_we_have_a_module
17790
+ -------------------------------------------
17791
+ --------------------------------------------
17792
+ CompilerTest: test_.compile_returns_a_string
17793
+ --------------------------------------------
17794
+ ---------------------------------------------------------------------------------------------
17795
+ IndenterTest: test_.for(:name)_returns_current_indent_without_newline_when_block_is_not_given
17796
+ ---------------------------------------------------------------------------------------------
17797
+ -----------------------------------------------------------------
17798
+ IndenterTest: test_.for(:name)_takes_a_block_receiving_whitespace
17799
+ -----------------------------------------------------------------
17800
+ ------------------------------------------------------------------
17801
+ IndenterTest: test_nesting_blocks_increases_whitespace_accordingly
17802
+ ------------------------------------------------------------------
17803
+ ----------------------------------------------------------------
17804
+ SelectTest: test_select_collection_works_using_collection_select
17805
+ ----------------------------------------------------------------
17806
+ ------------------------------------------
17807
+ SelectTest: test_select_comes_with_a_label
17808
+ ------------------------------------------
17809
+ --------------------------------------------------
17810
+ SelectTest: test_select_defaults_can_be_overridden
17811
+ --------------------------------------------------
17812
+ -------------------------------------------------------
17813
+ SelectTest: test_select_defaults_to_include_blank:_true
17814
+ -------------------------------------------------------
17815
+ ------------------------------------------------------------------------
17816
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
17817
+ ------------------------------------------------------------------------
17818
+ --------------------------------------------------------------
17819
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
17820
+ --------------------------------------------------------------
17821
+ -----------------------------------------------------------------------------------------
17822
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
17823
+ -----------------------------------------------------------------------------------------
17824
+ ---------------------------------------------------
17825
+ SelectTest: test_select_requires_a_parent_component
17826
+ ---------------------------------------------------
17827
+ -------------------------------------------------------------------------
17828
+ SelectTest: test_select_uses_options_for_select_when_values_are_specified
17829
+ -------------------------------------------------------------------------
17830
+ ---------------------------------------------------------------------------
17831
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
17832
+ ---------------------------------------------------------------------------
17833
+ -------------------------------------------------------------------------
17834
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
17835
+ -------------------------------------------------------------------------
17836
+ -----------------------------------------
17837
+ HelloControllerTest: test_should_get_show
17838
+ -----------------------------------------
17839
+ Processing by HelloController#show as HTML
17840
+ Rendered hello/show.html.et within layouts/application (0.8ms)
17841
+ Completed 200 OK in 128ms (Views: 127.4ms)
17842
+ ---------------------------------------------------------------
17843
+ ExpressFormTest: test_express_form_contents_are_inside_the_form
17844
+ ---------------------------------------------------------------
17845
+ ---------------------------------------------------------
17846
+ ExpressFormTest: test_express_form_default_method_is_POST
17847
+ ---------------------------------------------------------
17848
+ -----------------------------------------------------
17849
+ ExpressFormTest: test_simplest_form_contains_form_tag
17850
+ -----------------------------------------------------
17851
+ ---------------------------------------------------------------
17852
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
17853
+ ---------------------------------------------------------------
17854
+ ---------------------------------------------------
17855
+ ExpressFormTest: test_simplest_form_contains_submit
17856
+ ---------------------------------------------------
17857
+ -------------------------------------------
17858
+ ExpressFormTest: test_simplest_form_renders
17859
+ -------------------------------------------
17860
+ -------------------------------------------------------------------
17861
+ ExpressFormTest: test_simplest_form_uses_form_action_for_the_action
17862
+ -------------------------------------------------------------------
17863
+ -----------------------------------------------------------------------------------------
17864
+ BaseTest: test_.has_markup_makes_compile_return_the_block_passed_through_express_compiled
17865
+ -----------------------------------------------------------------------------------------
17866
+ ----------------------------------------------------------------------
17867
+ BaseTest: test_components_register_themselves_as_arbre_builder_methods
17868
+ ----------------------------------------------------------------------
17869
+ --------------------------------------------------------------------
17870
+ BaseTest: test_helpers_defined_in_component_are_evaluated_in_context
17871
+ --------------------------------------------------------------------
17872
+ --------------------------------------------------------------
17873
+ HandlerTest: test_helpers_returning_html_when_alone_in_a_block
17874
+ --------------------------------------------------------------
17875
+ ------------------------------------------------------------------------
17876
+ HandlerTest: test_helpers_returning_html_work_in_sequence_within_a_block
17877
+ ------------------------------------------------------------------------
17878
+ ----------------------------------------------------------
17879
+ HandlerTest: test_html_generates_<h1>Hello</h1>_by_default
17880
+ ----------------------------------------------------------
17881
+ -----------------------------
17882
+ HandlerTest: test_locals_work
17883
+ -----------------------------
17884
+ ------------------------------------------------------------
17885
+ HandlerTest: test_nesting_elements_with_ruby_block_structure
17886
+ ------------------------------------------------------------
17887
+ ----------------------------------
17888
+ HandlerTest: test_other_attributes
17889
+ ----------------------------------
17890
+ -------------------------------------------
17891
+ HandlerTest: test_our_handler_is_registered
17892
+ -------------------------------------------
17893
+ ---------------------------------------
17894
+ HandlerTest: test_string_in_block_works
17895
+ ---------------------------------------
17896
+ ------------------------------------------------------------------------------------
17897
+ InterpolatorTest: test_"{{some_{{thing}}_foo}}"_transforms_to_"#{some_#{thing}_foo}"
17898
+ ------------------------------------------------------------------------------------
17899
+ -------------------------------------------------------------------
17900
+ InterpolatorTest: test_"{{something}}"_transforms_to_"#{something}"
17901
+ -------------------------------------------------------------------
17902
+ ---------------------------------------------------------------------
17903
+ InterpolatorTest: test_'a_lot_of_{{something_"{{good}}"}}'_transforms
17904
+ ---------------------------------------------------------------------
17905
+ ---------------------------------------------------------------------
17906
+ InterpolatorTest: test_nested_with_multiple_nested_expressions_parses
17907
+ ---------------------------------------------------------------------
17908
+ ----------------------------------------------------
17909
+ InterpolatorTest: test_nested_with_outer_text_parses
17910
+ ----------------------------------------------------
17911
+ -------------------------------------------------------
17912
+ InterpolatorTest: test_nested_without_outer_text_parses
17913
+ -------------------------------------------------------
17914
+ ---------------------------------------------------------------------
17915
+ InterpolatorTest: test_simple_expression_with_surrounding_text_parses
17916
+ ---------------------------------------------------------------------
17917
+ -------------------------------------------------
17918
+ InterpolatorTest: test_simplest_expression_parses
17919
+ -------------------------------------------------
17920
+ -------------------------------------
17921
+ BasicFieldsTest: test_all_fields_work
17922
+ -------------------------------------
17923
+ ---------------------------------------------------------------------------------
17924
+ BasicFieldsTest: test_hidden_field_passes_additional_html_options_to_rails_helper
17925
+ ---------------------------------------------------------------------------------
17926
+ ---------------------------------------------------------
17927
+ BasicFieldsTest: test_hidden_uses_rails_hidden_tag_helper
17928
+ ---------------------------------------------------------
17929
+ ---------------------------------------------------------
17930
+ BasicFieldsTest: test_passing_html_options_to_fields_work
17931
+ ---------------------------------------------------------
17932
+ -----------------------------------------------------------------------------
17933
+ BasicFieldsTest: test_textarea_passes_additional_html_options_to_rails_helper
17934
+ -----------------------------------------------------------------------------
17935
+ ----------------------------------------------------------
17936
+ BasicFieldsTest: test_textarea_uses_rails_text_area_helper
17937
+ ----------------------------------------------------------
17938
+ -----------------------------------------------------------
17939
+ RadioTest: test_radio_has_correct_label_field_name_and_text
17940
+ -----------------------------------------------------------
17941
+ ------------------------------------------------------------------
17942
+ RadioTest: test_radio_options_from_collection_when_options_omitted
17943
+ ------------------------------------------------------------------
17944
+ ----------------------------------------------------------
17945
+ RadioTest: test_radio_options_may_be_specified_with_a_hash
17946
+ ----------------------------------------------------------
17947
+ --------------------------------------------------------
17948
+ RadioTest: test_radio_options_present_with_class_'radio'
17949
+ --------------------------------------------------------
17950
+ -------------------------------------------------
17951
+ RadioTest: test_radio_requires_a_parent_component
17952
+ -------------------------------------------------
17953
+ ------------------------------------------------------------
17954
+ RadioTest: test_radio_throws_error_if_given_improper_options
17955
+ ------------------------------------------------------------
17956
+ --------------------------------------------------------------------------------------------------
17957
+ ExpressTemplates::ResourcefulTest: test_#resource_class_returns_resource_class_option_if_specified
17958
+ --------------------------------------------------------------------------------------------------
17959
+ -----------------------------------------------------------------------------------------
17960
+ ExpressTemplates::ResourcefulTest: test_infers_a_namespace_and_no_prefix_within_an_engine
17961
+ -----------------------------------------------------------------------------------------
17962
+ ---------------------------------------------------------------------------------------------------
17963
+ ExpressTemplates::ResourcefulTest: test_infers_namespace_and_path_prefix_within_an_engine_and_scope
17964
+ ---------------------------------------------------------------------------------------------------
17965
+ ------------------------------------------------------------------------------------------------
17966
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_infers_prefix_within_a_scope_within_an_app
17967
+ ------------------------------------------------------------------------------------------------
17968
+ -----------------------------------------------------------------------------
17969
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_no_prefix_within_an_app
17970
+ -----------------------------------------------------------------------------
17971
+ ------------------------------------------------------------------------------------
17972
+ StringTest: test_String#inspect_works_normally_when_#to_view_code_hasn't_been_called
17973
+ ------------------------------------------------------------------------------------
17974
+ --------------------------------------------------------------------------------
17975
+ StringTest: test_String#to_view_code_causes_subsequent_#inspect_to_remove_quotes
17976
+ --------------------------------------------------------------------------------
17977
+ -------------------------------------------------------
17978
+ StringTest: test_String#to_view_code_returns_the_string
17979
+ -------------------------------------------------------
17980
+ -------------------------------------------------------------
17981
+ CheckboxTest: test_checkbox_places_the_label_before_the_input
17982
+ -------------------------------------------------------------
17983
+ -------------------------------------------------------
17984
+ CheckboxTest: test_checkbox_respects_label_after:_true_
17985
+ -------------------------------------------------------
17986
+ ----------------------------------------------------
17987
+ SubmitTest: test_submit_takes_string_param_for_value
17988
+ ----------------------------------------------------
17989
+ ----------------------------------------------------------------------------
17990
+ ConfigurableTest: test_a_configurable_component_may_have_also_be_a_container
17991
+ ----------------------------------------------------------------------------
17992
+ ----------------------------------------------------
17993
+ ConfigurableTest: test_renders_id_argument_as_dom_id
17994
+ ----------------------------------------------------
17995
+ ------------------------------------------------
17996
+ ProcTest: test_#source_body_handles_funky_bodies
17997
+ ------------------------------------------------
17998
+ ----------------------------------------------------------
17999
+ ProcTest: test_#source_body_raises_exception_for_arity_>_0
18000
+ ----------------------------------------------------------
18001
+ ------------------------------------------------------
18002
+ ProcTest: test_#source_body_returns_the_body_of_a_proc
18003
+ ------------------------------------------------------
18004
+ ----------------------------------------------
18005
+ ProcTest: test_#source_returns_a_proc's_source
18006
+ ----------------------------------------------
18007
+ ---------------------------------------------------------------
18008
+ ProcTest: test_#source_work_with_a_stabby_lambda_spanning_lines
18009
+ ---------------------------------------------------------------
18010
+ ------------------------------------------------------------
18011
+ ProcTest: test_#source_works_with_a_block_containing_a_block
18012
+ ------------------------------------------------------------
18013
+ --------------------------------------------
18014
+ ProcTest: test_#source_works_with_a_do_block
18015
+ --------------------------------------------
18016
+ -----------------------------------------------------
18017
+ ProcTest: test_#source_works_with_a_single_line_block
18018
+ -----------------------------------------------------
18019
+ -------------------------------------------------
18020
+ ProcTest: test_#source_works_with_a_stabby_lambda
18021
+ -------------------------------------------------
18022
+ ----------------------------------------------------------------------------------------
18023
+ ProcTest: test_.from_source_stores_source_of_a_dynamicly_built_proc_for_later_inspection
18024
+ ----------------------------------------------------------------------------------------
18025
+ ------------------------------------------------------------------------------------
18026
+ InterpolatorTest: test_"{{some_{{thing}}_foo}}"_transforms_to_"#{some_#{thing}_foo}"
18027
+ ------------------------------------------------------------------------------------
18028
+ -------------------------------------------------------------------
18029
+ InterpolatorTest: test_"{{something}}"_transforms_to_"#{something}"
18030
+ -------------------------------------------------------------------
18031
+ ---------------------------------------------------------------------
18032
+ InterpolatorTest: test_'a_lot_of_{{something_"{{good}}"}}'_transforms
18033
+ ---------------------------------------------------------------------
18034
+ ---------------------------------------------------------------------
18035
+ InterpolatorTest: test_nested_with_multiple_nested_expressions_parses
18036
+ ---------------------------------------------------------------------
18037
+ ----------------------------------------------------
18038
+ InterpolatorTest: test_nested_with_outer_text_parses
18039
+ ----------------------------------------------------
18040
+ -------------------------------------------------------
18041
+ InterpolatorTest: test_nested_without_outer_text_parses
18042
+ -------------------------------------------------------
18043
+ ---------------------------------------------------------------------
18044
+ InterpolatorTest: test_simple_expression_with_surrounding_text_parses
18045
+ ---------------------------------------------------------------------
18046
+ -------------------------------------------------
18047
+ InterpolatorTest: test_simplest_expression_parses
18048
+ -------------------------------------------------
18049
+ -----------------------------------------------------------------------------------------
18050
+ BaseTest: test_.has_markup_makes_compile_return_the_block_passed_through_express_compiled
18051
+ -----------------------------------------------------------------------------------------
18052
+ ----------------------------------------------------------------------
18053
+ BaseTest: test_components_register_themselves_as_arbre_builder_methods
18054
+ ----------------------------------------------------------------------
18055
+ --------------------------------------------------------------------
18056
+ BaseTest: test_helpers_defined_in_component_are_evaluated_in_context
18057
+ --------------------------------------------------------------------
18058
+ --------------------------------------------------------------
18059
+ HandlerTest: test_helpers_returning_html_when_alone_in_a_block
18060
+ --------------------------------------------------------------
18061
+ ------------------------------------------------------------------------
18062
+ HandlerTest: test_helpers_returning_html_work_in_sequence_within_a_block
18063
+ ------------------------------------------------------------------------
18064
+ ----------------------------------------------------------
18065
+ HandlerTest: test_html_generates_<h1>Hello</h1>_by_default
18066
+ ----------------------------------------------------------
18067
+ -----------------------------
18068
+ HandlerTest: test_locals_work
18069
+ -----------------------------
18070
+ ------------------------------------------------------------
18071
+ HandlerTest: test_nesting_elements_with_ruby_block_structure
18072
+ ------------------------------------------------------------
18073
+ ----------------------------------
18074
+ HandlerTest: test_other_attributes
18075
+ ----------------------------------
18076
+ -------------------------------------------
18077
+ HandlerTest: test_our_handler_is_registered
18078
+ -------------------------------------------
18079
+ ---------------------------------------
18080
+ HandlerTest: test_string_in_block_works
18081
+ ---------------------------------------
18082
+ ----------------------------------------------------
18083
+ SubmitTest: test_submit_takes_string_param_for_value
18084
+ ----------------------------------------------------
18085
+ ----------------------------------------------------------------
18086
+ SelectTest: test_select_collection_works_using_collection_select
18087
+ ----------------------------------------------------------------
18088
+ ------------------------------------------
18089
+ SelectTest: test_select_comes_with_a_label
18090
+ ------------------------------------------
18091
+ --------------------------------------------------
18092
+ SelectTest: test_select_defaults_can_be_overridden
18093
+ --------------------------------------------------
18094
+ -------------------------------------------------------
18095
+ SelectTest: test_select_defaults_to_include_blank:_true
18096
+ -------------------------------------------------------
18097
+ ------------------------------------------------------------------------
18098
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
18099
+ ------------------------------------------------------------------------
18100
+ --------------------------------------------------------------
18101
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
18102
+ --------------------------------------------------------------
18103
+ -----------------------------------------------------------------------------------------
18104
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
18105
+ -----------------------------------------------------------------------------------------
18106
+ ---------------------------------------------------
18107
+ SelectTest: test_select_requires_a_parent_component
18108
+ ---------------------------------------------------
18109
+ -------------------------------------------------------------------------
18110
+ SelectTest: test_select_uses_options_for_select_when_values_are_specified
18111
+ -------------------------------------------------------------------------
18112
+ ---------------------------------------------------------------------------
18113
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
18114
+ ---------------------------------------------------------------------------
18115
+ -------------------------------------------------------------------------
18116
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
18117
+ -------------------------------------------------------------------------
18118
+ ----------------------------------------------------------------------------
18119
+ ConfigurableTest: test_a_configurable_component_may_have_also_be_a_container
18120
+ ----------------------------------------------------------------------------
18121
+ ----------------------------------------------------
18122
+ ConfigurableTest: test_renders_id_argument_as_dom_id
18123
+ ----------------------------------------------------
18124
+ --------------------------------------------
18125
+ CompilerTest: test_.compile_returns_a_string
18126
+ --------------------------------------------
18127
+ -------------------------------------------------------------
18128
+ CheckboxTest: test_checkbox_places_the_label_before_the_input
18129
+ -------------------------------------------------------------
18130
+ -------------------------------------------------------
18131
+ CheckboxTest: test_checkbox_respects_label_after:_true_
18132
+ -------------------------------------------------------
18133
+ ---------------------------------------------------------------------------------------------
18134
+ IndenterTest: test_.for(:name)_returns_current_indent_without_newline_when_block_is_not_given
18135
+ ---------------------------------------------------------------------------------------------
18136
+ -----------------------------------------------------------------
18137
+ IndenterTest: test_.for(:name)_takes_a_block_receiving_whitespace
18138
+ -----------------------------------------------------------------
18139
+ ------------------------------------------------------------------
18140
+ IndenterTest: test_nesting_blocks_increases_whitespace_accordingly
18141
+ ------------------------------------------------------------------
18142
+ -------------------------------------
18143
+ BasicFieldsTest: test_all_fields_work
18144
+ -------------------------------------
18145
+ ---------------------------------------------------------------------------------
18146
+ BasicFieldsTest: test_hidden_field_passes_additional_html_options_to_rails_helper
18147
+ ---------------------------------------------------------------------------------
18148
+ ---------------------------------------------------------
18149
+ BasicFieldsTest: test_hidden_uses_rails_hidden_tag_helper
18150
+ ---------------------------------------------------------
18151
+ ---------------------------------------------------------
18152
+ BasicFieldsTest: test_passing_html_options_to_fields_work
18153
+ ---------------------------------------------------------
18154
+ -----------------------------------------------------------------------------
18155
+ BasicFieldsTest: test_textarea_passes_additional_html_options_to_rails_helper
18156
+ -----------------------------------------------------------------------------
18157
+ ----------------------------------------------------------
18158
+ BasicFieldsTest: test_textarea_uses_rails_text_area_helper
18159
+ ----------------------------------------------------------
18160
+ -----------------------------------------------------------
18161
+ RadioTest: test_radio_has_correct_label_field_name_and_text
18162
+ -----------------------------------------------------------
18163
+ ------------------------------------------------------------------
18164
+ RadioTest: test_radio_options_from_collection_when_options_omitted
18165
+ ------------------------------------------------------------------
18166
+ ----------------------------------------------------------
18167
+ RadioTest: test_radio_options_may_be_specified_with_a_hash
18168
+ ----------------------------------------------------------
18169
+ --------------------------------------------------------
18170
+ RadioTest: test_radio_options_present_with_class_'radio'
18171
+ --------------------------------------------------------
18172
+ -------------------------------------------------
18173
+ RadioTest: test_radio_requires_a_parent_component
18174
+ -------------------------------------------------
18175
+ ------------------------------------------------------------
18176
+ RadioTest: test_radio_throws_error_if_given_improper_options
18177
+ ------------------------------------------------------------
18178
+ --------------------------------------------------------------------------------------------------
18179
+ ExpressTemplates::ResourcefulTest: test_#resource_class_returns_resource_class_option_if_specified
18180
+ --------------------------------------------------------------------------------------------------
18181
+ -----------------------------------------------------------------------------------------
18182
+ ExpressTemplates::ResourcefulTest: test_infers_a_namespace_and_no_prefix_within_an_engine
18183
+ -----------------------------------------------------------------------------------------
18184
+ ---------------------------------------------------------------------------------------------------
18185
+ ExpressTemplates::ResourcefulTest: test_infers_namespace_and_path_prefix_within_an_engine_and_scope
18186
+ ---------------------------------------------------------------------------------------------------
18187
+ ------------------------------------------------------------------------------------------------
18188
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_infers_prefix_within_a_scope_within_an_app
18189
+ ------------------------------------------------------------------------------------------------
18190
+ -----------------------------------------------------------------------------
18191
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_no_prefix_within_an_app
18192
+ -----------------------------------------------------------------------------
18193
+ ------------------------------------------------
18194
+ ProcTest: test_#source_body_handles_funky_bodies
18195
+ ------------------------------------------------
18196
+ ----------------------------------------------------------
18197
+ ProcTest: test_#source_body_raises_exception_for_arity_>_0
18198
+ ----------------------------------------------------------
18199
+ ------------------------------------------------------
18200
+ ProcTest: test_#source_body_returns_the_body_of_a_proc
18201
+ ------------------------------------------------------
18202
+ ----------------------------------------------
18203
+ ProcTest: test_#source_returns_a_proc's_source
18204
+ ----------------------------------------------
18205
+ ---------------------------------------------------------------
18206
+ ProcTest: test_#source_work_with_a_stabby_lambda_spanning_lines
18207
+ ---------------------------------------------------------------
18208
+ ------------------------------------------------------------
18209
+ ProcTest: test_#source_works_with_a_block_containing_a_block
18210
+ ------------------------------------------------------------
18211
+ --------------------------------------------
18212
+ ProcTest: test_#source_works_with_a_do_block
18213
+ --------------------------------------------
18214
+ -----------------------------------------------------
18215
+ ProcTest: test_#source_works_with_a_single_line_block
18216
+ -----------------------------------------------------
18217
+ -------------------------------------------------
18218
+ ProcTest: test_#source_works_with_a_stabby_lambda
18219
+ -------------------------------------------------
18220
+ ----------------------------------------------------------------------------------------
18221
+ ProcTest: test_.from_source_stores_source_of_a_dynamicly_built_proc_for_later_inspection
18222
+ ----------------------------------------------------------------------------------------
18223
+ ---------------------------------------------------------------
18224
+ ExpressFormTest: test_express_form_contents_are_inside_the_form
18225
+ ---------------------------------------------------------------
18226
+ ---------------------------------------------------------
18227
+ ExpressFormTest: test_express_form_default_method_is_POST
18228
+ ---------------------------------------------------------
18229
+ -----------------------------------------------------
18230
+ ExpressFormTest: test_simplest_form_contains_form_tag
18231
+ -----------------------------------------------------
18232
+ ---------------------------------------------------------------
18233
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
18234
+ ---------------------------------------------------------------
18235
+ ---------------------------------------------------
18236
+ ExpressFormTest: test_simplest_form_contains_submit
18237
+ ---------------------------------------------------
18238
+ -------------------------------------------
18239
+ ExpressFormTest: test_simplest_form_renders
18240
+ -------------------------------------------
18241
+ -------------------------------------------------------------------
18242
+ ExpressFormTest: test_simplest_form_uses_form_action_for_the_action
18243
+ -------------------------------------------------------------------
18244
+ ---------------------------------------------------------------------
18245
+ ExpressTemplatesTest: test_ExpressTemplates.render_renders_a_template
18246
+ ---------------------------------------------------------------------
18247
+ -------------------------------------------
18248
+ ExpressTemplatesTest: test_we_have_a_module
18249
+ -------------------------------------------
18250
+ ------------------------------------------------------------------------------------
18251
+ StringTest: test_String#inspect_works_normally_when_#to_view_code_hasn't_been_called
18252
+ ------------------------------------------------------------------------------------
18253
+ --------------------------------------------------------------------------------
18254
+ StringTest: test_String#to_view_code_causes_subsequent_#inspect_to_remove_quotes
18255
+ --------------------------------------------------------------------------------
18256
+ -------------------------------------------------------
18257
+ StringTest: test_String#to_view_code_returns_the_string
18258
+ -------------------------------------------------------
18259
+ -----------------------------------------
18260
+ HelloControllerTest: test_should_get_show
18261
+ -----------------------------------------
18262
+ Processing by HelloController#show as HTML
18263
+ Rendered hello/show.html.et within layouts/application (0.8ms)
18264
+ Completed 200 OK in 122ms (Views: 121.4ms)
18265
+ ---------------------------------------------------------------------
18266
+ ExpressTemplatesTest: test_ExpressTemplates.render_renders_a_template
18267
+ ---------------------------------------------------------------------
18268
+ -------------------------------------------
18269
+ ExpressTemplatesTest: test_we_have_a_module
18270
+ -------------------------------------------
18271
+ --------------------------------------------
18272
+ CompilerTest: test_.compile_returns_a_string
18273
+ --------------------------------------------
18274
+ --------------------------------------------------------------
18275
+ HandlerTest: test_helpers_returning_html_when_alone_in_a_block
18276
+ --------------------------------------------------------------
18277
+ ------------------------------------------------------------------------
18278
+ HandlerTest: test_helpers_returning_html_work_in_sequence_within_a_block
18279
+ ------------------------------------------------------------------------
18280
+ ----------------------------------------------------------
18281
+ HandlerTest: test_html_generates_<h1>Hello</h1>_by_default
18282
+ ----------------------------------------------------------
18283
+ -----------------------------
18284
+ HandlerTest: test_locals_work
18285
+ -----------------------------
18286
+ ------------------------------------------------------------
18287
+ HandlerTest: test_nesting_elements_with_ruby_block_structure
18288
+ ------------------------------------------------------------
18289
+ ----------------------------------
18290
+ HandlerTest: test_other_attributes
18291
+ ----------------------------------
18292
+ -------------------------------------------
18293
+ HandlerTest: test_our_handler_is_registered
18294
+ -------------------------------------------
18295
+ ---------------------------------------
18296
+ HandlerTest: test_string_in_block_works
18297
+ ---------------------------------------
18298
+ -----------------------------------------------------------------------------------------
18299
+ BaseTest: test_.has_markup_makes_compile_return_the_block_passed_through_express_compiled
18300
+ -----------------------------------------------------------------------------------------
18301
+ ----------------------------------------------------------------------
18302
+ BaseTest: test_components_register_themselves_as_arbre_builder_methods
18303
+ ----------------------------------------------------------------------
18304
+ --------------------------------------------------------------------
18305
+ BaseTest: test_helpers_defined_in_component_are_evaluated_in_context
18306
+ --------------------------------------------------------------------
18307
+ -------------------------------------
18308
+ BasicFieldsTest: test_all_fields_work
18309
+ -------------------------------------
18310
+ ---------------------------------------------------------------------------------
18311
+ BasicFieldsTest: test_hidden_field_passes_additional_html_options_to_rails_helper
18312
+ ---------------------------------------------------------------------------------
18313
+ ---------------------------------------------------------
18314
+ BasicFieldsTest: test_hidden_uses_rails_hidden_tag_helper
18315
+ ---------------------------------------------------------
18316
+ ---------------------------------------------------------
18317
+ BasicFieldsTest: test_passing_html_options_to_fields_work
18318
+ ---------------------------------------------------------
18319
+ -----------------------------------------------------------------------------
18320
+ BasicFieldsTest: test_textarea_passes_additional_html_options_to_rails_helper
18321
+ -----------------------------------------------------------------------------
18322
+ ----------------------------------------------------------
18323
+ BasicFieldsTest: test_textarea_uses_rails_text_area_helper
18324
+ ----------------------------------------------------------
18325
+ ----------------------------------------------------------------
18326
+ SelectTest: test_select_collection_works_using_collection_select
18327
+ ----------------------------------------------------------------
18328
+ ------------------------------------------
18329
+ SelectTest: test_select_comes_with_a_label
18330
+ ------------------------------------------
18331
+ --------------------------------------------------
18332
+ SelectTest: test_select_defaults_can_be_overridden
18333
+ --------------------------------------------------
18334
+ -------------------------------------------------------
18335
+ SelectTest: test_select_defaults_to_include_blank:_true
18336
+ -------------------------------------------------------
18337
+ ------------------------------------------------------------------------
18338
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
18339
+ ------------------------------------------------------------------------
18340
+ --------------------------------------------------------------
18341
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
18342
+ --------------------------------------------------------------
18343
+ -----------------------------------------------------------------------------------------
18344
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
18345
+ -----------------------------------------------------------------------------------------
18346
+ ---------------------------------------------------
18347
+ SelectTest: test_select_requires_a_parent_component
18348
+ ---------------------------------------------------
18349
+ -------------------------------------------------------------------------
18350
+ SelectTest: test_select_uses_options_for_select_when_values_are_specified
18351
+ -------------------------------------------------------------------------
18352
+ ---------------------------------------------------------------------------
18353
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
18354
+ ---------------------------------------------------------------------------
18355
+ -------------------------------------------------------------------------
18356
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
18357
+ -------------------------------------------------------------------------
18358
+ -----------------------------------------
18359
+ HelloControllerTest: test_should_get_show
18360
+ -----------------------------------------
18361
+ Processing by HelloController#show as HTML
18362
+ Rendered hello/show.html.et within layouts/application (0.7ms)
18363
+ Completed 200 OK in 120ms (Views: 120.2ms)
18364
+ ---------------------------------------------------------------
18365
+ ExpressFormTest: test_express_form_contents_are_inside_the_form
18366
+ ---------------------------------------------------------------
18367
+ ---------------------------------------------------------
18368
+ ExpressFormTest: test_express_form_default_method_is_POST
18369
+ ---------------------------------------------------------
18370
+ -----------------------------------------------------
18371
+ ExpressFormTest: test_simplest_form_contains_form_tag
18372
+ -----------------------------------------------------
18373
+ ---------------------------------------------------------------
18374
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
18375
+ ---------------------------------------------------------------
18376
+ ---------------------------------------------------
18377
+ ExpressFormTest: test_simplest_form_contains_submit
18378
+ ---------------------------------------------------
18379
+ -------------------------------------------
18380
+ ExpressFormTest: test_simplest_form_renders
18381
+ -------------------------------------------
18382
+ -------------------------------------------------------------------
18383
+ ExpressFormTest: test_simplest_form_uses_form_action_for_the_action
18384
+ -------------------------------------------------------------------
18385
+ -----------------------------------------------------------
18386
+ RadioTest: test_radio_has_correct_label_field_name_and_text
18387
+ -----------------------------------------------------------
18388
+ ------------------------------------------------------------------
18389
+ RadioTest: test_radio_options_from_collection_when_options_omitted
18390
+ ------------------------------------------------------------------
18391
+ ----------------------------------------------------------
18392
+ RadioTest: test_radio_options_may_be_specified_with_a_hash
18393
+ ----------------------------------------------------------
18394
+ --------------------------------------------------------
18395
+ RadioTest: test_radio_options_present_with_class_'radio'
18396
+ --------------------------------------------------------
18397
+ -------------------------------------------------
18398
+ RadioTest: test_radio_requires_a_parent_component
18399
+ -------------------------------------------------
18400
+ ------------------------------------------------------------
18401
+ RadioTest: test_radio_throws_error_if_given_improper_options
18402
+ ------------------------------------------------------------
18403
+ -------------------------------------------------------------
18404
+ CheckboxTest: test_checkbox_places_the_label_before_the_input
18405
+ -------------------------------------------------------------
18406
+ -------------------------------------------------------
18407
+ CheckboxTest: test_checkbox_respects_label_after:_true_
18408
+ -------------------------------------------------------
18409
+ ------------------------------------------------------------------------------------
18410
+ StringTest: test_String#inspect_works_normally_when_#to_view_code_hasn't_been_called
18411
+ ------------------------------------------------------------------------------------
18412
+ --------------------------------------------------------------------------------
18413
+ StringTest: test_String#to_view_code_causes_subsequent_#inspect_to_remove_quotes
18414
+ --------------------------------------------------------------------------------
18415
+ -------------------------------------------------------
18416
+ StringTest: test_String#to_view_code_returns_the_string
18417
+ -------------------------------------------------------
18418
+ ------------------------------------------------
18419
+ ProcTest: test_#source_body_handles_funky_bodies
18420
+ ------------------------------------------------
18421
+ ----------------------------------------------------------
18422
+ ProcTest: test_#source_body_raises_exception_for_arity_>_0
18423
+ ----------------------------------------------------------
18424
+ ------------------------------------------------------
18425
+ ProcTest: test_#source_body_returns_the_body_of_a_proc
18426
+ ------------------------------------------------------
18427
+ ----------------------------------------------
18428
+ ProcTest: test_#source_returns_a_proc's_source
18429
+ ----------------------------------------------
18430
+ ---------------------------------------------------------------
18431
+ ProcTest: test_#source_work_with_a_stabby_lambda_spanning_lines
18432
+ ---------------------------------------------------------------
18433
+ ------------------------------------------------------------
18434
+ ProcTest: test_#source_works_with_a_block_containing_a_block
18435
+ ------------------------------------------------------------
18436
+ --------------------------------------------
18437
+ ProcTest: test_#source_works_with_a_do_block
18438
+ --------------------------------------------
18439
+ -----------------------------------------------------
18440
+ ProcTest: test_#source_works_with_a_single_line_block
18441
+ -----------------------------------------------------
18442
+ -------------------------------------------------
18443
+ ProcTest: test_#source_works_with_a_stabby_lambda
18444
+ -------------------------------------------------
18445
+ ----------------------------------------------------------------------------------------
18446
+ ProcTest: test_.from_source_stores_source_of_a_dynamicly_built_proc_for_later_inspection
18447
+ ----------------------------------------------------------------------------------------
18448
+ ----------------------------------------------------
18449
+ SubmitTest: test_submit_takes_string_param_for_value
18450
+ ----------------------------------------------------
18451
+ --------------------------------------------------------------------------------------------------
18452
+ ExpressTemplates::ResourcefulTest: test_#resource_class_returns_resource_class_option_if_specified
18453
+ --------------------------------------------------------------------------------------------------
18454
+ -----------------------------------------------------------------------------------------
18455
+ ExpressTemplates::ResourcefulTest: test_infers_a_namespace_and_no_prefix_within_an_engine
18456
+ -----------------------------------------------------------------------------------------
18457
+ ---------------------------------------------------------------------------------------------------
18458
+ ExpressTemplates::ResourcefulTest: test_infers_namespace_and_path_prefix_within_an_engine_and_scope
18459
+ ---------------------------------------------------------------------------------------------------
18460
+ ------------------------------------------------------------------------------------------------
18461
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_infers_prefix_within_a_scope_within_an_app
18462
+ ------------------------------------------------------------------------------------------------
18463
+ -----------------------------------------------------------------------------
18464
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_no_prefix_within_an_app
18465
+ -----------------------------------------------------------------------------
18466
+ ------------------------------------------------------------------------------------
18467
+ InterpolatorTest: test_"{{some_{{thing}}_foo}}"_transforms_to_"#{some_#{thing}_foo}"
18468
+ ------------------------------------------------------------------------------------
18469
+ -------------------------------------------------------------------
18470
+ InterpolatorTest: test_"{{something}}"_transforms_to_"#{something}"
18471
+ -------------------------------------------------------------------
18472
+ ---------------------------------------------------------------------
18473
+ InterpolatorTest: test_'a_lot_of_{{something_"{{good}}"}}'_transforms
18474
+ ---------------------------------------------------------------------
18475
+ ---------------------------------------------------------------------
18476
+ InterpolatorTest: test_nested_with_multiple_nested_expressions_parses
18477
+ ---------------------------------------------------------------------
18478
+ ----------------------------------------------------
18479
+ InterpolatorTest: test_nested_with_outer_text_parses
18480
+ ----------------------------------------------------
18481
+ -------------------------------------------------------
18482
+ InterpolatorTest: test_nested_without_outer_text_parses
18483
+ -------------------------------------------------------
18484
+ ---------------------------------------------------------------------
18485
+ InterpolatorTest: test_simple_expression_with_surrounding_text_parses
18486
+ ---------------------------------------------------------------------
18487
+ -------------------------------------------------
18488
+ InterpolatorTest: test_simplest_expression_parses
18489
+ -------------------------------------------------
18490
+ ----------------------------------------------------------------------------
18491
+ ConfigurableTest: test_a_configurable_component_may_have_also_be_a_container
18492
+ ----------------------------------------------------------------------------
18493
+ ----------------------------------------------------
18494
+ ConfigurableTest: test_renders_id_argument_as_dom_id
18495
+ ----------------------------------------------------
18496
+ ---------------------------------------------------------------------------------------------
18497
+ IndenterTest: test_.for(:name)_returns_current_indent_without_newline_when_block_is_not_given
18498
+ ---------------------------------------------------------------------------------------------
18499
+ -----------------------------------------------------------------
18500
+ IndenterTest: test_.for(:name)_takes_a_block_receiving_whitespace
18501
+ -----------------------------------------------------------------
18502
+ ------------------------------------------------------------------
18503
+ IndenterTest: test_nesting_blocks_increases_whitespace_accordingly
18504
+ ------------------------------------------------------------------
18505
+ ---------------------------------------------------------------
18506
+ ExpressFormTest: test_express_form_contents_are_inside_the_form
18507
+ ---------------------------------------------------------------
18508
+ ---------------------------------------------------------
18509
+ ExpressFormTest: test_express_form_default_method_is_POST
18510
+ ---------------------------------------------------------
18511
+ -----------------------------------------------------
18512
+ ExpressFormTest: test_simplest_form_contains_form_tag
18513
+ -----------------------------------------------------
18514
+ ---------------------------------------------------------------
18515
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
18516
+ ---------------------------------------------------------------
18517
+ ---------------------------------------------------
18518
+ ExpressFormTest: test_simplest_form_contains_submit
18519
+ ---------------------------------------------------
18520
+ -------------------------------------------
18521
+ ExpressFormTest: test_simplest_form_renders
18522
+ -------------------------------------------
18523
+ -------------------------------------------------------------------
18524
+ ExpressFormTest: test_simplest_form_uses_form_action_for_the_action
18525
+ -------------------------------------------------------------------
18526
+ --------------------------------------------------------------------------------------------------
18527
+ ExpressTemplates::ResourcefulTest: test_#resource_class_returns_resource_class_option_if_specified
18528
+ --------------------------------------------------------------------------------------------------
18529
+ -----------------------------------------------------------------------------------------
18530
+ ExpressTemplates::ResourcefulTest: test_infers_a_namespace_and_no_prefix_within_an_engine
18531
+ -----------------------------------------------------------------------------------------
18532
+ ---------------------------------------------------------------------------------------------------
18533
+ ExpressTemplates::ResourcefulTest: test_infers_namespace_and_path_prefix_within_an_engine_and_scope
18534
+ ---------------------------------------------------------------------------------------------------
18535
+ ------------------------------------------------------------------------------------------------
18536
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_infers_prefix_within_a_scope_within_an_app
18537
+ ------------------------------------------------------------------------------------------------
18538
+ -----------------------------------------------------------------------------
18539
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_no_prefix_within_an_app
18540
+ -----------------------------------------------------------------------------
18541
+ -----------------------------------------------------------------------------------------
18542
+ BaseTest: test_.has_markup_makes_compile_return_the_block_passed_through_express_compiled
18543
+ -----------------------------------------------------------------------------------------
18544
+ ----------------------------------------------------------------------
18545
+ BaseTest: test_components_register_themselves_as_arbre_builder_methods
18546
+ ----------------------------------------------------------------------
18547
+ --------------------------------------------------------------------
18548
+ BaseTest: test_helpers_defined_in_component_are_evaluated_in_context
18549
+ --------------------------------------------------------------------
18550
+ ------------------------------------------------------------------------------------
18551
+ StringTest: test_String#inspect_works_normally_when_#to_view_code_hasn't_been_called
18552
+ ------------------------------------------------------------------------------------
18553
+ --------------------------------------------------------------------------------
18554
+ StringTest: test_String#to_view_code_causes_subsequent_#inspect_to_remove_quotes
18555
+ --------------------------------------------------------------------------------
18556
+ -------------------------------------------------------
18557
+ StringTest: test_String#to_view_code_returns_the_string
18558
+ -------------------------------------------------------
18559
+ ------------------------------------------------------------------------------------
18560
+ InterpolatorTest: test_"{{some_{{thing}}_foo}}"_transforms_to_"#{some_#{thing}_foo}"
18561
+ ------------------------------------------------------------------------------------
18562
+ -------------------------------------------------------------------
18563
+ InterpolatorTest: test_"{{something}}"_transforms_to_"#{something}"
18564
+ -------------------------------------------------------------------
18565
+ ---------------------------------------------------------------------
18566
+ InterpolatorTest: test_'a_lot_of_{{something_"{{good}}"}}'_transforms
18567
+ ---------------------------------------------------------------------
18568
+ ---------------------------------------------------------------------
18569
+ InterpolatorTest: test_nested_with_multiple_nested_expressions_parses
18570
+ ---------------------------------------------------------------------
18571
+ ----------------------------------------------------
18572
+ InterpolatorTest: test_nested_with_outer_text_parses
18573
+ ----------------------------------------------------
18574
+ -------------------------------------------------------
18575
+ InterpolatorTest: test_nested_without_outer_text_parses
18576
+ -------------------------------------------------------
18577
+ ---------------------------------------------------------------------
18578
+ InterpolatorTest: test_simple_expression_with_surrounding_text_parses
18579
+ ---------------------------------------------------------------------
18580
+ -------------------------------------------------
18581
+ InterpolatorTest: test_simplest_expression_parses
18582
+ -------------------------------------------------
18583
+ -----------------------------------------------------------
18584
+ RadioTest: test_radio_has_correct_label_field_name_and_text
18585
+ -----------------------------------------------------------
18586
+ ------------------------------------------------------------------
18587
+ RadioTest: test_radio_options_from_collection_when_options_omitted
18588
+ ------------------------------------------------------------------
18589
+ ----------------------------------------------------------
18590
+ RadioTest: test_radio_options_may_be_specified_with_a_hash
18591
+ ----------------------------------------------------------
18592
+ --------------------------------------------------------
18593
+ RadioTest: test_radio_options_present_with_class_'radio'
18594
+ --------------------------------------------------------
18595
+ -------------------------------------------------
18596
+ RadioTest: test_radio_requires_a_parent_component
18597
+ -------------------------------------------------
18598
+ ------------------------------------------------------------
18599
+ RadioTest: test_radio_throws_error_if_given_improper_options
18600
+ ------------------------------------------------------------
18601
+ ---------------------------------------------------------------------------------------------
18602
+ IndenterTest: test_.for(:name)_returns_current_indent_without_newline_when_block_is_not_given
18603
+ ---------------------------------------------------------------------------------------------
18604
+ -----------------------------------------------------------------
18605
+ IndenterTest: test_.for(:name)_takes_a_block_receiving_whitespace
18606
+ -----------------------------------------------------------------
18607
+ ------------------------------------------------------------------
18608
+ IndenterTest: test_nesting_blocks_increases_whitespace_accordingly
18609
+ ------------------------------------------------------------------
18610
+ -------------------------------------
18611
+ BasicFieldsTest: test_all_fields_work
18612
+ -------------------------------------
18613
+ ---------------------------------------------------------------------------------
18614
+ BasicFieldsTest: test_hidden_field_passes_additional_html_options_to_rails_helper
18615
+ ---------------------------------------------------------------------------------
18616
+ ---------------------------------------------------------
18617
+ BasicFieldsTest: test_hidden_uses_rails_hidden_tag_helper
18618
+ ---------------------------------------------------------
18619
+ ---------------------------------------------------------
18620
+ BasicFieldsTest: test_passing_html_options_to_fields_work
18621
+ ---------------------------------------------------------
18622
+ -----------------------------------------------------------------------------
18623
+ BasicFieldsTest: test_textarea_passes_additional_html_options_to_rails_helper
18624
+ -----------------------------------------------------------------------------
18625
+ ----------------------------------------------------------
18626
+ BasicFieldsTest: test_textarea_uses_rails_text_area_helper
18627
+ ----------------------------------------------------------
18628
+ --------------------------------------------------------------
18629
+ HandlerTest: test_helpers_returning_html_when_alone_in_a_block
18630
+ --------------------------------------------------------------
18631
+ ------------------------------------------------------------------------
18632
+ HandlerTest: test_helpers_returning_html_work_in_sequence_within_a_block
18633
+ ------------------------------------------------------------------------
18634
+ ----------------------------------------------------------
18635
+ HandlerTest: test_html_generates_<h1>Hello</h1>_by_default
18636
+ ----------------------------------------------------------
18637
+ -----------------------------
18638
+ HandlerTest: test_locals_work
18639
+ -----------------------------
18640
+ ------------------------------------------------------------
18641
+ HandlerTest: test_nesting_elements_with_ruby_block_structure
18642
+ ------------------------------------------------------------
18643
+ ----------------------------------
18644
+ HandlerTest: test_other_attributes
18645
+ ----------------------------------
18646
+ -------------------------------------------
18647
+ HandlerTest: test_our_handler_is_registered
18648
+ -------------------------------------------
18649
+ ---------------------------------------
18650
+ HandlerTest: test_string_in_block_works
18651
+ ---------------------------------------
18652
+ --------------------------------------------
18653
+ CompilerTest: test_.compile_returns_a_string
18654
+ --------------------------------------------
18655
+ ----------------------------------------------------------------------------
18656
+ ConfigurableTest: test_a_configurable_component_may_have_also_be_a_container
18657
+ ----------------------------------------------------------------------------
18658
+ ----------------------------------------------------
18659
+ ConfigurableTest: test_renders_id_argument_as_dom_id
18660
+ ----------------------------------------------------
18661
+ -----------------------------------------
18662
+ HelloControllerTest: test_should_get_show
18663
+ -----------------------------------------
18664
+ Processing by HelloController#show as HTML
18665
+ Rendered hello/show.html.et within layouts/application (0.5ms)
18666
+ Completed 200 OK in 117ms (Views: 116.4ms)
18667
+ ----------------------------------------------------
18668
+ SubmitTest: test_submit_takes_string_param_for_value
18669
+ ----------------------------------------------------
18670
+ ----------------------------------------------------------------
18671
+ SelectTest: test_select_collection_works_using_collection_select
18672
+ ----------------------------------------------------------------
18673
+ ------------------------------------------
18674
+ SelectTest: test_select_comes_with_a_label
18675
+ ------------------------------------------
18676
+ --------------------------------------------------
18677
+ SelectTest: test_select_defaults_can_be_overridden
18678
+ --------------------------------------------------
18679
+ -------------------------------------------------------
18680
+ SelectTest: test_select_defaults_to_include_blank:_true
18681
+ -------------------------------------------------------
18682
+ ------------------------------------------------------------------------
18683
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
18684
+ ------------------------------------------------------------------------
18685
+ --------------------------------------------------------------
18686
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
18687
+ --------------------------------------------------------------
18688
+ -----------------------------------------------------------------------------------------
18689
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
18690
+ -----------------------------------------------------------------------------------------
18691
+ ---------------------------------------------------
18692
+ SelectTest: test_select_requires_a_parent_component
18693
+ ---------------------------------------------------
18694
+ -------------------------------------------------------------------------
18695
+ SelectTest: test_select_uses_options_for_select_when_values_are_specified
18696
+ -------------------------------------------------------------------------
18697
+ ---------------------------------------------------------------------------
18698
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
18699
+ ---------------------------------------------------------------------------
18700
+ -------------------------------------------------------------------------
18701
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
18702
+ -------------------------------------------------------------------------
18703
+ -------------------------------------------------------------
18704
+ CheckboxTest: test_checkbox_places_the_label_before_the_input
18705
+ -------------------------------------------------------------
18706
+ -------------------------------------------------------
18707
+ CheckboxTest: test_checkbox_respects_label_after:_true_
18708
+ -------------------------------------------------------
18709
+ ---------------------------------------------------------------------
18710
+ ExpressTemplatesTest: test_ExpressTemplates.render_renders_a_template
18711
+ ---------------------------------------------------------------------
18712
+ -------------------------------------------
18713
+ ExpressTemplatesTest: test_we_have_a_module
18714
+ -------------------------------------------
18715
+ ------------------------------------------------
18716
+ ProcTest: test_#source_body_handles_funky_bodies
18717
+ ------------------------------------------------
18718
+ ----------------------------------------------------------
18719
+ ProcTest: test_#source_body_raises_exception_for_arity_>_0
18720
+ ----------------------------------------------------------
18721
+ ------------------------------------------------------
18722
+ ProcTest: test_#source_body_returns_the_body_of_a_proc
18723
+ ------------------------------------------------------
18724
+ ----------------------------------------------
18725
+ ProcTest: test_#source_returns_a_proc's_source
18726
+ ----------------------------------------------
18727
+ ---------------------------------------------------------------
18728
+ ProcTest: test_#source_work_with_a_stabby_lambda_spanning_lines
18729
+ ---------------------------------------------------------------
18730
+ ------------------------------------------------------------
18731
+ ProcTest: test_#source_works_with_a_block_containing_a_block
18732
+ ------------------------------------------------------------
18733
+ --------------------------------------------
18734
+ ProcTest: test_#source_works_with_a_do_block
18735
+ --------------------------------------------
18736
+ -----------------------------------------------------
18737
+ ProcTest: test_#source_works_with_a_single_line_block
18738
+ -----------------------------------------------------
18739
+ -------------------------------------------------
18740
+ ProcTest: test_#source_works_with_a_stabby_lambda
18741
+ -------------------------------------------------
18742
+ ----------------------------------------------------------------------------------------
18743
+ ProcTest: test_.from_source_stores_source_of_a_dynamicly_built_proc_for_later_inspection
18744
+ ----------------------------------------------------------------------------------------
18745
+ --------------------------------------------------------------
18746
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
18747
+ --------------------------------------------------------------
18748
+ --------------------------------------------------------------
18749
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
18750
+ --------------------------------------------------------------
18751
+ --------------------------------------------------------------
18752
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
18753
+ --------------------------------------------------------------
18754
+ --------------------------------------------------------------
18755
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
18756
+ --------------------------------------------------------------
18757
+ --------------------------------------------------------------
18758
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
18759
+ --------------------------------------------------------------
18760
+ --------------------------------------------------------------
18761
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
18762
+ --------------------------------------------------------------
18763
+ --------------------------------------------------------------
18764
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
18765
+ --------------------------------------------------------------
18766
+ --------------------------------------------------------------
18767
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
18768
+ --------------------------------------------------------------
18769
+ ----------------------------------------------------------------
18770
+ SelectTest: test_select_collection_works_using_collection_select
18771
+ ----------------------------------------------------------------
18772
+ ------------------------------------------
18773
+ SelectTest: test_select_comes_with_a_label
18774
+ ------------------------------------------
18775
+ ----------------------------------------------------------------
18776
+ SelectTest: test_select_collection_works_using_collection_select
18777
+ ----------------------------------------------------------------
18778
+ ------------------------------------------
18779
+ SelectTest: test_select_comes_with_a_label
18780
+ ------------------------------------------
18781
+ --------------------------------------------------
18782
+ SelectTest: test_select_defaults_can_be_overridden
18783
+ --------------------------------------------------
18784
+ -------------------------------------------------------
18785
+ SelectTest: test_select_defaults_to_include_blank:_true
18786
+ -------------------------------------------------------
18787
+ ------------------------------------------------------------------------
18788
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
18789
+ ------------------------------------------------------------------------
18790
+ --------------------------------------------------------------
18791
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
18792
+ --------------------------------------------------------------
18793
+ -----------------------------------------------------------------------------------------
18794
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
18795
+ -----------------------------------------------------------------------------------------
18796
+ ---------------------------------------------------
18797
+ SelectTest: test_select_requires_a_parent_component
18798
+ ---------------------------------------------------
18799
+ -------------------------------------------------------------------------
18800
+ SelectTest: test_select_uses_options_for_select_when_values_are_specified
18801
+ -------------------------------------------------------------------------
18802
+ ---------------------------------------------------------------------------
18803
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
18804
+ ---------------------------------------------------------------------------
18805
+ -------------------------------------------------------------------------
18806
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
18807
+ -------------------------------------------------------------------------
18808
+ ----------------------------------------------------------------
18809
+ SelectTest: test_select_collection_works_using_collection_select
18810
+ ----------------------------------------------------------------
18811
+ ------------------------------------------
18812
+ SelectTest: test_select_comes_with_a_label
18813
+ ------------------------------------------
18814
+ --------------------------------------------------
18815
+ SelectTest: test_select_defaults_can_be_overridden
18816
+ --------------------------------------------------
18817
+ -------------------------------------------------------
18818
+ SelectTest: test_select_defaults_to_include_blank:_true
18819
+ -------------------------------------------------------
18820
+ ------------------------------------------------------------------------
18821
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
18822
+ ------------------------------------------------------------------------
18823
+ --------------------------------------------------------------
18824
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
18825
+ --------------------------------------------------------------
18826
+ -----------------------------------------------------------------------------------------
18827
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
18828
+ -----------------------------------------------------------------------------------------
18829
+ ---------------------------------------------------
18830
+ SelectTest: test_select_requires_a_parent_component
18831
+ ---------------------------------------------------
18832
+ -------------------------------------------------------------------------
18833
+ SelectTest: test_select_uses_options_for_select_when_values_are_specified
18834
+ -------------------------------------------------------------------------
18835
+ ---------------------------------------------------------------------------
18836
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
18837
+ ---------------------------------------------------------------------------
18838
+ -------------------------------------------------------------------------
18839
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
18840
+ -------------------------------------------------------------------------
18841
+ ----------------------------------------------------------------
18842
+ SelectTest: test_select_collection_works_using_collection_select
18843
+ ----------------------------------------------------------------
18844
+ ------------------------------------------
18845
+ SelectTest: test_select_comes_with_a_label
18846
+ ------------------------------------------
18847
+ --------------------------------------------------
18848
+ SelectTest: test_select_defaults_can_be_overridden
18849
+ --------------------------------------------------
18850
+ -------------------------------------------------------
18851
+ SelectTest: test_select_defaults_to_include_blank:_true
18852
+ -------------------------------------------------------
18853
+ ------------------------------------------------------------------------
18854
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
18855
+ ------------------------------------------------------------------------
18856
+ --------------------------------------------------------------
18857
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
18858
+ --------------------------------------------------------------
18859
+ -----------------------------------------------------------------------------------------
18860
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
18861
+ -----------------------------------------------------------------------------------------
18862
+ ---------------------------------------------------
18863
+ SelectTest: test_select_requires_a_parent_component
18864
+ ---------------------------------------------------
18865
+ -------------------------------------------------------------------------
18866
+ SelectTest: test_select_uses_options_for_select_when_values_are_specified
18867
+ -------------------------------------------------------------------------
18868
+ ---------------------------------------------------------------------------
18869
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
18870
+ ---------------------------------------------------------------------------
18871
+ -------------------------------------------------------------------------
18872
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
18873
+ -------------------------------------------------------------------------
18874
+ ----------------------------------------------------------------
18875
+ SelectTest: test_select_collection_works_using_collection_select
18876
+ ----------------------------------------------------------------
18877
+ ------------------------------------------
18878
+ SelectTest: test_select_comes_with_a_label
18879
+ ------------------------------------------
18880
+ --------------------------------------------------
18881
+ SelectTest: test_select_defaults_can_be_overridden
18882
+ --------------------------------------------------
18883
+ -------------------------------------------------------
18884
+ SelectTest: test_select_defaults_to_include_blank:_true
18885
+ -------------------------------------------------------
18886
+ ------------------------------------------------------------------------
18887
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
18888
+ ------------------------------------------------------------------------
18889
+ --------------------------------------------------------------
18890
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
18891
+ --------------------------------------------------------------
18892
+ -----------------------------------------------------------------------------------------
18893
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
18894
+ -----------------------------------------------------------------------------------------
18895
+ ---------------------------------------------------
18896
+ SelectTest: test_select_requires_a_parent_component
18897
+ ---------------------------------------------------
18898
+ -------------------------------------------------------------------------
18899
+ SelectTest: test_select_uses_options_for_select_when_values_are_specified
18900
+ -------------------------------------------------------------------------
18901
+ ---------------------------------------------------------------------------
18902
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
18903
+ ---------------------------------------------------------------------------
18904
+ -------------------------------------------------------------------------
18905
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
18906
+ -------------------------------------------------------------------------
18907
+ ----------------------------------------------------------------
18908
+ SelectTest: test_select_collection_works_using_collection_select
18909
+ ----------------------------------------------------------------
18910
+ ------------------------------------------
18911
+ SelectTest: test_select_comes_with_a_label
18912
+ ------------------------------------------
18913
+ --------------------------------------------------
18914
+ SelectTest: test_select_defaults_can_be_overridden
18915
+ --------------------------------------------------
18916
+ -------------------------------------------------------
18917
+ SelectTest: test_select_defaults_to_include_blank:_true
18918
+ -------------------------------------------------------
18919
+ ------------------------------------------------------------------------
18920
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
18921
+ ------------------------------------------------------------------------
18922
+ --------------------------------------------------------------
18923
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
18924
+ --------------------------------------------------------------
18925
+ -----------------------------------------------------------------------------------------
18926
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
18927
+ -----------------------------------------------------------------------------------------
18928
+ ---------------------------------------------------
18929
+ SelectTest: test_select_requires_a_parent_component
18930
+ ---------------------------------------------------
18931
+ -------------------------------------------------------------------------
18932
+ SelectTest: test_select_uses_options_for_select_when_values_are_specified
18933
+ -------------------------------------------------------------------------
18934
+ ---------------------------------------------------------------------------
18935
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
18936
+ ---------------------------------------------------------------------------
18937
+ -------------------------------------------------------------------------
18938
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
18939
+ -------------------------------------------------------------------------
18940
+ ----------------------------------------------------------------
18941
+ SelectTest: test_select_collection_works_using_collection_select
18942
+ ----------------------------------------------------------------
18943
+ ------------------------------------------
18944
+ SelectTest: test_select_comes_with_a_label
18945
+ ------------------------------------------
18946
+ --------------------------------------------------
18947
+ SelectTest: test_select_defaults_can_be_overridden
18948
+ --------------------------------------------------
18949
+ -------------------------------------------------------
18950
+ SelectTest: test_select_defaults_to_include_blank:_true
18951
+ -------------------------------------------------------
18952
+ ------------------------------------------------------------------------
18953
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
18954
+ ------------------------------------------------------------------------
18955
+ --------------------------------------------------------------
18956
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
18957
+ --------------------------------------------------------------
18958
+ -----------------------------------------------------------------------------------------
18959
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
18960
+ -----------------------------------------------------------------------------------------
18961
+ ---------------------------------------------------
18962
+ SelectTest: test_select_requires_a_parent_component
18963
+ ---------------------------------------------------
18964
+ -------------------------------------------------------------------------
18965
+ SelectTest: test_select_uses_options_for_select_when_values_are_specified
18966
+ -------------------------------------------------------------------------
18967
+ ---------------------------------------------------------------------------
18968
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
18969
+ ---------------------------------------------------------------------------
18970
+ -------------------------------------------------------------------------
18971
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
18972
+ -------------------------------------------------------------------------
18973
+ --------------------------------------------------
18974
+ SelectTest: test_select_defaults_can_be_overridden
18975
+ --------------------------------------------------
18976
+ --------------------------------------------------
18977
+ SelectTest: test_select_defaults_can_be_overridden
18978
+ --------------------------------------------------
18979
+ ----------------------------------------------------------------
18980
+ SelectTest: test_select_collection_works_using_collection_select
18981
+ ----------------------------------------------------------------
18982
+ ------------------------------------------
18983
+ SelectTest: test_select_comes_with_a_label
18984
+ ------------------------------------------
18985
+ --------------------------------------------------
18986
+ SelectTest: test_select_defaults_can_be_overridden
18987
+ --------------------------------------------------
18988
+ -------------------------------------------------------
18989
+ SelectTest: test_select_defaults_to_include_blank:_true
18990
+ -------------------------------------------------------
18991
+ ------------------------------------------------------------------------
18992
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
18993
+ ------------------------------------------------------------------------
18994
+ --------------------------------------------------------------
18995
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
18996
+ --------------------------------------------------------------
18997
+ -----------------------------------------------------------------------------------------
18998
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
18999
+ -----------------------------------------------------------------------------------------
19000
+ ---------------------------------------------------
19001
+ SelectTest: test_select_requires_a_parent_component
19002
+ ---------------------------------------------------
19003
+ -------------------------------------------------------------------------
19004
+ SelectTest: test_select_uses_options_for_select_when_values_are_specified
19005
+ -------------------------------------------------------------------------
19006
+ ---------------------------------------------------------------------------
19007
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
19008
+ ---------------------------------------------------------------------------
19009
+ -------------------------------------------------------------------------
19010
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
19011
+ -------------------------------------------------------------------------
19012
+ ----------------------------------------------------------------
19013
+ SelectTest: test_select_collection_works_using_collection_select
19014
+ ----------------------------------------------------------------
19015
+ ------------------------------------------
19016
+ SelectTest: test_select_comes_with_a_label
19017
+ ------------------------------------------
19018
+ --------------------------------------------------
19019
+ SelectTest: test_select_defaults_can_be_overridden
19020
+ --------------------------------------------------
19021
+ -------------------------------------------------------
19022
+ SelectTest: test_select_defaults_to_include_blank:_true
19023
+ -------------------------------------------------------
19024
+ ------------------------------------------------------------------------
19025
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
19026
+ ------------------------------------------------------------------------
19027
+ --------------------------------------------------------------
19028
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
19029
+ --------------------------------------------------------------
19030
+ -----------------------------------------------------------------------------------------
19031
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
19032
+ -----------------------------------------------------------------------------------------
19033
+ ---------------------------------------------------
19034
+ SelectTest: test_select_requires_a_parent_component
19035
+ ---------------------------------------------------
19036
+ -------------------------------------------------------------------------
19037
+ SelectTest: test_select_uses_options_for_select_when_values_are_specified
19038
+ -------------------------------------------------------------------------
19039
+ ---------------------------------------------------------------------------
19040
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
19041
+ ---------------------------------------------------------------------------
19042
+ -------------------------------------------------------------------------
19043
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
19044
+ -------------------------------------------------------------------------
19045
+ -------------------------------------------------------
19046
+ SelectTest: test_select_defaults_to_include_blank:_true
19047
+ -------------------------------------------------------
19048
+ -------------------------------------------------------
19049
+ SelectTest: test_select_defaults_to_include_blank:_true
19050
+ -------------------------------------------------------
19051
+ -------------------------------------------------------
19052
+ SelectTest: test_select_defaults_to_include_blank:_true
19053
+ -------------------------------------------------------
19054
+ -------------------------------------------------------
19055
+ SelectTest: test_select_defaults_to_include_blank:_true
19056
+ -------------------------------------------------------
19057
+ ----------------------------------------------------------------
19058
+ SelectTest: test_select_collection_works_using_collection_select
19059
+ ----------------------------------------------------------------
19060
+ ------------------------------------------
19061
+ SelectTest: test_select_comes_with_a_label
19062
+ ------------------------------------------
19063
+ --------------------------------------------------
19064
+ SelectTest: test_select_defaults_can_be_overridden
19065
+ --------------------------------------------------
19066
+ -------------------------------------------------------
19067
+ SelectTest: test_select_defaults_to_include_blank:_true
19068
+ -------------------------------------------------------
19069
+ ------------------------------------------------------------------------
19070
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
19071
+ ------------------------------------------------------------------------
19072
+ --------------------------------------------------------------
19073
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
19074
+ --------------------------------------------------------------
19075
+ -----------------------------------------------------------------------------------------
19076
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
19077
+ -----------------------------------------------------------------------------------------
19078
+ ---------------------------------------------------
19079
+ SelectTest: test_select_requires_a_parent_component
19080
+ ---------------------------------------------------
19081
+ -------------------------------------------------------------------------
19082
+ SelectTest: test_select_uses_options_for_select_when_values_are_specified
19083
+ -------------------------------------------------------------------------
19084
+ ---------------------------------------------------------------------------
19085
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
19086
+ ---------------------------------------------------------------------------
19087
+ -------------------------------------------------------------------------
19088
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
19089
+ -------------------------------------------------------------------------
19090
+ -------------------------------------------------------------------------
19091
+ SelectTest: test_select_uses_options_for_select_when_values_are_specified
19092
+ -------------------------------------------------------------------------
19093
+ ---------------------------------------------------------------------------
19094
+ SelectTest: test_select_generates_correct_options_when_values_are_specified
19095
+ ---------------------------------------------------------------------------
19096
+ ---------------------------------------------------------------------------
19097
+ SelectTest: test_select_generates_correct_options_when_values_are_specified
19098
+ ---------------------------------------------------------------------------
19099
+ ---------------------------------------------------------------------------
19100
+ SelectTest: test_select_generates_correct_options_when_values_are_specified
19101
+ ---------------------------------------------------------------------------
19102
+ ---------------------------------------------------------------------------
19103
+ SelectTest: test_select_generates_correct_options_when_values_are_specified
19104
+ ---------------------------------------------------------------------------
19105
+ ---------------------------------------------------------------------------
19106
+ SelectTest: test_select_generates_correct_options_when_values_are_specified
19107
+ ---------------------------------------------------------------------------
19108
+ ---------------------------------------------------------------------------
19109
+ SelectTest: test_select_generates_correct_options_when_values_are_specified
19110
+ ---------------------------------------------------------------------------
19111
+ ---------------------------------------------------------------------------
19112
+ SelectTest: test_select_generates_correct_options_when_values_are_specified
19113
+ ---------------------------------------------------------------------------
19114
+ ----------------------------------------------------------------
19115
+ SelectTest: test_select_collection_works_using_collection_select
19116
+ ----------------------------------------------------------------
19117
+ ------------------------------------------
19118
+ SelectTest: test_select_comes_with_a_label
19119
+ ------------------------------------------
19120
+ --------------------------------------------------
19121
+ SelectTest: test_select_defaults_can_be_overridden
19122
+ --------------------------------------------------
19123
+ -------------------------------------------------------
19124
+ SelectTest: test_select_defaults_to_include_blank:_true
19125
+ -------------------------------------------------------
19126
+ ---------------------------------------------------------------------------
19127
+ SelectTest: test_select_generates_correct_options_when_values_are_specified
19128
+ ---------------------------------------------------------------------------
19129
+ ------------------------------------------------------------------------
19130
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
19131
+ ------------------------------------------------------------------------
19132
+ --------------------------------------------------------------
19133
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
19134
+ --------------------------------------------------------------
19135
+ -----------------------------------------------------------------------------------------
19136
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
19137
+ -----------------------------------------------------------------------------------------
19138
+ ---------------------------------------------------
19139
+ SelectTest: test_select_requires_a_parent_component
19140
+ ---------------------------------------------------
19141
+ ---------------------------------------------------------------------------
19142
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
19143
+ ---------------------------------------------------------------------------
19144
+ -------------------------------------------------------------------------
19145
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
19146
+ -------------------------------------------------------------------------
19147
+ --------------------------------------------
19148
+ CompilerTest: test_.compile_returns_a_string
19149
+ --------------------------------------------
19150
+ -----------------------------------------
19151
+ HelloControllerTest: test_should_get_show
19152
+ -----------------------------------------
19153
+ Processing by HelloController#show as HTML
19154
+ Rendered hello/show.html.et within layouts/application (0.5ms)
19155
+ Completed 200 OK in 113ms (Views: 113.1ms)
19156
+ -------------------------------------------------------------
19157
+ CheckboxTest: test_checkbox_places_the_label_before_the_input
19158
+ -------------------------------------------------------------
19159
+ -------------------------------------------------------
19160
+ CheckboxTest: test_checkbox_respects_label_after:_true_
19161
+ -------------------------------------------------------
19162
+ -------------------------------------
19163
+ BasicFieldsTest: test_all_fields_work
19164
+ -------------------------------------
19165
+ ---------------------------------------------------------------------------------
19166
+ BasicFieldsTest: test_hidden_field_passes_additional_html_options_to_rails_helper
19167
+ ---------------------------------------------------------------------------------
19168
+ ---------------------------------------------------------
19169
+ BasicFieldsTest: test_hidden_uses_rails_hidden_tag_helper
19170
+ ---------------------------------------------------------
19171
+ ---------------------------------------------------------
19172
+ BasicFieldsTest: test_passing_html_options_to_fields_work
19173
+ ---------------------------------------------------------
19174
+ -----------------------------------------------------------------------------
19175
+ BasicFieldsTest: test_textarea_passes_additional_html_options_to_rails_helper
19176
+ -----------------------------------------------------------------------------
19177
+ ----------------------------------------------------------
19178
+ BasicFieldsTest: test_textarea_uses_rails_text_area_helper
19179
+ ----------------------------------------------------------
19180
+ -----------------------------------------------------------
19181
+ RadioTest: test_radio_has_correct_label_field_name_and_text
19182
+ -----------------------------------------------------------
19183
+ ------------------------------------------------------------------
19184
+ RadioTest: test_radio_options_from_collection_when_options_omitted
19185
+ ------------------------------------------------------------------
19186
+ ----------------------------------------------------------
19187
+ RadioTest: test_radio_options_may_be_specified_with_a_hash
19188
+ ----------------------------------------------------------
19189
+ --------------------------------------------------------
19190
+ RadioTest: test_radio_options_present_with_class_'radio'
19191
+ --------------------------------------------------------
19192
+ -------------------------------------------------
19193
+ RadioTest: test_radio_requires_a_parent_component
19194
+ -------------------------------------------------
19195
+ ------------------------------------------------------------
19196
+ RadioTest: test_radio_throws_error_if_given_improper_options
19197
+ ------------------------------------------------------------
19198
+ ------------------------------------------------------------------------------------
19199
+ StringTest: test_String#inspect_works_normally_when_#to_view_code_hasn't_been_called
19200
+ ------------------------------------------------------------------------------------
19201
+ --------------------------------------------------------------------------------
19202
+ StringTest: test_String#to_view_code_causes_subsequent_#inspect_to_remove_quotes
19203
+ --------------------------------------------------------------------------------
19204
+ -------------------------------------------------------
19205
+ StringTest: test_String#to_view_code_returns_the_string
19206
+ -------------------------------------------------------
19207
+ ------------------------------------------------------------------------------------
19208
+ InterpolatorTest: test_"{{some_{{thing}}_foo}}"_transforms_to_"#{some_#{thing}_foo}"
19209
+ ------------------------------------------------------------------------------------
19210
+ -------------------------------------------------------------------
19211
+ InterpolatorTest: test_"{{something}}"_transforms_to_"#{something}"
19212
+ -------------------------------------------------------------------
19213
+ ---------------------------------------------------------------------
19214
+ InterpolatorTest: test_'a_lot_of_{{something_"{{good}}"}}'_transforms
19215
+ ---------------------------------------------------------------------
19216
+ ---------------------------------------------------------------------
19217
+ InterpolatorTest: test_nested_with_multiple_nested_expressions_parses
19218
+ ---------------------------------------------------------------------
19219
+ ----------------------------------------------------
19220
+ InterpolatorTest: test_nested_with_outer_text_parses
19221
+ ----------------------------------------------------
19222
+ -------------------------------------------------------
19223
+ InterpolatorTest: test_nested_without_outer_text_parses
19224
+ -------------------------------------------------------
19225
+ ---------------------------------------------------------------------
19226
+ InterpolatorTest: test_simple_expression_with_surrounding_text_parses
19227
+ ---------------------------------------------------------------------
19228
+ -------------------------------------------------
19229
+ InterpolatorTest: test_simplest_expression_parses
19230
+ -------------------------------------------------
19231
+ ---------------------------------------------------------------------
19232
+ ExpressTemplatesTest: test_ExpressTemplates.render_renders_a_template
19233
+ ---------------------------------------------------------------------
19234
+ -------------------------------------------
19235
+ ExpressTemplatesTest: test_we_have_a_module
19236
+ -------------------------------------------
19237
+ -----------------------------------------------------------------------------------------
19238
+ BaseTest: test_.has_markup_makes_compile_return_the_block_passed_through_express_compiled
19239
+ -----------------------------------------------------------------------------------------
19240
+ ----------------------------------------------------------------------
19241
+ BaseTest: test_components_register_themselves_as_arbre_builder_methods
19242
+ ----------------------------------------------------------------------
19243
+ --------------------------------------------------------------------
19244
+ BaseTest: test_helpers_defined_in_component_are_evaluated_in_context
19245
+ --------------------------------------------------------------------
19246
+ ------------------------------------------------
19247
+ ProcTest: test_#source_body_handles_funky_bodies
19248
+ ------------------------------------------------
19249
+ ----------------------------------------------------------
19250
+ ProcTest: test_#source_body_raises_exception_for_arity_>_0
19251
+ ----------------------------------------------------------
19252
+ ------------------------------------------------------
19253
+ ProcTest: test_#source_body_returns_the_body_of_a_proc
19254
+ ------------------------------------------------------
19255
+ ----------------------------------------------
19256
+ ProcTest: test_#source_returns_a_proc's_source
19257
+ ----------------------------------------------
19258
+ ---------------------------------------------------------------
19259
+ ProcTest: test_#source_work_with_a_stabby_lambda_spanning_lines
19260
+ ---------------------------------------------------------------
19261
+ ------------------------------------------------------------
19262
+ ProcTest: test_#source_works_with_a_block_containing_a_block
19263
+ ------------------------------------------------------------
19264
+ --------------------------------------------
19265
+ ProcTest: test_#source_works_with_a_do_block
19266
+ --------------------------------------------
19267
+ -----------------------------------------------------
19268
+ ProcTest: test_#source_works_with_a_single_line_block
19269
+ -----------------------------------------------------
19270
+ -------------------------------------------------
19271
+ ProcTest: test_#source_works_with_a_stabby_lambda
19272
+ -------------------------------------------------
19273
+ ----------------------------------------------------------------------------------------
19274
+ ProcTest: test_.from_source_stores_source_of_a_dynamicly_built_proc_for_later_inspection
19275
+ ----------------------------------------------------------------------------------------
19276
+ ---------------------------------------------------------------------------------------------
19277
+ IndenterTest: test_.for(:name)_returns_current_indent_without_newline_when_block_is_not_given
19278
+ ---------------------------------------------------------------------------------------------
19279
+ -----------------------------------------------------------------
19280
+ IndenterTest: test_.for(:name)_takes_a_block_receiving_whitespace
19281
+ -----------------------------------------------------------------
19282
+ ------------------------------------------------------------------
19283
+ IndenterTest: test_nesting_blocks_increases_whitespace_accordingly
19284
+ ------------------------------------------------------------------
19285
+ --------------------------------------------------------------
19286
+ HandlerTest: test_helpers_returning_html_when_alone_in_a_block
19287
+ --------------------------------------------------------------
19288
+ ------------------------------------------------------------------------
19289
+ HandlerTest: test_helpers_returning_html_work_in_sequence_within_a_block
19290
+ ------------------------------------------------------------------------
19291
+ ----------------------------------------------------------
19292
+ HandlerTest: test_html_generates_<h1>Hello</h1>_by_default
19293
+ ----------------------------------------------------------
19294
+ -----------------------------
19295
+ HandlerTest: test_locals_work
19296
+ -----------------------------
19297
+ ------------------------------------------------------------
19298
+ HandlerTest: test_nesting_elements_with_ruby_block_structure
19299
+ ------------------------------------------------------------
19300
+ ----------------------------------
19301
+ HandlerTest: test_other_attributes
19302
+ ----------------------------------
19303
+ -------------------------------------------
19304
+ HandlerTest: test_our_handler_is_registered
19305
+ -------------------------------------------
19306
+ ---------------------------------------
19307
+ HandlerTest: test_string_in_block_works
19308
+ ---------------------------------------
19309
+ ---------------------------------------------------------------
19310
+ ExpressFormTest: test_express_form_contents_are_inside_the_form
19311
+ ---------------------------------------------------------------
19312
+ ---------------------------------------------------------
19313
+ ExpressFormTest: test_express_form_default_method_is_POST
19314
+ ---------------------------------------------------------
19315
+ -----------------------------------------------------
19316
+ ExpressFormTest: test_simplest_form_contains_form_tag
19317
+ -----------------------------------------------------
19318
+ ---------------------------------------------------------------
19319
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
19320
+ ---------------------------------------------------------------
19321
+ ---------------------------------------------------
19322
+ ExpressFormTest: test_simplest_form_contains_submit
19323
+ ---------------------------------------------------
19324
+ -------------------------------------------
19325
+ ExpressFormTest: test_simplest_form_renders
19326
+ -------------------------------------------
19327
+ -------------------------------------------------------------------
19328
+ ExpressFormTest: test_simplest_form_uses_form_action_for_the_action
19329
+ -------------------------------------------------------------------
19330
+ ----------------------------------------------------------------------------
19331
+ ConfigurableTest: test_a_configurable_component_may_have_also_be_a_container
19332
+ ----------------------------------------------------------------------------
19333
+ ----------------------------------------------------
19334
+ ConfigurableTest: test_renders_id_argument_as_dom_id
19335
+ ----------------------------------------------------
19336
+ ----------------------------------------------------------------
19337
+ SelectTest: test_select_collection_works_using_collection_select
19338
+ ----------------------------------------------------------------
19339
+ ------------------------------------------
19340
+ SelectTest: test_select_comes_with_a_label
19341
+ ------------------------------------------
19342
+ --------------------------------------------------
19343
+ SelectTest: test_select_defaults_can_be_overridden
19344
+ --------------------------------------------------
19345
+ -------------------------------------------------------
19346
+ SelectTest: test_select_defaults_to_include_blank:_true
19347
+ -------------------------------------------------------
19348
+ ---------------------------------------------------------------------------
19349
+ SelectTest: test_select_generates_correct_options_when_values_are_specified
19350
+ ---------------------------------------------------------------------------
19351
+ ------------------------------------------------------------------------
19352
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
19353
+ ------------------------------------------------------------------------
19354
+ --------------------------------------------------------------
19355
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
19356
+ --------------------------------------------------------------
19357
+ -----------------------------------------------------------------------------------------
19358
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
19359
+ -----------------------------------------------------------------------------------------
19360
+ ---------------------------------------------------
19361
+ SelectTest: test_select_requires_a_parent_component
19362
+ ---------------------------------------------------
19363
+ ---------------------------------------------------------------------------
19364
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
19365
+ ---------------------------------------------------------------------------
19366
+ -------------------------------------------------------------------------
19367
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
19368
+ -------------------------------------------------------------------------
19369
+ --------------------------------------------------------------------------------------------------
19370
+ ExpressTemplates::ResourcefulTest: test_#resource_class_returns_resource_class_option_if_specified
19371
+ --------------------------------------------------------------------------------------------------
19372
+ -----------------------------------------------------------------------------------------
19373
+ ExpressTemplates::ResourcefulTest: test_infers_a_namespace_and_no_prefix_within_an_engine
19374
+ -----------------------------------------------------------------------------------------
19375
+ ---------------------------------------------------------------------------------------------------
19376
+ ExpressTemplates::ResourcefulTest: test_infers_namespace_and_path_prefix_within_an_engine_and_scope
19377
+ ---------------------------------------------------------------------------------------------------
19378
+ ------------------------------------------------------------------------------------------------
19379
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_infers_prefix_within_a_scope_within_an_app
19380
+ ------------------------------------------------------------------------------------------------
19381
+ -----------------------------------------------------------------------------
19382
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_no_prefix_within_an_app
19383
+ -----------------------------------------------------------------------------
19384
+ ----------------------------------------------------
19385
+ SubmitTest: test_submit_takes_string_param_for_value
19386
+ ----------------------------------------------------
19387
+ ---------------------------------------------------------------------------------------------
19388
+ IndenterTest: test_.for(:name)_returns_current_indent_without_newline_when_block_is_not_given
19389
+ ---------------------------------------------------------------------------------------------
19390
+ -----------------------------------------------------------------
19391
+ IndenterTest: test_.for(:name)_takes_a_block_receiving_whitespace
19392
+ -----------------------------------------------------------------
19393
+ ------------------------------------------------------------------
19394
+ IndenterTest: test_nesting_blocks_increases_whitespace_accordingly
19395
+ ------------------------------------------------------------------
19396
+ --------------------------------------------------------------------------------------------------
19397
+ ExpressTemplates::ResourcefulTest: test_#resource_class_returns_resource_class_option_if_specified
19398
+ --------------------------------------------------------------------------------------------------
19399
+ -----------------------------------------------------------------------------------------
19400
+ ExpressTemplates::ResourcefulTest: test_infers_a_namespace_and_no_prefix_within_an_engine
19401
+ -----------------------------------------------------------------------------------------
19402
+ ---------------------------------------------------------------------------------------------------
19403
+ ExpressTemplates::ResourcefulTest: test_infers_namespace_and_path_prefix_within_an_engine_and_scope
19404
+ ---------------------------------------------------------------------------------------------------
19405
+ ------------------------------------------------------------------------------------------------
19406
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_infers_prefix_within_a_scope_within_an_app
19407
+ ------------------------------------------------------------------------------------------------
19408
+ -----------------------------------------------------------------------------
19409
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_no_prefix_within_an_app
19410
+ -----------------------------------------------------------------------------
19411
+ ------------------------------------------------------------------------------------
19412
+ InterpolatorTest: test_"{{some_{{thing}}_foo}}"_transforms_to_"#{some_#{thing}_foo}"
19413
+ ------------------------------------------------------------------------------------
19414
+ -------------------------------------------------------------------
19415
+ InterpolatorTest: test_"{{something}}"_transforms_to_"#{something}"
19416
+ -------------------------------------------------------------------
19417
+ ---------------------------------------------------------------------
19418
+ InterpolatorTest: test_'a_lot_of_{{something_"{{good}}"}}'_transforms
19419
+ ---------------------------------------------------------------------
19420
+ ---------------------------------------------------------------------
19421
+ InterpolatorTest: test_nested_with_multiple_nested_expressions_parses
19422
+ ---------------------------------------------------------------------
19423
+ ----------------------------------------------------
19424
+ InterpolatorTest: test_nested_with_outer_text_parses
19425
+ ----------------------------------------------------
19426
+ -------------------------------------------------------
19427
+ InterpolatorTest: test_nested_without_outer_text_parses
19428
+ -------------------------------------------------------
19429
+ ---------------------------------------------------------------------
19430
+ InterpolatorTest: test_simple_expression_with_surrounding_text_parses
19431
+ ---------------------------------------------------------------------
19432
+ -------------------------------------------------
19433
+ InterpolatorTest: test_simplest_expression_parses
19434
+ -------------------------------------------------
19435
+ --------------------------------------------------------------
19436
+ HandlerTest: test_helpers_returning_html_when_alone_in_a_block
19437
+ --------------------------------------------------------------
19438
+ ------------------------------------------------------------------------
19439
+ HandlerTest: test_helpers_returning_html_work_in_sequence_within_a_block
19440
+ ------------------------------------------------------------------------
19441
+ ----------------------------------------------------------
19442
+ HandlerTest: test_html_generates_<h1>Hello</h1>_by_default
19443
+ ----------------------------------------------------------
19444
+ -----------------------------
19445
+ HandlerTest: test_locals_work
19446
+ -----------------------------
19447
+ ------------------------------------------------------------
19448
+ HandlerTest: test_nesting_elements_with_ruby_block_structure
19449
+ ------------------------------------------------------------
19450
+ ----------------------------------
19451
+ HandlerTest: test_other_attributes
19452
+ ----------------------------------
19453
+ -------------------------------------------
19454
+ HandlerTest: test_our_handler_is_registered
19455
+ -------------------------------------------
19456
+ ---------------------------------------
19457
+ HandlerTest: test_string_in_block_works
19458
+ ---------------------------------------
19459
+ ------------------------------------------------
19460
+ ProcTest: test_#source_body_handles_funky_bodies
19461
+ ------------------------------------------------
19462
+ ----------------------------------------------------------
19463
+ ProcTest: test_#source_body_raises_exception_for_arity_>_0
19464
+ ----------------------------------------------------------
19465
+ ------------------------------------------------------
19466
+ ProcTest: test_#source_body_returns_the_body_of_a_proc
19467
+ ------------------------------------------------------
19468
+ ----------------------------------------------
19469
+ ProcTest: test_#source_returns_a_proc's_source
19470
+ ----------------------------------------------
19471
+ ---------------------------------------------------------------
19472
+ ProcTest: test_#source_work_with_a_stabby_lambda_spanning_lines
19473
+ ---------------------------------------------------------------
19474
+ ------------------------------------------------------------
19475
+ ProcTest: test_#source_works_with_a_block_containing_a_block
19476
+ ------------------------------------------------------------
19477
+ --------------------------------------------
19478
+ ProcTest: test_#source_works_with_a_do_block
19479
+ --------------------------------------------
19480
+ -----------------------------------------------------
19481
+ ProcTest: test_#source_works_with_a_single_line_block
19482
+ -----------------------------------------------------
19483
+ -------------------------------------------------
19484
+ ProcTest: test_#source_works_with_a_stabby_lambda
19485
+ -------------------------------------------------
19486
+ ----------------------------------------------------------------------------------------
19487
+ ProcTest: test_.from_source_stores_source_of_a_dynamicly_built_proc_for_later_inspection
19488
+ ----------------------------------------------------------------------------------------
19489
+ ----------------------------------------------------------------
19490
+ SelectTest: test_select_collection_works_using_collection_select
19491
+ ----------------------------------------------------------------
19492
+ ------------------------------------------
19493
+ SelectTest: test_select_comes_with_a_label
19494
+ ------------------------------------------
19495
+ --------------------------------------------------
19496
+ SelectTest: test_select_defaults_can_be_overridden
19497
+ --------------------------------------------------
19498
+ -------------------------------------------------------
19499
+ SelectTest: test_select_defaults_to_include_blank:_true
19500
+ -------------------------------------------------------
19501
+ ---------------------------------------------------------------------------
19502
+ SelectTest: test_select_generates_correct_options_when_values_are_specified
19503
+ ---------------------------------------------------------------------------
19504
+ ------------------------------------------------------------------------
19505
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
19506
+ ------------------------------------------------------------------------
19507
+ --------------------------------------------------------------
19508
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
19509
+ --------------------------------------------------------------
19510
+ -----------------------------------------------------------------------------------------
19511
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
19512
+ -----------------------------------------------------------------------------------------
19513
+ ---------------------------------------------------
19514
+ SelectTest: test_select_requires_a_parent_component
19515
+ ---------------------------------------------------
19516
+ ---------------------------------------------------------------------------
19517
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
19518
+ ---------------------------------------------------------------------------
19519
+ -------------------------------------------------------------------------
19520
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
19521
+ -------------------------------------------------------------------------
19522
+ -------------------------------------------------------------
19523
+ CheckboxTest: test_checkbox_places_the_label_before_the_input
19524
+ -------------------------------------------------------------
19525
+ -------------------------------------------------------
19526
+ CheckboxTest: test_checkbox_respects_label_after:_true_
19527
+ -------------------------------------------------------
19528
+ -------------------------------------
19529
+ BasicFieldsTest: test_all_fields_work
19530
+ -------------------------------------
19531
+ ---------------------------------------------------------------------------------
19532
+ BasicFieldsTest: test_hidden_field_passes_additional_html_options_to_rails_helper
19533
+ ---------------------------------------------------------------------------------
19534
+ ---------------------------------------------------------
19535
+ BasicFieldsTest: test_hidden_uses_rails_hidden_tag_helper
19536
+ ---------------------------------------------------------
19537
+ ---------------------------------------------------------
19538
+ BasicFieldsTest: test_passing_html_options_to_fields_work
19539
+ ---------------------------------------------------------
19540
+ -----------------------------------------------------------------------------
19541
+ BasicFieldsTest: test_textarea_passes_additional_html_options_to_rails_helper
19542
+ -----------------------------------------------------------------------------
19543
+ ----------------------------------------------------------
19544
+ BasicFieldsTest: test_textarea_uses_rails_text_area_helper
19545
+ ----------------------------------------------------------
19546
+ ----------------------------------------------------
19547
+ SubmitTest: test_submit_takes_string_param_for_value
19548
+ ----------------------------------------------------
19549
+ -----------------------------------------------------------
19550
+ RadioTest: test_radio_has_correct_label_field_name_and_text
19551
+ -----------------------------------------------------------
19552
+ ------------------------------------------------------------------
19553
+ RadioTest: test_radio_options_from_collection_when_options_omitted
19554
+ ------------------------------------------------------------------
19555
+ ----------------------------------------------------------
19556
+ RadioTest: test_radio_options_may_be_specified_with_a_hash
19557
+ ----------------------------------------------------------
19558
+ --------------------------------------------------------
19559
+ RadioTest: test_radio_options_present_with_class_'radio'
19560
+ --------------------------------------------------------
19561
+ -------------------------------------------------
19562
+ RadioTest: test_radio_requires_a_parent_component
19563
+ -------------------------------------------------
19564
+ ------------------------------------------------------------
19565
+ RadioTest: test_radio_throws_error_if_given_improper_options
19566
+ ------------------------------------------------------------
19567
+ ------------------------------------------------------------------------------------
19568
+ StringTest: test_String#inspect_works_normally_when_#to_view_code_hasn't_been_called
19569
+ ------------------------------------------------------------------------------------
19570
+ --------------------------------------------------------------------------------
19571
+ StringTest: test_String#to_view_code_causes_subsequent_#inspect_to_remove_quotes
19572
+ --------------------------------------------------------------------------------
19573
+ -------------------------------------------------------
19574
+ StringTest: test_String#to_view_code_returns_the_string
19575
+ -------------------------------------------------------
19576
+ -----------------------------------------------------------------------------------------
19577
+ BaseTest: test_.has_markup_makes_compile_return_the_block_passed_through_express_compiled
19578
+ -----------------------------------------------------------------------------------------
19579
+ ----------------------------------------------------------------------
19580
+ BaseTest: test_components_register_themselves_as_arbre_builder_methods
19581
+ ----------------------------------------------------------------------
19582
+ --------------------------------------------------------------------
19583
+ BaseTest: test_helpers_defined_in_component_are_evaluated_in_context
19584
+ --------------------------------------------------------------------
19585
+ ---------------------------------------------------------------
19586
+ ExpressFormTest: test_express_form_contents_are_inside_the_form
19587
+ ---------------------------------------------------------------
19588
+ ---------------------------------------------------------
19589
+ ExpressFormTest: test_express_form_default_method_is_POST
19590
+ ---------------------------------------------------------
19591
+ -----------------------------------------------------
19592
+ ExpressFormTest: test_simplest_form_contains_form_tag
19593
+ -----------------------------------------------------
19594
+ ---------------------------------------------------------------
19595
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
19596
+ ---------------------------------------------------------------
19597
+ ---------------------------------------------------
19598
+ ExpressFormTest: test_simplest_form_contains_submit
19599
+ ---------------------------------------------------
19600
+ -------------------------------------------
19601
+ ExpressFormTest: test_simplest_form_renders
19602
+ -------------------------------------------
19603
+ -------------------------------------------------------------------
19604
+ ExpressFormTest: test_simplest_form_uses_form_action_for_the_action
19605
+ -------------------------------------------------------------------
19606
+ -----------------------------------------
19607
+ HelloControllerTest: test_should_get_show
19608
+ -----------------------------------------
19609
+ Processing by HelloController#show as HTML
19610
+ Rendered hello/show.html.et within layouts/application (0.6ms)
19611
+ Completed 200 OK in 113ms (Views: 112.8ms)
19612
+ --------------------------------------------
19613
+ CompilerTest: test_.compile_returns_a_string
19614
+ --------------------------------------------
19615
+ ---------------------------------------------------------------------
19616
+ ExpressTemplatesTest: test_ExpressTemplates.render_renders_a_template
19617
+ ---------------------------------------------------------------------
19618
+ -------------------------------------------
19619
+ ExpressTemplatesTest: test_we_have_a_module
19620
+ -------------------------------------------
19621
+ ----------------------------------------------------------------------------
19622
+ ConfigurableTest: test_a_configurable_component_may_have_also_be_a_container
19623
+ ----------------------------------------------------------------------------
19624
+ ----------------------------------------------------
19625
+ ConfigurableTest: test_renders_id_argument_as_dom_id
19626
+ ----------------------------------------------------
19627
+ -------------------------------------------------------------
19628
+ CheckboxTest: test_checkbox_places_the_label_before_the_input
19629
+ -------------------------------------------------------------
19630
+ -------------------------------------------------------
19631
+ CheckboxTest: test_checkbox_respects_label_after:_true_
19632
+ -------------------------------------------------------
19633
+ -------------------------------------
19634
+ BasicFieldsTest: test_all_fields_work
19635
+ -------------------------------------
19636
+ ---------------------------------------------------------------------------------
19637
+ BasicFieldsTest: test_hidden_field_passes_additional_html_options_to_rails_helper
19638
+ ---------------------------------------------------------------------------------
19639
+ ---------------------------------------------------------
19640
+ BasicFieldsTest: test_hidden_uses_rails_hidden_tag_helper
19641
+ ---------------------------------------------------------
19642
+ ---------------------------------------------------------
19643
+ BasicFieldsTest: test_passing_html_options_to_fields_work
19644
+ ---------------------------------------------------------
19645
+ -----------------------------------------------------------------------------
19646
+ BasicFieldsTest: test_textarea_passes_additional_html_options_to_rails_helper
19647
+ -----------------------------------------------------------------------------
19648
+ ----------------------------------------------------------
19649
+ BasicFieldsTest: test_textarea_uses_rails_text_area_helper
19650
+ ----------------------------------------------------------
19651
+ ---------------------------------------------------------------------
19652
+ ExpressTemplatesTest: test_ExpressTemplates.render_renders_a_template
19653
+ ---------------------------------------------------------------------
19654
+ -------------------------------------------
19655
+ ExpressTemplatesTest: test_we_have_a_module
19656
+ -------------------------------------------
19657
+ ------------------------------------------------
19658
+ ProcTest: test_#source_body_handles_funky_bodies
19659
+ ------------------------------------------------
19660
+ ----------------------------------------------------------
19661
+ ProcTest: test_#source_body_raises_exception_for_arity_>_0
19662
+ ----------------------------------------------------------
19663
+ ------------------------------------------------------
19664
+ ProcTest: test_#source_body_returns_the_body_of_a_proc
19665
+ ------------------------------------------------------
19666
+ ----------------------------------------------
19667
+ ProcTest: test_#source_returns_a_proc's_source
19668
+ ----------------------------------------------
19669
+ ---------------------------------------------------------------
19670
+ ProcTest: test_#source_work_with_a_stabby_lambda_spanning_lines
19671
+ ---------------------------------------------------------------
19672
+ ------------------------------------------------------------
19673
+ ProcTest: test_#source_works_with_a_block_containing_a_block
19674
+ ------------------------------------------------------------
19675
+ --------------------------------------------
19676
+ ProcTest: test_#source_works_with_a_do_block
19677
+ --------------------------------------------
19678
+ -----------------------------------------------------
19679
+ ProcTest: test_#source_works_with_a_single_line_block
19680
+ -----------------------------------------------------
19681
+ -------------------------------------------------
19682
+ ProcTest: test_#source_works_with_a_stabby_lambda
19683
+ -------------------------------------------------
19684
+ ----------------------------------------------------------------------------------------
19685
+ ProcTest: test_.from_source_stores_source_of_a_dynamicly_built_proc_for_later_inspection
19686
+ ----------------------------------------------------------------------------------------
19687
+ -----------------------------------------
19688
+ HelloControllerTest: test_should_get_show
19689
+ -----------------------------------------
19690
+ Processing by HelloController#show as HTML
19691
+ Rendered hello/show.html.et within layouts/application (0.6ms)
19692
+ Completed 200 OK in 121ms (Views: 120.9ms)
19693
+ --------------------------------------------------------------------------------------------------
19694
+ ExpressTemplates::ResourcefulTest: test_#resource_class_returns_resource_class_option_if_specified
19695
+ --------------------------------------------------------------------------------------------------
19696
+ -----------------------------------------------------------------------------------------
19697
+ ExpressTemplates::ResourcefulTest: test_infers_a_namespace_and_no_prefix_within_an_engine
19698
+ -----------------------------------------------------------------------------------------
19699
+ ---------------------------------------------------------------------------------------------------
19700
+ ExpressTemplates::ResourcefulTest: test_infers_namespace_and_path_prefix_within_an_engine_and_scope
19701
+ ---------------------------------------------------------------------------------------------------
19702
+ ------------------------------------------------------------------------------------------------
19703
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_infers_prefix_within_a_scope_within_an_app
19704
+ ------------------------------------------------------------------------------------------------
19705
+ -----------------------------------------------------------------------------
19706
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_no_prefix_within_an_app
19707
+ -----------------------------------------------------------------------------
19708
+ ------------------------------------------------------------------------------------
19709
+ StringTest: test_String#inspect_works_normally_when_#to_view_code_hasn't_been_called
19710
+ ------------------------------------------------------------------------------------
19711
+ --------------------------------------------------------------------------------
19712
+ StringTest: test_String#to_view_code_causes_subsequent_#inspect_to_remove_quotes
19713
+ --------------------------------------------------------------------------------
19714
+ -------------------------------------------------------
19715
+ StringTest: test_String#to_view_code_returns_the_string
19716
+ -------------------------------------------------------
19717
+ ----------------------------------------------------
19718
+ SubmitTest: test_submit_takes_string_param_for_value
19719
+ ----------------------------------------------------
19720
+ --------------------------------------------------------------
19721
+ HandlerTest: test_helpers_returning_html_when_alone_in_a_block
19722
+ --------------------------------------------------------------
19723
+ ------------------------------------------------------------------------
19724
+ HandlerTest: test_helpers_returning_html_work_in_sequence_within_a_block
19725
+ ------------------------------------------------------------------------
19726
+ ----------------------------------------------------------
19727
+ HandlerTest: test_html_generates_<h1>Hello</h1>_by_default
19728
+ ----------------------------------------------------------
19729
+ -----------------------------
19730
+ HandlerTest: test_locals_work
19731
+ -----------------------------
19732
+ ------------------------------------------------------------
19733
+ HandlerTest: test_nesting_elements_with_ruby_block_structure
19734
+ ------------------------------------------------------------
19735
+ ----------------------------------
19736
+ HandlerTest: test_other_attributes
19737
+ ----------------------------------
19738
+ -------------------------------------------
19739
+ HandlerTest: test_our_handler_is_registered
19740
+ -------------------------------------------
19741
+ ---------------------------------------
19742
+ HandlerTest: test_string_in_block_works
19743
+ ---------------------------------------
19744
+ --------------------------------------------
19745
+ CompilerTest: test_.compile_returns_a_string
19746
+ --------------------------------------------
19747
+ ------------------------------------------------------------------------------------
19748
+ InterpolatorTest: test_"{{some_{{thing}}_foo}}"_transforms_to_"#{some_#{thing}_foo}"
19749
+ ------------------------------------------------------------------------------------
19750
+ -------------------------------------------------------------------
19751
+ InterpolatorTest: test_"{{something}}"_transforms_to_"#{something}"
19752
+ -------------------------------------------------------------------
19753
+ ---------------------------------------------------------------------
19754
+ InterpolatorTest: test_'a_lot_of_{{something_"{{good}}"}}'_transforms
19755
+ ---------------------------------------------------------------------
19756
+ ---------------------------------------------------------------------
19757
+ InterpolatorTest: test_nested_with_multiple_nested_expressions_parses
19758
+ ---------------------------------------------------------------------
19759
+ ----------------------------------------------------
19760
+ InterpolatorTest: test_nested_with_outer_text_parses
19761
+ ----------------------------------------------------
19762
+ -------------------------------------------------------
19763
+ InterpolatorTest: test_nested_without_outer_text_parses
19764
+ -------------------------------------------------------
19765
+ ---------------------------------------------------------------------
19766
+ InterpolatorTest: test_simple_expression_with_surrounding_text_parses
19767
+ ---------------------------------------------------------------------
19768
+ -------------------------------------------------
19769
+ InterpolatorTest: test_simplest_expression_parses
19770
+ -------------------------------------------------
19771
+ ---------------------------------------------------------------------------------------------
19772
+ IndenterTest: test_.for(:name)_returns_current_indent_without_newline_when_block_is_not_given
19773
+ ---------------------------------------------------------------------------------------------
19774
+ -----------------------------------------------------------------
19775
+ IndenterTest: test_.for(:name)_takes_a_block_receiving_whitespace
19776
+ -----------------------------------------------------------------
19777
+ ------------------------------------------------------------------
19778
+ IndenterTest: test_nesting_blocks_increases_whitespace_accordingly
19779
+ ------------------------------------------------------------------
19780
+ ---------------------------------------------------------------
19781
+ ExpressFormTest: test_express_form_contents_are_inside_the_form
19782
+ ---------------------------------------------------------------
19783
+ ---------------------------------------------------------
19784
+ ExpressFormTest: test_express_form_default_method_is_POST
19785
+ ---------------------------------------------------------
19786
+ -----------------------------------------------------
19787
+ ExpressFormTest: test_simplest_form_contains_form_tag
19788
+ -----------------------------------------------------
19789
+ ---------------------------------------------------------------
19790
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
19791
+ ---------------------------------------------------------------
19792
+ ---------------------------------------------------
19793
+ ExpressFormTest: test_simplest_form_contains_submit
19794
+ ---------------------------------------------------
19795
+ -------------------------------------------
19796
+ ExpressFormTest: test_simplest_form_renders
19797
+ -------------------------------------------
19798
+ -------------------------------------------------------------------
19799
+ ExpressFormTest: test_simplest_form_uses_form_action_for_the_action
19800
+ -------------------------------------------------------------------
19801
+ ----------------------------------------------------------------
19802
+ SelectTest: test_select_collection_works_using_collection_select
19803
+ ----------------------------------------------------------------
19804
+ ------------------------------------------
19805
+ SelectTest: test_select_comes_with_a_label
19806
+ ------------------------------------------
19807
+ --------------------------------------------------
19808
+ SelectTest: test_select_defaults_can_be_overridden
19809
+ --------------------------------------------------
19810
+ -------------------------------------------------------
19811
+ SelectTest: test_select_defaults_to_include_blank:_true
19812
+ -------------------------------------------------------
19813
+ ---------------------------------------------------------------------------
19814
+ SelectTest: test_select_generates_correct_options_when_values_are_specified
19815
+ ---------------------------------------------------------------------------
19816
+ ------------------------------------------------------------------------
19817
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
19818
+ ------------------------------------------------------------------------
19819
+ --------------------------------------------------------------
19820
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
19821
+ --------------------------------------------------------------
19822
+ -----------------------------------------------------------------------------------------
19823
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
19824
+ -----------------------------------------------------------------------------------------
19825
+ ---------------------------------------------------
19826
+ SelectTest: test_select_requires_a_parent_component
19827
+ ---------------------------------------------------
19828
+ ---------------------------------------------------------------------------
19829
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
19830
+ ---------------------------------------------------------------------------
19831
+ -------------------------------------------------------------------------
19832
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
19833
+ -------------------------------------------------------------------------
19834
+ ----------------------------------------------------------------------------
19835
+ ConfigurableTest: test_a_configurable_component_may_have_also_be_a_container
19836
+ ----------------------------------------------------------------------------
19837
+ ----------------------------------------------------
19838
+ ConfigurableTest: test_renders_id_argument_as_dom_id
19839
+ ----------------------------------------------------
19840
+ -----------------------------------------------------------
19841
+ RadioTest: test_radio_has_correct_label_field_name_and_text
19842
+ -----------------------------------------------------------
19843
+ ------------------------------------------------------------------
19844
+ RadioTest: test_radio_options_from_collection_when_options_omitted
19845
+ ------------------------------------------------------------------
19846
+ ----------------------------------------------------------
19847
+ RadioTest: test_radio_options_may_be_specified_with_a_hash
19848
+ ----------------------------------------------------------
19849
+ --------------------------------------------------------
19850
+ RadioTest: test_radio_options_present_with_class_'radio'
19851
+ --------------------------------------------------------
19852
+ -------------------------------------------------
19853
+ RadioTest: test_radio_requires_a_parent_component
19854
+ -------------------------------------------------
19855
+ ------------------------------------------------------------
19856
+ RadioTest: test_radio_throws_error_if_given_improper_options
19857
+ ------------------------------------------------------------
19858
+ -----------------------------------------------------------------------------------------
19859
+ BaseTest: test_.has_markup_makes_compile_return_the_block_passed_through_express_compiled
19860
+ -----------------------------------------------------------------------------------------
19861
+ ----------------------------------------------------------------------
19862
+ BaseTest: test_components_register_themselves_as_arbre_builder_methods
19863
+ ----------------------------------------------------------------------
19864
+ --------------------------------------------------------------------
19865
+ BaseTest: test_helpers_defined_in_component_are_evaluated_in_context
19866
+ --------------------------------------------------------------------
19867
+ ---------------------------------------------------------------
19868
+ ExpressFormTest: test_express_form_contents_are_inside_the_form
19869
+ ---------------------------------------------------------------
19870
+ ---------------------------------------------------------
19871
+ ExpressFormTest: test_express_form_default_method_is_POST
19872
+ ---------------------------------------------------------
19873
+ -----------------------------------------------------
19874
+ ExpressFormTest: test_simplest_form_contains_form_tag
19875
+ -----------------------------------------------------
19876
+ ---------------------------------------------------------------
19877
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
19878
+ ---------------------------------------------------------------
19879
+ ---------------------------------------------------
19880
+ ExpressFormTest: test_simplest_form_contains_submit
19881
+ ---------------------------------------------------
19882
+ -------------------------------------------
19883
+ ExpressFormTest: test_simplest_form_renders
19884
+ -------------------------------------------
19885
+ -------------------------------------------------------------------
19886
+ ExpressFormTest: test_simplest_form_uses_form_action_for_the_action
19887
+ -------------------------------------------------------------------
19888
+ -----------------------------------------
19889
+ HelloControllerTest: test_should_get_show
19890
+ -----------------------------------------
19891
+ Processing by HelloController#show as HTML
19892
+ Rendered hello/show.html.et within layouts/application (0.8ms)
19893
+ Completed 200 OK in 160ms (Views: 160.1ms)
19894
+ --------------------------------------------------------------------------------------------------
19895
+ ExpressTemplates::ResourcefulTest: test_#resource_class_returns_resource_class_option_if_specified
19896
+ --------------------------------------------------------------------------------------------------
19897
+ -----------------------------------------------------------------------------------------
19898
+ ExpressTemplates::ResourcefulTest: test_infers_a_namespace_and_no_prefix_within_an_engine
19899
+ -----------------------------------------------------------------------------------------
19900
+ ---------------------------------------------------------------------------------------------------
19901
+ ExpressTemplates::ResourcefulTest: test_infers_namespace_and_path_prefix_within_an_engine_and_scope
19902
+ ---------------------------------------------------------------------------------------------------
19903
+ ------------------------------------------------------------------------------------------------
19904
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_infers_prefix_within_a_scope_within_an_app
19905
+ ------------------------------------------------------------------------------------------------
19906
+ -----------------------------------------------------------------------------
19907
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_no_prefix_within_an_app
19908
+ -----------------------------------------------------------------------------
19909
+ -------------------------------------
19910
+ BasicFieldsTest: test_all_fields_work
19911
+ -------------------------------------
19912
+ ---------------------------------------------------------------------------------
19913
+ BasicFieldsTest: test_hidden_field_passes_additional_html_options_to_rails_helper
19914
+ ---------------------------------------------------------------------------------
19915
+ ---------------------------------------------------------
19916
+ BasicFieldsTest: test_hidden_uses_rails_hidden_tag_helper
19917
+ ---------------------------------------------------------
19918
+ ---------------------------------------------------------
19919
+ BasicFieldsTest: test_passing_html_options_to_fields_work
19920
+ ---------------------------------------------------------
19921
+ -----------------------------------------------------------------------------
19922
+ BasicFieldsTest: test_textarea_passes_additional_html_options_to_rails_helper
19923
+ -----------------------------------------------------------------------------
19924
+ ----------------------------------------------------------
19925
+ BasicFieldsTest: test_textarea_uses_rails_text_area_helper
19926
+ ----------------------------------------------------------
19927
+ ---------------------------------------------------------------------
19928
+ ExpressTemplatesTest: test_ExpressTemplates.render_renders_a_template
19929
+ ---------------------------------------------------------------------
19930
+ -------------------------------------------
19931
+ ExpressTemplatesTest: test_we_have_a_module
19932
+ -------------------------------------------
19933
+ ----------------------------------------------------------------
19934
+ SelectTest: test_select_collection_works_using_collection_select
19935
+ ----------------------------------------------------------------
19936
+ ------------------------------------------
19937
+ SelectTest: test_select_comes_with_a_label
19938
+ ------------------------------------------
19939
+ --------------------------------------------------
19940
+ SelectTest: test_select_defaults_can_be_overridden
19941
+ --------------------------------------------------
19942
+ -------------------------------------------------------
19943
+ SelectTest: test_select_defaults_to_include_blank:_true
19944
+ -------------------------------------------------------
19945
+ ---------------------------------------------------------------------------
19946
+ SelectTest: test_select_generates_correct_options_when_values_are_specified
19947
+ ---------------------------------------------------------------------------
19948
+ ------------------------------------------------------------------------
19949
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
19950
+ ------------------------------------------------------------------------
19951
+ --------------------------------------------------------------
19952
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
19953
+ --------------------------------------------------------------
19954
+ -----------------------------------------------------------------------------------------
19955
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
19956
+ -----------------------------------------------------------------------------------------
19957
+ ---------------------------------------------------
19958
+ SelectTest: test_select_requires_a_parent_component
19959
+ ---------------------------------------------------
19960
+ ---------------------------------------------------------------------------
19961
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
19962
+ ---------------------------------------------------------------------------
19963
+ -------------------------------------------------------------------------
19964
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
19965
+ -------------------------------------------------------------------------
19966
+ ----------------------------------------------------
19967
+ SubmitTest: test_submit_takes_string_param_for_value
19968
+ ----------------------------------------------------
19969
+ ----------------------------------------------------------------------------
19970
+ ConfigurableTest: test_a_configurable_component_may_have_also_be_a_container
19971
+ ----------------------------------------------------------------------------
19972
+ ----------------------------------------------------
19973
+ ConfigurableTest: test_renders_id_argument_as_dom_id
19974
+ ----------------------------------------------------
19975
+ -----------------------------------------------------------------------------------------
19976
+ BaseTest: test_.has_markup_makes_compile_return_the_block_passed_through_express_compiled
19977
+ -----------------------------------------------------------------------------------------
19978
+ ----------------------------------------------------------------------
19979
+ BaseTest: test_components_register_themselves_as_arbre_builder_methods
19980
+ ----------------------------------------------------------------------
19981
+ --------------------------------------------------------------------
19982
+ BaseTest: test_helpers_defined_in_component_are_evaluated_in_context
19983
+ --------------------------------------------------------------------
19984
+ --------------------------------------------
19985
+ CompilerTest: test_.compile_returns_a_string
19986
+ --------------------------------------------
19987
+ ------------------------------------------------
19988
+ ProcTest: test_#source_body_handles_funky_bodies
19989
+ ------------------------------------------------
19990
+ ----------------------------------------------------------
19991
+ ProcTest: test_#source_body_raises_exception_for_arity_>_0
19992
+ ----------------------------------------------------------
19993
+ ------------------------------------------------------
19994
+ ProcTest: test_#source_body_returns_the_body_of_a_proc
19995
+ ------------------------------------------------------
19996
+ ----------------------------------------------
19997
+ ProcTest: test_#source_returns_a_proc's_source
19998
+ ----------------------------------------------
19999
+ ---------------------------------------------------------------
20000
+ ProcTest: test_#source_work_with_a_stabby_lambda_spanning_lines
20001
+ ---------------------------------------------------------------
20002
+ ------------------------------------------------------------
20003
+ ProcTest: test_#source_works_with_a_block_containing_a_block
20004
+ ------------------------------------------------------------
20005
+ --------------------------------------------
20006
+ ProcTest: test_#source_works_with_a_do_block
20007
+ --------------------------------------------
20008
+ -----------------------------------------------------
20009
+ ProcTest: test_#source_works_with_a_single_line_block
20010
+ -----------------------------------------------------
20011
+ -------------------------------------------------
20012
+ ProcTest: test_#source_works_with_a_stabby_lambda
20013
+ -------------------------------------------------
20014
+ ----------------------------------------------------------------------------------------
20015
+ ProcTest: test_.from_source_stores_source_of_a_dynamicly_built_proc_for_later_inspection
20016
+ ----------------------------------------------------------------------------------------
20017
+ ------------------------------------------------------------------------------------
20018
+ InterpolatorTest: test_"{{some_{{thing}}_foo}}"_transforms_to_"#{some_#{thing}_foo}"
20019
+ ------------------------------------------------------------------------------------
20020
+ -------------------------------------------------------------------
20021
+ InterpolatorTest: test_"{{something}}"_transforms_to_"#{something}"
20022
+ -------------------------------------------------------------------
20023
+ ---------------------------------------------------------------------
20024
+ InterpolatorTest: test_'a_lot_of_{{something_"{{good}}"}}'_transforms
20025
+ ---------------------------------------------------------------------
20026
+ ---------------------------------------------------------------------
20027
+ InterpolatorTest: test_nested_with_multiple_nested_expressions_parses
20028
+ ---------------------------------------------------------------------
20029
+ ----------------------------------------------------
20030
+ InterpolatorTest: test_nested_with_outer_text_parses
20031
+ ----------------------------------------------------
20032
+ -------------------------------------------------------
20033
+ InterpolatorTest: test_nested_without_outer_text_parses
20034
+ -------------------------------------------------------
20035
+ ---------------------------------------------------------------------
20036
+ InterpolatorTest: test_simple_expression_with_surrounding_text_parses
20037
+ ---------------------------------------------------------------------
20038
+ -------------------------------------------------
20039
+ InterpolatorTest: test_simplest_expression_parses
20040
+ -------------------------------------------------
20041
+ -------------------------------------------------------------
20042
+ CheckboxTest: test_checkbox_places_the_label_before_the_input
20043
+ -------------------------------------------------------------
20044
+ -------------------------------------------------------
20045
+ CheckboxTest: test_checkbox_respects_label_after:_true_
20046
+ -------------------------------------------------------
20047
+ ------------------------------------------------------------------------------------
20048
+ StringTest: test_String#inspect_works_normally_when_#to_view_code_hasn't_been_called
20049
+ ------------------------------------------------------------------------------------
20050
+ --------------------------------------------------------------------------------
20051
+ StringTest: test_String#to_view_code_causes_subsequent_#inspect_to_remove_quotes
20052
+ --------------------------------------------------------------------------------
20053
+ -------------------------------------------------------
20054
+ StringTest: test_String#to_view_code_returns_the_string
20055
+ -------------------------------------------------------
20056
+ --------------------------------------------------------------
20057
+ HandlerTest: test_helpers_returning_html_when_alone_in_a_block
20058
+ --------------------------------------------------------------
20059
+ ------------------------------------------------------------------------
20060
+ HandlerTest: test_helpers_returning_html_work_in_sequence_within_a_block
20061
+ ------------------------------------------------------------------------
20062
+ ----------------------------------------------------------
20063
+ HandlerTest: test_html_generates_<h1>Hello</h1>_by_default
20064
+ ----------------------------------------------------------
20065
+ -----------------------------
20066
+ HandlerTest: test_locals_work
20067
+ -----------------------------
20068
+ ------------------------------------------------------------
20069
+ HandlerTest: test_nesting_elements_with_ruby_block_structure
20070
+ ------------------------------------------------------------
20071
+ ----------------------------------
20072
+ HandlerTest: test_other_attributes
20073
+ ----------------------------------
20074
+ -------------------------------------------
20075
+ HandlerTest: test_our_handler_is_registered
20076
+ -------------------------------------------
20077
+ ---------------------------------------
20078
+ HandlerTest: test_string_in_block_works
20079
+ ---------------------------------------
20080
+ -----------------------------------------------------------
20081
+ RadioTest: test_radio_has_correct_label_field_name_and_text
20082
+ -----------------------------------------------------------
20083
+ ------------------------------------------------------------------
20084
+ RadioTest: test_radio_options_from_collection_when_options_omitted
20085
+ ------------------------------------------------------------------
20086
+ ----------------------------------------------------------
20087
+ RadioTest: test_radio_options_may_be_specified_with_a_hash
20088
+ ----------------------------------------------------------
20089
+ --------------------------------------------------------
20090
+ RadioTest: test_radio_options_present_with_class_'radio'
20091
+ --------------------------------------------------------
20092
+ -------------------------------------------------
20093
+ RadioTest: test_radio_requires_a_parent_component
20094
+ -------------------------------------------------
20095
+ ------------------------------------------------------------
20096
+ RadioTest: test_radio_throws_error_if_given_improper_options
20097
+ ------------------------------------------------------------
20098
+ ---------------------------------------------------------------------------------------------
20099
+ IndenterTest: test_.for(:name)_returns_current_indent_without_newline_when_block_is_not_given
20100
+ ---------------------------------------------------------------------------------------------
20101
+ -----------------------------------------------------------------
20102
+ IndenterTest: test_.for(:name)_takes_a_block_receiving_whitespace
20103
+ -----------------------------------------------------------------
20104
+ ------------------------------------------------------------------
20105
+ IndenterTest: test_nesting_blocks_increases_whitespace_accordingly
20106
+ ------------------------------------------------------------------
20107
+ --------------------------------------------------------
20108
+ TreeForTest: test_simple_tree_for_renders_example_markup
20109
+ --------------------------------------------------------
20110
+ --------------------------------------------------------
20111
+ TreeForTest: test_simple_tree_for_renders_example_markup
20112
+ --------------------------------------------------------
20113
+ --------------------------------------------------------
20114
+ TreeForTest: test_simple_tree_for_renders_example_markup
20115
+ --------------------------------------------------------
20116
+ --------------------------------------------------------
20117
+ TreeForTest: test_simple_tree_for_renders_example_markup
20118
+ --------------------------------------------------------
20119
+ --------------------------------------------------------
20120
+ TreeForTest: test_simple_tree_for_renders_example_markup
20121
+ --------------------------------------------------------
20122
+ --------------------------------------------------------
20123
+ TreeForTest: test_simple_tree_for_renders_example_markup
20124
+ --------------------------------------------------------
20125
+ --------------------------------------------------------
20126
+ TreeForTest: test_simple_tree_for_renders_example_markup
20127
+ --------------------------------------------------------
20128
+ --------------------------------------------------------
20129
+ TreeForTest: test_simple_tree_for_renders_example_markup
20130
+ --------------------------------------------------------
20131
+ --------------------------------------------------------
20132
+ TreeForTest: test_simple_tree_for_renders_example_markup
20133
+ --------------------------------------------------------
20134
+ --------------------------------------------------------
20135
+ TreeForTest: test_simple_tree_for_renders_example_markup
20136
+ --------------------------------------------------------
20137
+ --------------------------------------------------------
20138
+ TreeForTest: test_simple_tree_for_renders_example_markup
20139
+ --------------------------------------------------------
20140
+ --------------------------------------------------------
20141
+ TreeForTest: test_simple_tree_for_renders_example_markup
20142
+ --------------------------------------------------------
20143
+ --------------------------------------------------------
20144
+ TreeForTest: test_simple_tree_for_renders_example_markup
20145
+ --------------------------------------------------------
20146
+ --------------------------------------------------------
20147
+ TreeForTest: test_simple_tree_for_renders_example_markup
20148
+ --------------------------------------------------------
20149
+ --------------------------------------------------------
20150
+ TreeForTest: test_simple_tree_for_renders_example_markup
20151
+ --------------------------------------------------------
20152
+ --------------------------------------------------------
20153
+ TreeForTest: test_simple_tree_for_renders_example_markup
20154
+ --------------------------------------------------------
20155
+ --------------------------------------------------------
20156
+ TreeForTest: test_simple_tree_for_renders_example_markup
20157
+ --------------------------------------------------------
20158
+ --------------------------------------------------------
20159
+ TreeForTest: test_simple_tree_for_renders_example_markup
20160
+ --------------------------------------------------------
20161
+ --------------------------------------------------------
20162
+ TreeForTest: test_simple_tree_for_renders_example_markup
20163
+ --------------------------------------------------------
20164
+ --------------------------------------------------------
20165
+ TreeForTest: test_simple_tree_for_renders_example_markup
20166
+ --------------------------------------------------------
20167
+ --------------------------------------------------------
20168
+ TreeForTest: test_simple_tree_for_renders_example_markup
20169
+ --------------------------------------------------------
20170
+ --------------------------------------------------------
20171
+ TreeForTest: test_simple_tree_for_renders_example_markup
20172
+ --------------------------------------------------------
20173
+ --------------------------------------------------------
20174
+ TreeForTest: test_simple_tree_for_renders_example_markup
20175
+ --------------------------------------------------------
20176
+ --------------------------------------------------------
20177
+ TreeForTest: test_simple_tree_for_renders_example_markup
20178
+ --------------------------------------------------------
20179
+ --------------------------------------------------------
20180
+ TreeForTest: test_simple_tree_for_renders_example_markup
20181
+ --------------------------------------------------------
20182
+ --------------------------------------------------------
20183
+ TreeForTest: test_simple_tree_for_renders_example_markup
20184
+ --------------------------------------------------------
20185
+ --------------------------------------------------------
20186
+ TreeForTest: test_simple_tree_for_renders_example_markup
20187
+ --------------------------------------------------------
20188
+ --------------------------------------------------------
20189
+ TreeForTest: test_simple_tree_for_renders_example_markup
20190
+ --------------------------------------------------------
20191
+ --------------------------------------------------------
20192
+ TreeForTest: test_simple_tree_for_renders_example_markup
20193
+ --------------------------------------------------------
20194
+ --------------------------------------------------------
20195
+ TreeForTest: test_simple_tree_for_renders_example_markup
20196
+ --------------------------------------------------------
20197
+ --------------------------------------------------------
20198
+ TreeForTest: test_simple_tree_for_renders_example_markup
20199
+ --------------------------------------------------------
20200
+ --------------------------------------------------------
20201
+ TreeForTest: test_simple_tree_for_renders_example_markup
20202
+ --------------------------------------------------------
20203
+ --------------------------------------------------------
20204
+ TreeForTest: test_simple_tree_for_renders_example_markup
20205
+ --------------------------------------------------------
20206
+ --------------------------------------------------------
20207
+ TreeForTest: test_simple_tree_for_renders_example_markup
20208
+ --------------------------------------------------------
20209
+ --------------------------------------------------------
20210
+ TreeForTest: test_simple_tree_for_renders_example_markup
20211
+ --------------------------------------------------------
20212
+ --------------------------------------------------------
20213
+ TreeForTest: test_simple_tree_for_renders_example_markup
20214
+ --------------------------------------------------------
20215
+ --------------------------------------------------------
20216
+ TreeForTest: test_simple_tree_for_renders_example_markup
20217
+ --------------------------------------------------------
20218
+ --------------------------------------------------------
20219
+ TreeForTest: test_simple_tree_for_renders_example_markup
20220
+ --------------------------------------------------------
20221
+ --------------------------------------------------------
20222
+ TreeForTest: test_simple_tree_for_renders_example_markup
20223
+ --------------------------------------------------------
20224
+ --------------------------------------------------------
20225
+ TreeForTest: test_simple_tree_for_renders_example_markup
20226
+ --------------------------------------------------------
20227
+ --------------------------------------------------------
20228
+ TreeForTest: test_simple_tree_for_renders_example_markup
20229
+ --------------------------------------------------------
20230
+ --------------------------------------------------------
20231
+ TreeForTest: test_simple_tree_for_renders_example_markup
20232
+ --------------------------------------------------------
20233
+ --------------------------------------------------------
20234
+ TreeForTest: test_simple_tree_for_renders_example_markup
20235
+ --------------------------------------------------------
20236
+ --------------------------------------------------------
20237
+ TreeForTest: test_simple_tree_for_renders_example_markup
20238
+ --------------------------------------------------------
20239
+ --------------------------------------------------------
20240
+ TreeForTest: test_simple_tree_for_renders_example_markup
20241
+ --------------------------------------------------------
20242
+ ------------------------------------------------------------
20243
+ TreeForTest: test_tree_for_accepts_block_with_custom_content
20244
+ ------------------------------------------------------------
20245
+ ---------------------------------------------------------------------------
20246
+ TreeForTest: test_tree_for_renders_correct_markup_with_node.name_as_default
20247
+ ---------------------------------------------------------------------------
20248
+ ------------------------------------------------------------
20249
+ TreeForTest: test_tree_for_accepts_block_with_custom_content
20250
+ ------------------------------------------------------------
20251
+ ---------------------------------------------------------------------------
20252
+ TreeForTest: test_tree_for_renders_correct_markup_with_node.name_as_default
20253
+ ---------------------------------------------------------------------------
20254
+ ------------------------------------------------------------
20255
+ TreeForTest: test_tree_for_accepts_block_with_custom_content
20256
+ ------------------------------------------------------------
20257
+ ------------------------------------------------------------
20258
+ TreeForTest: test_tree_for_accepts_block_with_custom_content
20259
+ ------------------------------------------------------------
20260
+ ------------------------------------------------------------
20261
+ TreeForTest: test_tree_for_accepts_block_with_custom_content
20262
+ ------------------------------------------------------------
20263
+ ------------------------------------------------------------
20264
+ TreeForTest: test_tree_for_accepts_block_with_custom_content
20265
+ ------------------------------------------------------------
20266
+ ------------------------------------------------------------
20267
+ TreeForTest: test_tree_for_accepts_block_with_custom_content
20268
+ ------------------------------------------------------------
20269
+ ------------------------------------------------------------
20270
+ TreeForTest: test_tree_for_accepts_block_with_custom_content
20271
+ ------------------------------------------------------------
20272
+ ------------------------------------------------------------
20273
+ TreeForTest: test_tree_for_accepts_block_with_custom_content
20274
+ ------------------------------------------------------------
20275
+ ------------------------------------------------------------
20276
+ TreeForTest: test_tree_for_accepts_block_with_custom_content
20277
+ ------------------------------------------------------------
20278
+ ------------------------------------------------------------
20279
+ TreeForTest: test_tree_for_accepts_block_with_custom_content
20280
+ ------------------------------------------------------------
20281
+ ------------------------------------------------------------
20282
+ TreeForTest: test_tree_for_accepts_block_with_custom_content
20283
+ ------------------------------------------------------------