express_admin 1.5.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2ee970ef95e2385137a11fa6508edacd01faeae8
4
- data.tar.gz: 9fb8fd28dacf2d2c4bfd81cfcdf603e6be99f678
3
+ metadata.gz: 8701e68cc4e8e5e09d5625f132370a27c4d2aedc
4
+ data.tar.gz: a0754bf8a6bb4cf4b3654483dc0fe14e93066a74
5
5
  SHA512:
6
- metadata.gz: c627d21e2cfdfed8d54317c2f05aa401614781431afa7aabcb98f8c8c0604075de1005ed1f070024ad3b18273d4035536fd81e9c61931a968a1f351ed2b3df7c
7
- data.tar.gz: 7c6897243cc55e89e07c80eccd7089a051078b9602ad4918985dfe13657b6e4332d8c065edd7ecd4d7a9c1ead4bc279995e62b9b6255e98e778cfd5db637a73f
6
+ metadata.gz: f459c1f910e6cc6c005bce1931c847f05b2bf1851d27b38c1098b2a8c6bdc4e76174c62c2b2e9a830d0cc6c610a3911ea6129895e7a9a15e4ef7060741470a17
7
+ data.tar.gz: 6c5bdd36bdc945659a4b7417d75e1752bf00e3ae9c6b7806170c875a1d10eb2fa2474079b80fc9fd83fff7057f6f5d2b5cf6d403dd05d1441f5e6f9f2b5af728
@@ -0,0 +1,18 @@
1
+ .command-button
2
+ input
3
+ @extend .button
4
+
5
+ &.kill, &.destroy, &.delete, &.cancel, &.suspend, &.stop
6
+ input
7
+ background-color: $red
8
+
9
+ &.start, &.enable, &.go, &.resume
10
+ input
11
+ background-color: $green
12
+
13
+ input[disabled="disabled"]
14
+ background-color: $gray
15
+
16
+
17
+ .command-button-list
18
+ list-style-type: none
@@ -11,10 +11,3 @@
11
11
  size: 1rem
12
12
  weight: normal
13
13
  padding: 0.5rem 0
14
-
15
- .pane
16
- @include breakpoint(medium)
17
- max-height: 300px
18
-
19
- @include breakpoint(large)
20
- max-height: 500px
@@ -36,6 +36,8 @@
36
36
  @import 'shared/progress'
37
37
  @import 'shared/reveal'
38
38
 
39
+ @import 'components/command_button'
40
+
39
41
  @import 'components/empty_state'
40
42
 
41
43
  @import 'plugins/dataTables'
@@ -22,15 +22,15 @@
22
22
  // Still a bit hacky. Need to polish this more
23
23
  // This was done to contain the giant table in rbac's routes#index
24
24
  // Might not need this anymore because of 77b7136
25
- // .large-table-container
26
- // @include breakpoint(small)
27
- // height: 300px
28
- //
29
- // @include breakpoint(medium)
30
- // height: 500px
31
- //
32
- // @include breakpoint(large)
33
- // height: 800px
25
+ .large-table-container
26
+ @include breakpoint(small)
27
+ height: 300px
28
+
29
+ @include breakpoint(medium)
30
+ height: 500px
31
+
32
+ @include breakpoint(large)
33
+ height: 800px
34
34
 
35
35
  .definition-table
36
36
  tbody
@@ -0,0 +1,42 @@
1
+ module ExpressAdmin
2
+ class CommandButton < ExpressTemplates::Components::Configurable
3
+ include ExpressTemplates::Components::Capabilities::Resourceful
4
+
5
+
6
+ has_argument :id, "The command name. Invoked as an action on the resource.", as: :command, type: :symbol
7
+ has_option :disabled, "Disables the button", type: :boolean
8
+ has_option :confirm, "Prompt with the question specified."
9
+ has_option :resource_name, "The name of the resource for this command. Eg. 'person' for like_person_path()"
10
+
11
+ before_build -> {
12
+ config[:command] = config[:command].debang
13
+ add_class(config[:command])
14
+ }
15
+
16
+ contains -> {
17
+ button_to config[:command].to_s.titleize, action, button_to_options
18
+ }
19
+
20
+ def resource_name
21
+ config[:resource_name] || parent_command_button_list.resource_name
22
+ end
23
+
24
+ def button_to_options
25
+ {remote: true, disabled: config[:disabled], confirm: config[:confirm]}
26
+ end
27
+
28
+ def action
29
+ helpers.send "#{config[:command]}_#{resource_path_helper}", resource.to_param
30
+ end
31
+
32
+ def parent_command_button_list
33
+ @parent_button_list ||= parent
34
+ until @parent_button_list.nil? || @parent_button_list.kind_of?(CommandButtonList)
35
+ @parent_button_list = @parent_button_list.parent
36
+ end
37
+ return @parent_button_list
38
+ end
39
+
40
+
41
+ end
42
+ end
@@ -0,0 +1,32 @@
1
+ module ExpressAdmin
2
+ class CommandButtonList < ExpressTemplates::Components::Configurable
3
+ include ExpressTemplates::Components::Capabilities::Resourceful
4
+
5
+ tag :ul
6
+
7
+ has_argument :id, "The name of the resource for this command. Eg. 'person' for like_person_path()", as: :resource_name, type: :symbol
8
+ # has_option :exclude, "Exclude some buttons"
9
+ # has_option :only, "only some buttons"
10
+
11
+ contains -> {
12
+ commands.each do |command|
13
+ li {
14
+ command_button(command, disabled: !available?(command))
15
+ }
16
+ end
17
+ }
18
+
19
+ def resource_name
20
+ config[:resource_name]
21
+ end
22
+
23
+ def available?(command)
24
+ resource.available_commands.include?(command)
25
+ end
26
+
27
+ def commands
28
+ resource.commands
29
+ end
30
+
31
+ end
32
+ end
@@ -45,6 +45,7 @@ module ExpressAdmin
45
45
  }
46
46
  tbody {
47
47
  collection.each do |item|
48
+ assigns[collection_member_name.to_sym] = item
48
49
  tr(id: row_id(item), class: row_class(item)) {
49
50
  display_columns.each do |column|
50
51
  td(class: column.name) {
@@ -54,6 +55,7 @@ module ExpressAdmin
54
55
  actions_column(item) if should_show_actions?
55
56
  hidden_column_cell if columns_hidden?
56
57
  }
58
+ assigns[collection_member_name.to_sym] = nil
57
59
  end ; nil
58
60
  }
59
61
 
@@ -16,12 +16,12 @@ module ExpressAdmin
16
16
 
17
17
  protected
18
18
 
19
- def resource_name
19
+ def resource_title
20
20
  config[:id].to_s.titleize
21
21
  end
22
22
 
23
23
  def box_title
24
- config[:title] || (resource.persisted? ? "Edit #{resource_name}" : "New #{resource_name}")
24
+ config[:title] || (resource.persisted? ? "Edit #{resource_title}" : "New #{resource_title}")
25
25
  end
26
26
 
27
27
  def resource
@@ -16,11 +16,11 @@ html {
16
16
  module_sidebar
17
17
  }
18
18
  div(class: 'page-body') {
19
- page_header
19
+ page_header if content_for?(:page_header) || content_for?(:page_header_lead)
20
20
  current_arbre_element.add_child yield
21
21
  }
22
22
  }
23
23
  }
24
24
  current_arbre_element.add_child yield(:page_javascript)
25
25
  }
26
- }
26
+ }
@@ -6,12 +6,34 @@ module ExpressAdmin
6
6
 
7
7
  def call(mapper, options = {})
8
8
  options = @defaults.merge(options)
9
+ modules = []
10
+
11
+ # this is a big hack to reconstruct the module path for the
12
+ # controller from the scope context. I wish rails provided
13
+ # a nice way to get in there and do this but I do not see it
14
+ # yet... probably because rails does not instantiate require
15
+ # controllers to exist for the route map to be constructed
9
16
  controller_name = mapper.send(:parent_resource).controller
10
- resource_class = "#{controller_name.classify.pluralize}Controller".constantize.resource_class
11
- resource_class.commands.each do |action|
12
- # post :foo, to: "module/controller#foo"
13
- mapper.member do
14
- mapper.post action, to: "#{controller_name}##{action}"
17
+ scope = mapper.instance_variable_get(:@scope)
18
+
19
+ while scope.respond_to?(:parent) && scope = scope.parent
20
+ possible_module = scope.instance_variable_get(:@hash)[:module]
21
+ break if possible_module.nil?
22
+ modules << possible_module
23
+ end
24
+ modules.compact!
25
+ modules << controller_name
26
+
27
+ controller_class = "#{modules.join("/").classify.pluralize}Controller".constantize
28
+ if controller_class.respond_to?(:resource_class)
29
+ resource_class = controller_class.resource_class
30
+ if resource_class.respond_to?(:commands)
31
+ resource_class.commands.each do |action|
32
+ # post :foo, to: "module/controller#foo"
33
+ mapper.member do
34
+ mapper.post action.debang, to: "#{controller_name}##{action.debang}"
35
+ end
36
+ end
15
37
  end
16
38
  end
17
39
  end
@@ -43,4 +43,10 @@ module ExpressAdmin
43
43
  end
44
44
  end
45
45
 
46
- ActiveRecord::Base.include(ExpressAdmin::Commands)
46
+ ActiveRecord::Base.include(ExpressAdmin::Commands)
47
+
48
+ class Symbol
49
+ def debang
50
+ to_s.gsub(/\!\Z/, '').to_sym
51
+ end
52
+ end
@@ -28,11 +28,11 @@ module ExpressAdmin
28
28
  base.class_eval do
29
29
 
30
30
  class_attribute :resource_class
31
- self.resource_class = resource_name.classify.constantize
31
+ self.resource_class = infer_resource_class
32
32
 
33
33
  if self.resource_class.respond_to?(:commands)
34
34
  self.resource_class.commands.each do |command|
35
- define_command_method(command.to_s.gsub(/\!\Z/, ''), command)
35
+ define_command_method(command.debang, command)
36
36
  end
37
37
  end
38
38
  end
@@ -46,6 +46,15 @@ module ExpressAdmin
46
46
  self.to_s.demodulize.gsub(/Controller$/, '').singularize.underscore
47
47
  end
48
48
 
49
+ def infer_resource_class
50
+ klass = nil
51
+ if self.parent
52
+ klass = self.parent.const_get(resource_name.classify) rescue nil
53
+ end
54
+ klass ||= resource_name.classify.constantize rescue nil
55
+ klass
56
+ end
57
+
49
58
  protected
50
59
 
51
60
  def define_command_method(action, command)
@@ -55,7 +64,7 @@ module ExpressAdmin
55
64
  resource.send(command)
56
65
  respond_to do |format|
57
66
  format.html { redirect_to :show, layout: defaults[:layout] }
58
- format.js { render status: :ok } # maybe we should return enough info
67
+ format.js { render status: :ok, body: nil } # maybe we should return enough info
59
68
  #to alter display of available or enabled commands?
60
69
 
61
70
  end
@@ -1,3 +1,3 @@
1
1
  module ExpressAdmin
2
- VERSION = "1.5.0"
2
+ VERSION = "1.6.0"
3
3
  end
Binary file
@@ -0,0 +1,43 @@
1
+ require 'test_helper'
2
+
3
+ module Components
4
+
5
+ class CommandButtonTest < ActiveSupport::TestCase
6
+
7
+ def assigns
8
+ {}
9
+ end
10
+
11
+ def helpers
12
+ mock_action_view do
13
+ def twiddle_widget_path(id)
14
+ "/widgets/#{id}/twiddle"
15
+ end
16
+ end
17
+ end
18
+
19
+ def command_button(*args)
20
+ arbre(widget: widgets(:one)) {
21
+ command_button(*args)
22
+ }
23
+ end
24
+
25
+ test "command button creates a form with a submit button having the correct name" do
26
+ assert_match /form.*action="\/widgets\/\d+\/twiddle"/, command_button(:twiddle, resource_name: :widget)
27
+ assert_match /input type="submit" value="Twiddle"/, command_button(:twiddle, resource_name: :widget)
28
+ end
29
+
30
+ def command_button_list(*args)
31
+ arbre(widget: widgets(:one)) {
32
+ command_button_list(*args)
33
+ }
34
+ end
35
+
36
+ test "command_button_list creates a list of command buttons" do
37
+ assert_match /ul class="command-button-list"/, command_button_list(:widget)
38
+ assert_match /li.*<form.*\<\/li>/, command_button_list(:widget).split("\n").join
39
+ end
40
+
41
+ end
42
+
43
+ end
@@ -32,6 +32,10 @@ module ExpressTemplates
32
32
  add_class _default_classes
33
33
  end
34
34
 
35
+ def assigns
36
+ @assigns_with_indifferent_access ||= super.merge(helpers.assigns.with_indifferent_access)
37
+ end
38
+
35
39
  def self.contains(proc = nil, &block)
36
40
  define_method(:_build_body, &(proc || block))
37
41
  end
@@ -38,7 +38,7 @@ module ExpressTemplates
38
38
  if namespace
39
39
  "#{namespace}/#{resource_name}".classify
40
40
  else
41
- resource_name.classify
41
+ resource_name.to_s.classify
42
42
  end
43
43
  end
44
44
 
@@ -120,7 +120,7 @@ module ExpressTemplates
120
120
  config[:collection]
121
121
  end
122
122
  else
123
- self.send(collection_name)
123
+ self.send(collection_name) # should be in view assigns
124
124
  end
125
125
  end
126
126
 
@@ -165,7 +165,7 @@ module ExpressTemplates
165
165
  end
166
166
 
167
167
  def path_namespace
168
- resource_class_name = resource.class.to_s
168
+ resource_class_name = resource_class.to_s
169
169
  resource_class_name.match(/::/) ?
170
170
  resource_class_name.split("::").first.try(:underscore) : nil
171
171
  end
@@ -182,7 +182,12 @@ module ExpressTemplates
182
182
  helpers.resource.to_param.present? # skip on nil resource
183
183
  helpers.resource_path
184
184
  else
185
- helpers.send(resource_path_helper, object)
185
+ if resource_path_helper.match(/\w+\.\w+/)
186
+ namespace, path_helper = resource_path_helper.split('.')
187
+ helpers.send(namespace).send(path_helper, object)
188
+ else
189
+ helpers.send(resource_path_helper, object)
190
+ end
186
191
  end
187
192
  end
188
193
  end
@@ -200,8 +205,7 @@ module ExpressTemplates
200
205
  end
201
206
 
202
207
  def resource
203
- assigns.try(:[], resource_name.to_sym)
204
- # self.send(resource_name)
208
+ self.send(resource_name)
205
209
  end
206
210
  end
207
211
  end
@@ -1,3 +1,3 @@
1
1
  module ExpressTemplates
2
- VERSION = "0.10.0"
2
+ VERSION = "0.10.1"
3
3
  end
@@ -1,5 +1,8 @@
1
1
  require 'test_helper'
2
2
 
3
+ class Account
4
+ end
5
+
3
6
  class CheckboxTest < ActiveSupport::TestCase
4
7
 
5
8
  def assigns
@@ -19657,3 +19657,3225 @@ TreeForTest: test_tree_for_accepts_block_with_custom_content
19657
19657
  ---------------------------------------------------------------------------
19658
19658
  TreeForTest: test_tree_for_renders_correct_markup_with_node.name_as_default
19659
19659
  ---------------------------------------------------------------------------
19660
+ ---------------------------------------------------------------
19661
+ ExpressFormTest: test_express_form_contents_are_inside_the_form
19662
+ ---------------------------------------------------------------
19663
+ ---------------------------------------------------------
19664
+ ExpressFormTest: test_express_form_default_method_is_POST
19665
+ ---------------------------------------------------------
19666
+ -----------------------------------------------------
19667
+ ExpressFormTest: test_simplest_form_contains_form_tag
19668
+ -----------------------------------------------------
19669
+ ---------------------------------------------------------------
19670
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
19671
+ ---------------------------------------------------------------
19672
+ ---------------------------------------------------
19673
+ ExpressFormTest: test_simplest_form_contains_submit
19674
+ ---------------------------------------------------
19675
+ -------------------------------------------
19676
+ ExpressFormTest: test_simplest_form_renders
19677
+ -------------------------------------------
19678
+ -------------------------------------------------------------------
19679
+ ExpressFormTest: test_simplest_form_uses_form_action_for_the_action
19680
+ -------------------------------------------------------------------
19681
+ -----------------------------------------------------------
19682
+ ExpressFormTest: test_simplest_form_will_have_the_proper_id
19683
+ -----------------------------------------------------------
19684
+ -----------------------------------------------------------------------------------------
19685
+ ProcTest: test_#source_body_captures_full_body_when_parens_around_parameters_not_provided
19686
+ -----------------------------------------------------------------------------------------
19687
+ ------------------------------------------------
19688
+ ProcTest: test_#source_body_handles_funky_bodies
19689
+ ------------------------------------------------
19690
+ ----------------------------------------------------------
19691
+ ProcTest: test_#source_body_raises_exception_for_arity_>_0
19692
+ ----------------------------------------------------------
19693
+ ------------------------------------------------------
19694
+ ProcTest: test_#source_body_returns_the_body_of_a_proc
19695
+ ------------------------------------------------------
19696
+ ----------------------------------------------
19697
+ ProcTest: test_#source_returns_a_proc's_source
19698
+ ----------------------------------------------
19699
+ ---------------------------------------------------------------
19700
+ ProcTest: test_#source_work_with_a_stabby_lambda_spanning_lines
19701
+ ---------------------------------------------------------------
19702
+ -----------------------------------------------------------------
19703
+ ProcTest: test_#source_works_when_a_proc_is_inside_a_hash_literal
19704
+ -----------------------------------------------------------------
19705
+ ------------------------------------------------------------
19706
+ ProcTest: test_#source_works_with_a_block_containing_a_block
19707
+ ------------------------------------------------------------
19708
+ --------------------------------------------
19709
+ ProcTest: test_#source_works_with_a_do_block
19710
+ --------------------------------------------
19711
+ -----------------------------------------------------
19712
+ ProcTest: test_#source_works_with_a_single_line_block
19713
+ -----------------------------------------------------
19714
+ -------------------------------------------------
19715
+ ProcTest: test_#source_works_with_a_stabby_lambda
19716
+ -------------------------------------------------
19717
+ ----------------------------------------------------------------------------------------
19718
+ ProcTest: test_.from_source_stores_source_of_a_dynamicly_built_proc_for_later_inspection
19719
+ ----------------------------------------------------------------------------------------
19720
+ ------------------------------------------------------------
19721
+ TreeForTest: test_tree_for_accepts_block_with_custom_content
19722
+ ------------------------------------------------------------
19723
+ ---------------------------------------------------------------------------
19724
+ TreeForTest: test_tree_for_renders_correct_markup_with_node.name_as_default
19725
+ ---------------------------------------------------------------------------
19726
+ -----------------------------------------
19727
+ HelloControllerTest: test_should_get_show
19728
+ -----------------------------------------
19729
+ Processing by HelloController#show as HTML
19730
+ Rendered hello/show.html.et within layouts/application (1.1ms)
19731
+ Completed 200 OK in 163ms (Views: 163.1ms)
19732
+ -----------------------------------------------------------
19733
+ RadioTest: test_radio_has_correct_label_field_name_and_text
19734
+ -----------------------------------------------------------
19735
+ ------------------------------------------------------------------
19736
+ RadioTest: test_radio_options_from_collection_when_options_omitted
19737
+ ------------------------------------------------------------------
19738
+ ----------------------------------------------------------
19739
+ RadioTest: test_radio_options_may_be_specified_with_a_hash
19740
+ ----------------------------------------------------------
19741
+ --------------------------------------------------------
19742
+ RadioTest: test_radio_options_present_with_class_'radio'
19743
+ --------------------------------------------------------
19744
+ -------------------------------------------------
19745
+ RadioTest: test_radio_requires_a_parent_component
19746
+ -------------------------------------------------
19747
+ ------------------------------------------------------------
19748
+ RadioTest: test_radio_throws_error_if_given_improper_options
19749
+ ------------------------------------------------------------
19750
+ --------------------------------------------
19751
+ CompilerTest: test_.compile_returns_a_string
19752
+ --------------------------------------------
19753
+ ----------------------------------------------------------------
19754
+ SelectTest: test_select_collection_works_using_collection_select
19755
+ ----------------------------------------------------------------
19756
+ ------------------------------------------
19757
+ SelectTest: test_select_comes_with_a_label
19758
+ ------------------------------------------
19759
+ --------------------------------------------------
19760
+ SelectTest: test_select_defaults_can_be_overridden
19761
+ --------------------------------------------------
19762
+ -------------------------------------------------------
19763
+ SelectTest: test_select_defaults_to_include_blank:_true
19764
+ -------------------------------------------------------
19765
+ ------------------------------------------------------------------------------------
19766
+ SelectTest: test_select_generates_correct_options_when_values_are_specified_as_array
19767
+ ------------------------------------------------------------------------------------
19768
+ ------------------------------------------------------------------------
19769
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
19770
+ ------------------------------------------------------------------------
19771
+ --------------------------------------------------------------
19772
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
19773
+ --------------------------------------------------------------
19774
+ -----------------------------------------------------------------------------------------
19775
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
19776
+ -----------------------------------------------------------------------------------------
19777
+ ---------------------------------------------------
19778
+ SelectTest: test_select_requires_a_parent_component
19779
+ ---------------------------------------------------
19780
+ ---------------------------------------------------------------------------
19781
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
19782
+ ---------------------------------------------------------------------------
19783
+ -------------------------------------------------------------------------
19784
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
19785
+ -------------------------------------------------------------------------
19786
+ ----------------------------------------------
19787
+ SubmitTest: test_submit_accepts_a_class_option
19788
+ ----------------------------------------------
19789
+ --------------------------------------------------------
19790
+ SubmitTest: test_submit_accepts_a_value_and_class_option
19791
+ --------------------------------------------------------
19792
+ ----------------------------------------------------
19793
+ SubmitTest: test_submit_takes_string_param_for_value
19794
+ ----------------------------------------------------
19795
+ -----------------------------------------------------------------------------
19796
+ ConfigurableTest: test_.has_argument_adds_a_positional_configuration_argument
19797
+ -----------------------------------------------------------------------------
19798
+ ----------------------------------------------------------------------------------------
19799
+ ConfigurableTest: test_.has_argument_appends_supported_arguments_in_order_of_inheritence
19800
+ ----------------------------------------------------------------------------------------
19801
+ -------------------------------------------------------------------------------
19802
+ ConfigurableTest: test_.has_argument_as:_allows_overwrite_of_inherited_argument
19803
+ -------------------------------------------------------------------------------
19804
+ -----------------------------------------------------------------------------------------------------
19805
+ ConfigurableTest: test_.has_argument_makes_builder_arguments_accessible_by_name_according_to_position
19806
+ -----------------------------------------------------------------------------------------------------
19807
+ ---------------------------------------------------
19808
+ ConfigurableTest: test_default_values_are_supported
19809
+ ---------------------------------------------------
19810
+ ----------------------------------------------------------------------
19811
+ ConfigurableTest: test_default_values_for_attributes_can_be_overridden
19812
+ ----------------------------------------------------------------------
19813
+ ------------------------------------------------------------------------
19814
+ ConfigurableTest: test_does_not_pass_declared_options_as_html_attributes
19815
+ ------------------------------------------------------------------------
19816
+ -----------------------------------------------------------
19817
+ ConfigurableTest: test_has_no_id_attribute_if_not_specified
19818
+ -----------------------------------------------------------
19819
+ --------------------------------------------
19820
+ ConfigurableTest: test_options_are_inherited
19821
+ --------------------------------------------
19822
+ -------------------------------------------------------
19823
+ ConfigurableTest: test_renders_first_argument_as_dom_id
19824
+ -------------------------------------------------------
19825
+ ----------------------------------------------------
19826
+ ConfigurableTest: test_required_options_are_required
19827
+ ----------------------------------------------------
19828
+ --------------------------------------------------
19829
+ ConfigurableTest: test_supports_option_declaration
19830
+ --------------------------------------------------
19831
+ ---------------------------------------------------------------
19832
+ ConfigurableTest: test_unrecognized_options_raises_an_exception
19833
+ ---------------------------------------------------------------
19834
+ ----------------------------------------------------
19835
+ ConfigurableTest: test_values_can_be_set_for_options
19836
+ ----------------------------------------------------
19837
+ --------------------------------------------------------------------------------------------------
19838
+ ExpressTemplates::ResourcefulTest: test_#resource_class_returns_resource_class_option_if_specified
19839
+ --------------------------------------------------------------------------------------------------
19840
+ -----------------------------------------------------------------------------------------
19841
+ ExpressTemplates::ResourcefulTest: test_infers_a_namespace_and_no_prefix_within_an_engine
19842
+ -----------------------------------------------------------------------------------------
19843
+ ---------------------------------------------------------------------------------------------------
19844
+ ExpressTemplates::ResourcefulTest: test_infers_namespace_and_path_prefix_within_an_engine_and_scope
19845
+ ---------------------------------------------------------------------------------------------------
19846
+ ------------------------------------------------------------------------------------------------
19847
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_infers_prefix_within_a_scope_within_an_app
19848
+ ------------------------------------------------------------------------------------------------
19849
+ -----------------------------------------------------------------------------
19850
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_no_prefix_within_an_app
19851
+ -----------------------------------------------------------------------------
19852
+ ------------------------------------------------------------------------------------
19853
+ InterpolatorTest: test_"{{some_{{thing}}_foo}}"_transforms_to_"#{some_#{thing}_foo}"
19854
+ ------------------------------------------------------------------------------------
19855
+ -------------------------------------------------------------------
19856
+ InterpolatorTest: test_"{{something}}"_transforms_to_"#{something}"
19857
+ -------------------------------------------------------------------
19858
+ ---------------------------------------------------------------------
19859
+ InterpolatorTest: test_'a_lot_of_{{something_"{{good}}"}}'_transforms
19860
+ ---------------------------------------------------------------------
19861
+ ---------------------------------------------------------------------
19862
+ InterpolatorTest: test_nested_with_multiple_nested_expressions_parses
19863
+ ---------------------------------------------------------------------
19864
+ ----------------------------------------------------
19865
+ InterpolatorTest: test_nested_with_outer_text_parses
19866
+ ----------------------------------------------------
19867
+ -------------------------------------------------------
19868
+ InterpolatorTest: test_nested_without_outer_text_parses
19869
+ -------------------------------------------------------
19870
+ ---------------------------------------------------------------------
19871
+ InterpolatorTest: test_simple_expression_with_surrounding_text_parses
19872
+ ---------------------------------------------------------------------
19873
+ -------------------------------------------------
19874
+ InterpolatorTest: test_simplest_expression_parses
19875
+ -------------------------------------------------
19876
+ ---------------------------------------------------------------------------------------------
19877
+ IndenterTest: test_.for(:name)_returns_current_indent_without_newline_when_block_is_not_given
19878
+ ---------------------------------------------------------------------------------------------
19879
+ -----------------------------------------------------------------
19880
+ IndenterTest: test_.for(:name)_takes_a_block_receiving_whitespace
19881
+ -----------------------------------------------------------------
19882
+ ------------------------------------------------------------------
19883
+ IndenterTest: test_nesting_blocks_increases_whitespace_accordingly
19884
+ ------------------------------------------------------------------
19885
+ --------------------------------------------------------------
19886
+ HandlerTest: test_helpers_returning_html_when_alone_in_a_block
19887
+ --------------------------------------------------------------
19888
+ ------------------------------------------------------------------------
19889
+ HandlerTest: test_helpers_returning_html_work_in_sequence_within_a_block
19890
+ ------------------------------------------------------------------------
19891
+ ----------------------------------------------------------
19892
+ HandlerTest: test_html_generates_<h1>Hello</h1>_by_default
19893
+ ----------------------------------------------------------
19894
+ -----------------------------
19895
+ HandlerTest: test_locals_work
19896
+ -----------------------------
19897
+ ------------------------------------------------------------
19898
+ HandlerTest: test_nesting_elements_with_ruby_block_structure
19899
+ ------------------------------------------------------------
19900
+ ----------------------------------
19901
+ HandlerTest: test_other_attributes
19902
+ ----------------------------------
19903
+ -------------------------------------------
19904
+ HandlerTest: test_our_handler_is_registered
19905
+ -------------------------------------------
19906
+ ------------------------------------------------------------------
19907
+ HandlerTest: test_raises_warning_if_template_has_conditional_logic
19908
+ ------------------------------------------------------------------
19909
+ ---------------------------------------
19910
+ HandlerTest: test_string_in_block_works
19911
+ ---------------------------------------
19912
+ ------------------------------------------------------------------------------------
19913
+ StringTest: test_String#inspect_works_normally_when_#to_view_code_hasn't_been_called
19914
+ ------------------------------------------------------------------------------------
19915
+ --------------------------------------------------------------------------------
19916
+ StringTest: test_String#to_view_code_causes_subsequent_#inspect_to_remove_quotes
19917
+ --------------------------------------------------------------------------------
19918
+ -------------------------------------------------------
19919
+ StringTest: test_String#to_view_code_returns_the_string
19920
+ -------------------------------------------------------
19921
+ -----------------------------------------------------------------
19922
+ BaseTest: test_.contains_places_fragment_inside_the_enclosing_tag
19923
+ -----------------------------------------------------------------
19924
+ ---------------------------------------------------------
19925
+ BaseTest: test_.has_attributes_creates_default_attributes
19926
+ ---------------------------------------------------------
19927
+ -----------------------------------------------------
19928
+ BaseTest: test_.tag_name_determines_the_enclosing_tag
19929
+ -----------------------------------------------------
19930
+ --------------------------------------------------
19931
+ BaseTest: test_before_build_hook_runs_before_build
19932
+ --------------------------------------------------
19933
+ --------------------------------------------------------------
19934
+ BaseTest: test_class_name_is_dasherized_instead_of_underscored
19935
+ --------------------------------------------------------------
19936
+ -----------------------------------------------------------
19937
+ BaseTest: test_class_option_adds_a_class,_does_not_override
19938
+ -----------------------------------------------------------
19939
+ ----------------------------------------------------
19940
+ BaseTest: test_options_are_passed_to_html_attributes
19941
+ ----------------------------------------------------
19942
+ ---------------------------------------------------------------------------------------
19943
+ BasicFieldsTest: test_adds_error_class_if_there_are_errors_on_a_field_with_no_class_set
19944
+ ---------------------------------------------------------------------------------------
19945
+ ----------------------------------------------------------------------------------------------
19946
+ BasicFieldsTest: test_adds_error_class_if_there_are_errors_on_a_field_with_no_input_attributes
19947
+ ----------------------------------------------------------------------------------------------
19948
+ --------------------------------------------------------------------------------------------
19949
+ BasicFieldsTest: test_adds_error_to_class_if_there_are_errors_on_a_field_with_existing_class
19950
+ --------------------------------------------------------------------------------------------
19951
+ -------------------------------------
19952
+ BasicFieldsTest: test_all_fields_work
19953
+ -------------------------------------
19954
+ ---------------------------------------------------------------------------------
19955
+ BasicFieldsTest: test_hidden_field_passes_additional_html_options_to_rails_helper
19956
+ ---------------------------------------------------------------------------------
19957
+ ---------------------------------------------------------
19958
+ BasicFieldsTest: test_hidden_uses_rails_hidden_tag_helper
19959
+ ---------------------------------------------------------
19960
+ ---------------------------------------------------------
19961
+ BasicFieldsTest: test_passing_html_options_to_fields_work
19962
+ ---------------------------------------------------------
19963
+ -----------------------------------------------------------------------------
19964
+ BasicFieldsTest: test_textarea_passes_additional_html_options_to_rails_helper
19965
+ -----------------------------------------------------------------------------
19966
+ ----------------------------------------------------------
19967
+ BasicFieldsTest: test_textarea_uses_rails_text_area_helper
19968
+ ----------------------------------------------------------
19969
+ -------------------------------------------------------------
19970
+ CheckboxTest: test_checkbox_places_the_label_before_the_input
19971
+ -------------------------------------------------------------
19972
+ -------------------------------------------------------
19973
+ CheckboxTest: test_checkbox_respects_label_after:_true_
19974
+ -------------------------------------------------------
19975
+ ---------------------------------------------------------------------
19976
+ ExpressTemplatesTest: test_ExpressTemplates.render_renders_a_template
19977
+ ---------------------------------------------------------------------
19978
+ -------------------------------------------
19979
+ ExpressTemplatesTest: test_we_have_a_module
19980
+ -------------------------------------------
19981
+ --------------------------------------------------------------------------------------------------
19982
+ ExpressTemplates::ResourcefulTest: test_#resource_class_returns_resource_class_option_if_specified
19983
+ --------------------------------------------------------------------------------------------------
19984
+ -----------------------------------------------------------------------------------------
19985
+ ExpressTemplates::ResourcefulTest: test_infers_a_namespace_and_no_prefix_within_an_engine
19986
+ -----------------------------------------------------------------------------------------
19987
+ ---------------------------------------------------------------------------------------------------
19988
+ ExpressTemplates::ResourcefulTest: test_infers_namespace_and_path_prefix_within_an_engine_and_scope
19989
+ ---------------------------------------------------------------------------------------------------
19990
+ ------------------------------------------------------------------------------------------------
19991
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_infers_prefix_within_a_scope_within_an_app
19992
+ ------------------------------------------------------------------------------------------------
19993
+ -----------------------------------------------------------------------------
19994
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_no_prefix_within_an_app
19995
+ -----------------------------------------------------------------------------
19996
+ ---------------------------------------------------------------------------------------
19997
+ BasicFieldsTest: test_adds_error_class_if_there_are_errors_on_a_field_with_no_class_set
19998
+ ---------------------------------------------------------------------------------------
19999
+ ----------------------------------------------------------------------------------------------
20000
+ BasicFieldsTest: test_adds_error_class_if_there_are_errors_on_a_field_with_no_input_attributes
20001
+ ----------------------------------------------------------------------------------------------
20002
+ --------------------------------------------------------------------------------------------
20003
+ BasicFieldsTest: test_adds_error_to_class_if_there_are_errors_on_a_field_with_existing_class
20004
+ --------------------------------------------------------------------------------------------
20005
+ -------------------------------------
20006
+ BasicFieldsTest: test_all_fields_work
20007
+ -------------------------------------
20008
+ ---------------------------------------------------------------------------------
20009
+ BasicFieldsTest: test_hidden_field_passes_additional_html_options_to_rails_helper
20010
+ ---------------------------------------------------------------------------------
20011
+ ---------------------------------------------------------
20012
+ BasicFieldsTest: test_hidden_uses_rails_hidden_tag_helper
20013
+ ---------------------------------------------------------
20014
+ ---------------------------------------------------------
20015
+ BasicFieldsTest: test_passing_html_options_to_fields_work
20016
+ ---------------------------------------------------------
20017
+ -----------------------------------------------------------------------------
20018
+ BasicFieldsTest: test_textarea_passes_additional_html_options_to_rails_helper
20019
+ -----------------------------------------------------------------------------
20020
+ ----------------------------------------------------------
20021
+ BasicFieldsTest: test_textarea_uses_rails_text_area_helper
20022
+ ----------------------------------------------------------
20023
+ --------------------------------------------------------------
20024
+ HandlerTest: test_helpers_returning_html_when_alone_in_a_block
20025
+ --------------------------------------------------------------
20026
+ ------------------------------------------------------------------------
20027
+ HandlerTest: test_helpers_returning_html_work_in_sequence_within_a_block
20028
+ ------------------------------------------------------------------------
20029
+ ----------------------------------------------------------
20030
+ HandlerTest: test_html_generates_<h1>Hello</h1>_by_default
20031
+ ----------------------------------------------------------
20032
+ -----------------------------
20033
+ HandlerTest: test_locals_work
20034
+ -----------------------------
20035
+ ------------------------------------------------------------
20036
+ HandlerTest: test_nesting_elements_with_ruby_block_structure
20037
+ ------------------------------------------------------------
20038
+ ----------------------------------
20039
+ HandlerTest: test_other_attributes
20040
+ ----------------------------------
20041
+ -------------------------------------------
20042
+ HandlerTest: test_our_handler_is_registered
20043
+ -------------------------------------------
20044
+ ------------------------------------------------------------------
20045
+ HandlerTest: test_raises_warning_if_template_has_conditional_logic
20046
+ ------------------------------------------------------------------
20047
+ ---------------------------------------
20048
+ HandlerTest: test_string_in_block_works
20049
+ ---------------------------------------
20050
+ ---------------------------------------------------------------
20051
+ ExpressFormTest: test_express_form_contents_are_inside_the_form
20052
+ ---------------------------------------------------------------
20053
+ ---------------------------------------------------------
20054
+ ExpressFormTest: test_express_form_default_method_is_POST
20055
+ ---------------------------------------------------------
20056
+ -----------------------------------------------------
20057
+ ExpressFormTest: test_simplest_form_contains_form_tag
20058
+ -----------------------------------------------------
20059
+ ---------------------------------------------------------------
20060
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
20061
+ ---------------------------------------------------------------
20062
+ ---------------------------------------------------
20063
+ ExpressFormTest: test_simplest_form_contains_submit
20064
+ ---------------------------------------------------
20065
+ -------------------------------------------
20066
+ ExpressFormTest: test_simplest_form_renders
20067
+ -------------------------------------------
20068
+ -------------------------------------------------------------------
20069
+ ExpressFormTest: test_simplest_form_uses_form_action_for_the_action
20070
+ -------------------------------------------------------------------
20071
+ -----------------------------------------------------------
20072
+ ExpressFormTest: test_simplest_form_will_have_the_proper_id
20073
+ -----------------------------------------------------------
20074
+ -----------------------------------------------------------------------------
20075
+ ConfigurableTest: test_.has_argument_adds_a_positional_configuration_argument
20076
+ -----------------------------------------------------------------------------
20077
+ ----------------------------------------------------------------------------------------
20078
+ ConfigurableTest: test_.has_argument_appends_supported_arguments_in_order_of_inheritence
20079
+ ----------------------------------------------------------------------------------------
20080
+ -------------------------------------------------------------------------------
20081
+ ConfigurableTest: test_.has_argument_as:_allows_overwrite_of_inherited_argument
20082
+ -------------------------------------------------------------------------------
20083
+ -----------------------------------------------------------------------------------------------------
20084
+ ConfigurableTest: test_.has_argument_makes_builder_arguments_accessible_by_name_according_to_position
20085
+ -----------------------------------------------------------------------------------------------------
20086
+ ---------------------------------------------------
20087
+ ConfigurableTest: test_default_values_are_supported
20088
+ ---------------------------------------------------
20089
+ ----------------------------------------------------------------------
20090
+ ConfigurableTest: test_default_values_for_attributes_can_be_overridden
20091
+ ----------------------------------------------------------------------
20092
+ ------------------------------------------------------------------------
20093
+ ConfigurableTest: test_does_not_pass_declared_options_as_html_attributes
20094
+ ------------------------------------------------------------------------
20095
+ -----------------------------------------------------------
20096
+ ConfigurableTest: test_has_no_id_attribute_if_not_specified
20097
+ -----------------------------------------------------------
20098
+ --------------------------------------------
20099
+ ConfigurableTest: test_options_are_inherited
20100
+ --------------------------------------------
20101
+ -------------------------------------------------------
20102
+ ConfigurableTest: test_renders_first_argument_as_dom_id
20103
+ -------------------------------------------------------
20104
+ ----------------------------------------------------
20105
+ ConfigurableTest: test_required_options_are_required
20106
+ ----------------------------------------------------
20107
+ --------------------------------------------------
20108
+ ConfigurableTest: test_supports_option_declaration
20109
+ --------------------------------------------------
20110
+ ---------------------------------------------------------------
20111
+ ConfigurableTest: test_unrecognized_options_raises_an_exception
20112
+ ---------------------------------------------------------------
20113
+ ----------------------------------------------------
20114
+ ConfigurableTest: test_values_can_be_set_for_options
20115
+ ----------------------------------------------------
20116
+ -------------------------------------------------------------
20117
+ CheckboxTest: test_checkbox_places_the_label_before_the_input
20118
+ -------------------------------------------------------------
20119
+ -------------------------------------------------------
20120
+ CheckboxTest: test_checkbox_respects_label_after:_true_
20121
+ -------------------------------------------------------
20122
+ ---------------------------------------------------------------------------------------------
20123
+ IndenterTest: test_.for(:name)_returns_current_indent_without_newline_when_block_is_not_given
20124
+ ---------------------------------------------------------------------------------------------
20125
+ -----------------------------------------------------------------
20126
+ IndenterTest: test_.for(:name)_takes_a_block_receiving_whitespace
20127
+ -----------------------------------------------------------------
20128
+ ------------------------------------------------------------------
20129
+ IndenterTest: test_nesting_blocks_increases_whitespace_accordingly
20130
+ ------------------------------------------------------------------
20131
+ ---------------------------------------------------------------------
20132
+ ExpressTemplatesTest: test_ExpressTemplates.render_renders_a_template
20133
+ ---------------------------------------------------------------------
20134
+ -------------------------------------------
20135
+ ExpressTemplatesTest: test_we_have_a_module
20136
+ -------------------------------------------
20137
+ ------------------------------------------------------------------------------------
20138
+ InterpolatorTest: test_"{{some_{{thing}}_foo}}"_transforms_to_"#{some_#{thing}_foo}"
20139
+ ------------------------------------------------------------------------------------
20140
+ -------------------------------------------------------------------
20141
+ InterpolatorTest: test_"{{something}}"_transforms_to_"#{something}"
20142
+ -------------------------------------------------------------------
20143
+ ---------------------------------------------------------------------
20144
+ InterpolatorTest: test_'a_lot_of_{{something_"{{good}}"}}'_transforms
20145
+ ---------------------------------------------------------------------
20146
+ ---------------------------------------------------------------------
20147
+ InterpolatorTest: test_nested_with_multiple_nested_expressions_parses
20148
+ ---------------------------------------------------------------------
20149
+ ----------------------------------------------------
20150
+ InterpolatorTest: test_nested_with_outer_text_parses
20151
+ ----------------------------------------------------
20152
+ -------------------------------------------------------
20153
+ InterpolatorTest: test_nested_without_outer_text_parses
20154
+ -------------------------------------------------------
20155
+ ---------------------------------------------------------------------
20156
+ InterpolatorTest: test_simple_expression_with_surrounding_text_parses
20157
+ ---------------------------------------------------------------------
20158
+ -------------------------------------------------
20159
+ InterpolatorTest: test_simplest_expression_parses
20160
+ -------------------------------------------------
20161
+ -----------------------------------------------------------------
20162
+ BaseTest: test_.contains_places_fragment_inside_the_enclosing_tag
20163
+ -----------------------------------------------------------------
20164
+ ---------------------------------------------------------
20165
+ BaseTest: test_.has_attributes_creates_default_attributes
20166
+ ---------------------------------------------------------
20167
+ -----------------------------------------------------
20168
+ BaseTest: test_.tag_name_determines_the_enclosing_tag
20169
+ -----------------------------------------------------
20170
+ --------------------------------------------------
20171
+ BaseTest: test_before_build_hook_runs_before_build
20172
+ --------------------------------------------------
20173
+ --------------------------------------------------------------
20174
+ BaseTest: test_class_name_is_dasherized_instead_of_underscored
20175
+ --------------------------------------------------------------
20176
+ -----------------------------------------------------------
20177
+ BaseTest: test_class_option_adds_a_class,_does_not_override
20178
+ -----------------------------------------------------------
20179
+ ----------------------------------------------------
20180
+ BaseTest: test_options_are_passed_to_html_attributes
20181
+ ----------------------------------------------------
20182
+ ----------------------------------------------
20183
+ SubmitTest: test_submit_accepts_a_class_option
20184
+ ----------------------------------------------
20185
+ --------------------------------------------------------
20186
+ SubmitTest: test_submit_accepts_a_value_and_class_option
20187
+ --------------------------------------------------------
20188
+ ----------------------------------------------------
20189
+ SubmitTest: test_submit_takes_string_param_for_value
20190
+ ----------------------------------------------------
20191
+ --------------------------------------------
20192
+ CompilerTest: test_.compile_returns_a_string
20193
+ --------------------------------------------
20194
+ -----------------------------------------
20195
+ HelloControllerTest: test_should_get_show
20196
+ -----------------------------------------
20197
+ Processing by HelloController#show as HTML
20198
+ Rendered hello/show.html.et within layouts/application (1.2ms)
20199
+ Completed 200 OK in 104ms (Views: 104.0ms)
20200
+ -----------------------------------------------------------
20201
+ RadioTest: test_radio_has_correct_label_field_name_and_text
20202
+ -----------------------------------------------------------
20203
+ ------------------------------------------------------------------
20204
+ RadioTest: test_radio_options_from_collection_when_options_omitted
20205
+ ------------------------------------------------------------------
20206
+ ----------------------------------------------------------
20207
+ RadioTest: test_radio_options_may_be_specified_with_a_hash
20208
+ ----------------------------------------------------------
20209
+ --------------------------------------------------------
20210
+ RadioTest: test_radio_options_present_with_class_'radio'
20211
+ --------------------------------------------------------
20212
+ -------------------------------------------------
20213
+ RadioTest: test_radio_requires_a_parent_component
20214
+ -------------------------------------------------
20215
+ ------------------------------------------------------------
20216
+ RadioTest: test_radio_throws_error_if_given_improper_options
20217
+ ------------------------------------------------------------
20218
+ ----------------------------------------------------------------
20219
+ SelectTest: test_select_collection_works_using_collection_select
20220
+ ----------------------------------------------------------------
20221
+ ------------------------------------------
20222
+ SelectTest: test_select_comes_with_a_label
20223
+ ------------------------------------------
20224
+ --------------------------------------------------
20225
+ SelectTest: test_select_defaults_can_be_overridden
20226
+ --------------------------------------------------
20227
+ -------------------------------------------------------
20228
+ SelectTest: test_select_defaults_to_include_blank:_true
20229
+ -------------------------------------------------------
20230
+ ------------------------------------------------------------------------------------
20231
+ SelectTest: test_select_generates_correct_options_when_values_are_specified_as_array
20232
+ ------------------------------------------------------------------------------------
20233
+ ------------------------------------------------------------------------
20234
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
20235
+ ------------------------------------------------------------------------
20236
+ --------------------------------------------------------------
20237
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
20238
+ --------------------------------------------------------------
20239
+ -----------------------------------------------------------------------------------------
20240
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
20241
+ -----------------------------------------------------------------------------------------
20242
+ ---------------------------------------------------
20243
+ SelectTest: test_select_requires_a_parent_component
20244
+ ---------------------------------------------------
20245
+ ---------------------------------------------------------------------------
20246
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
20247
+ ---------------------------------------------------------------------------
20248
+ -------------------------------------------------------------------------
20249
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
20250
+ -------------------------------------------------------------------------
20251
+ -----------------------------------------------------------------------------------------
20252
+ ProcTest: test_#source_body_captures_full_body_when_parens_around_parameters_not_provided
20253
+ -----------------------------------------------------------------------------------------
20254
+ ------------------------------------------------
20255
+ ProcTest: test_#source_body_handles_funky_bodies
20256
+ ------------------------------------------------
20257
+ ----------------------------------------------------------
20258
+ ProcTest: test_#source_body_raises_exception_for_arity_>_0
20259
+ ----------------------------------------------------------
20260
+ ------------------------------------------------------
20261
+ ProcTest: test_#source_body_returns_the_body_of_a_proc
20262
+ ------------------------------------------------------
20263
+ ----------------------------------------------
20264
+ ProcTest: test_#source_returns_a_proc's_source
20265
+ ----------------------------------------------
20266
+ ---------------------------------------------------------------
20267
+ ProcTest: test_#source_work_with_a_stabby_lambda_spanning_lines
20268
+ ---------------------------------------------------------------
20269
+ -----------------------------------------------------------------
20270
+ ProcTest: test_#source_works_when_a_proc_is_inside_a_hash_literal
20271
+ -----------------------------------------------------------------
20272
+ ------------------------------------------------------------
20273
+ ProcTest: test_#source_works_with_a_block_containing_a_block
20274
+ ------------------------------------------------------------
20275
+ --------------------------------------------
20276
+ ProcTest: test_#source_works_with_a_do_block
20277
+ --------------------------------------------
20278
+ -----------------------------------------------------
20279
+ ProcTest: test_#source_works_with_a_single_line_block
20280
+ -----------------------------------------------------
20281
+ -------------------------------------------------
20282
+ ProcTest: test_#source_works_with_a_stabby_lambda
20283
+ -------------------------------------------------
20284
+ ----------------------------------------------------------------------------------------
20285
+ ProcTest: test_.from_source_stores_source_of_a_dynamicly_built_proc_for_later_inspection
20286
+ ----------------------------------------------------------------------------------------
20287
+ ------------------------------------------------------------------------------------
20288
+ StringTest: test_String#inspect_works_normally_when_#to_view_code_hasn't_been_called
20289
+ ------------------------------------------------------------------------------------
20290
+ --------------------------------------------------------------------------------
20291
+ StringTest: test_String#to_view_code_causes_subsequent_#inspect_to_remove_quotes
20292
+ --------------------------------------------------------------------------------
20293
+ -------------------------------------------------------
20294
+ StringTest: test_String#to_view_code_returns_the_string
20295
+ -------------------------------------------------------
20296
+ ------------------------------------------------------------
20297
+ TreeForTest: test_tree_for_accepts_block_with_custom_content
20298
+ ------------------------------------------------------------
20299
+ ---------------------------------------------------------------------------
20300
+ TreeForTest: test_tree_for_renders_correct_markup_with_node.name_as_default
20301
+ ---------------------------------------------------------------------------
20302
+ ---------------------------------------------------------------
20303
+ ExpressFormTest: test_express_form_contents_are_inside_the_form
20304
+ ---------------------------------------------------------------
20305
+ ---------------------------------------------------------
20306
+ ExpressFormTest: test_express_form_default_method_is_POST
20307
+ ---------------------------------------------------------
20308
+ -----------------------------------------------------
20309
+ ExpressFormTest: test_simplest_form_contains_form_tag
20310
+ -----------------------------------------------------
20311
+ ---------------------------------------------------------------
20312
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
20313
+ ---------------------------------------------------------------
20314
+ ---------------------------------------------------
20315
+ ExpressFormTest: test_simplest_form_contains_submit
20316
+ ---------------------------------------------------
20317
+ -------------------------------------------
20318
+ ExpressFormTest: test_simplest_form_renders
20319
+ -------------------------------------------
20320
+ -------------------------------------------------------------------
20321
+ ExpressFormTest: test_simplest_form_uses_form_action_for_the_action
20322
+ -------------------------------------------------------------------
20323
+ -----------------------------------------------------------
20324
+ ExpressFormTest: test_simplest_form_will_have_the_proper_id
20325
+ -----------------------------------------------------------
20326
+ ---------------------------------------------------------------------------------------------
20327
+ IndenterTest: test_.for(:name)_returns_current_indent_without_newline_when_block_is_not_given
20328
+ ---------------------------------------------------------------------------------------------
20329
+ -----------------------------------------------------------------
20330
+ IndenterTest: test_.for(:name)_takes_a_block_receiving_whitespace
20331
+ -----------------------------------------------------------------
20332
+ ------------------------------------------------------------------
20333
+ IndenterTest: test_nesting_blocks_increases_whitespace_accordingly
20334
+ ------------------------------------------------------------------
20335
+ ---------------------------------------------------------------------------------------
20336
+ BasicFieldsTest: test_adds_error_class_if_there_are_errors_on_a_field_with_no_class_set
20337
+ ---------------------------------------------------------------------------------------
20338
+ ----------------------------------------------------------------------------------------------
20339
+ BasicFieldsTest: test_adds_error_class_if_there_are_errors_on_a_field_with_no_input_attributes
20340
+ ----------------------------------------------------------------------------------------------
20341
+ --------------------------------------------------------------------------------------------
20342
+ BasicFieldsTest: test_adds_error_to_class_if_there_are_errors_on_a_field_with_existing_class
20343
+ --------------------------------------------------------------------------------------------
20344
+ -------------------------------------
20345
+ BasicFieldsTest: test_all_fields_work
20346
+ -------------------------------------
20347
+ ---------------------------------------------------------------------------------
20348
+ BasicFieldsTest: test_hidden_field_passes_additional_html_options_to_rails_helper
20349
+ ---------------------------------------------------------------------------------
20350
+ ---------------------------------------------------------
20351
+ BasicFieldsTest: test_hidden_uses_rails_hidden_tag_helper
20352
+ ---------------------------------------------------------
20353
+ ---------------------------------------------------------
20354
+ BasicFieldsTest: test_passing_html_options_to_fields_work
20355
+ ---------------------------------------------------------
20356
+ -----------------------------------------------------------------------------
20357
+ BasicFieldsTest: test_textarea_passes_additional_html_options_to_rails_helper
20358
+ -----------------------------------------------------------------------------
20359
+ ----------------------------------------------------------
20360
+ BasicFieldsTest: test_textarea_uses_rails_text_area_helper
20361
+ ----------------------------------------------------------
20362
+ ---------------------------------------------------------------------
20363
+ ExpressTemplatesTest: test_ExpressTemplates.render_renders_a_template
20364
+ ---------------------------------------------------------------------
20365
+ -------------------------------------------
20366
+ ExpressTemplatesTest: test_we_have_a_module
20367
+ -------------------------------------------
20368
+ -----------------------------------------------------------------------------------------
20369
+ ProcTest: test_#source_body_captures_full_body_when_parens_around_parameters_not_provided
20370
+ -----------------------------------------------------------------------------------------
20371
+ ------------------------------------------------
20372
+ ProcTest: test_#source_body_handles_funky_bodies
20373
+ ------------------------------------------------
20374
+ ----------------------------------------------------------
20375
+ ProcTest: test_#source_body_raises_exception_for_arity_>_0
20376
+ ----------------------------------------------------------
20377
+ ------------------------------------------------------
20378
+ ProcTest: test_#source_body_returns_the_body_of_a_proc
20379
+ ------------------------------------------------------
20380
+ ----------------------------------------------
20381
+ ProcTest: test_#source_returns_a_proc's_source
20382
+ ----------------------------------------------
20383
+ ---------------------------------------------------------------
20384
+ ProcTest: test_#source_work_with_a_stabby_lambda_spanning_lines
20385
+ ---------------------------------------------------------------
20386
+ -----------------------------------------------------------------
20387
+ ProcTest: test_#source_works_when_a_proc_is_inside_a_hash_literal
20388
+ -----------------------------------------------------------------
20389
+ ------------------------------------------------------------
20390
+ ProcTest: test_#source_works_with_a_block_containing_a_block
20391
+ ------------------------------------------------------------
20392
+ --------------------------------------------
20393
+ ProcTest: test_#source_works_with_a_do_block
20394
+ --------------------------------------------
20395
+ -----------------------------------------------------
20396
+ ProcTest: test_#source_works_with_a_single_line_block
20397
+ -----------------------------------------------------
20398
+ -------------------------------------------------
20399
+ ProcTest: test_#source_works_with_a_stabby_lambda
20400
+ -------------------------------------------------
20401
+ ----------------------------------------------------------------------------------------
20402
+ ProcTest: test_.from_source_stores_source_of_a_dynamicly_built_proc_for_later_inspection
20403
+ ----------------------------------------------------------------------------------------
20404
+ ------------------------------------------------------------------------------------
20405
+ StringTest: test_String#inspect_works_normally_when_#to_view_code_hasn't_been_called
20406
+ ------------------------------------------------------------------------------------
20407
+ --------------------------------------------------------------------------------
20408
+ StringTest: test_String#to_view_code_causes_subsequent_#inspect_to_remove_quotes
20409
+ --------------------------------------------------------------------------------
20410
+ -------------------------------------------------------
20411
+ StringTest: test_String#to_view_code_returns_the_string
20412
+ -------------------------------------------------------
20413
+ ------------------------------------------------------------
20414
+ TreeForTest: test_tree_for_accepts_block_with_custom_content
20415
+ ------------------------------------------------------------
20416
+ ---------------------------------------------------------------------------
20417
+ TreeForTest: test_tree_for_renders_correct_markup_with_node.name_as_default
20418
+ ---------------------------------------------------------------------------
20419
+ -----------------------------------------
20420
+ HelloControllerTest: test_should_get_show
20421
+ -----------------------------------------
20422
+ Processing by HelloController#show as HTML
20423
+ Rendered hello/show.html.et within layouts/application (0.9ms)
20424
+ Completed 200 OK in 118ms (Views: 117.4ms)
20425
+ --------------------------------------------
20426
+ CompilerTest: test_.compile_returns_a_string
20427
+ --------------------------------------------
20428
+ ------------------------------------------------------------------------------------
20429
+ InterpolatorTest: test_"{{some_{{thing}}_foo}}"_transforms_to_"#{some_#{thing}_foo}"
20430
+ ------------------------------------------------------------------------------------
20431
+ -------------------------------------------------------------------
20432
+ InterpolatorTest: test_"{{something}}"_transforms_to_"#{something}"
20433
+ -------------------------------------------------------------------
20434
+ ---------------------------------------------------------------------
20435
+ InterpolatorTest: test_'a_lot_of_{{something_"{{good}}"}}'_transforms
20436
+ ---------------------------------------------------------------------
20437
+ ---------------------------------------------------------------------
20438
+ InterpolatorTest: test_nested_with_multiple_nested_expressions_parses
20439
+ ---------------------------------------------------------------------
20440
+ ----------------------------------------------------
20441
+ InterpolatorTest: test_nested_with_outer_text_parses
20442
+ ----------------------------------------------------
20443
+ -------------------------------------------------------
20444
+ InterpolatorTest: test_nested_without_outer_text_parses
20445
+ -------------------------------------------------------
20446
+ ---------------------------------------------------------------------
20447
+ InterpolatorTest: test_simple_expression_with_surrounding_text_parses
20448
+ ---------------------------------------------------------------------
20449
+ -------------------------------------------------
20450
+ InterpolatorTest: test_simplest_expression_parses
20451
+ -------------------------------------------------
20452
+ --------------------------------------------------------------
20453
+ HandlerTest: test_helpers_returning_html_when_alone_in_a_block
20454
+ --------------------------------------------------------------
20455
+ ------------------------------------------------------------------------
20456
+ HandlerTest: test_helpers_returning_html_work_in_sequence_within_a_block
20457
+ ------------------------------------------------------------------------
20458
+ ----------------------------------------------------------
20459
+ HandlerTest: test_html_generates_<h1>Hello</h1>_by_default
20460
+ ----------------------------------------------------------
20461
+ -----------------------------
20462
+ HandlerTest: test_locals_work
20463
+ -----------------------------
20464
+ ------------------------------------------------------------
20465
+ HandlerTest: test_nesting_elements_with_ruby_block_structure
20466
+ ------------------------------------------------------------
20467
+ ----------------------------------
20468
+ HandlerTest: test_other_attributes
20469
+ ----------------------------------
20470
+ -------------------------------------------
20471
+ HandlerTest: test_our_handler_is_registered
20472
+ -------------------------------------------
20473
+ ------------------------------------------------------------------
20474
+ HandlerTest: test_raises_warning_if_template_has_conditional_logic
20475
+ ------------------------------------------------------------------
20476
+ ---------------------------------------
20477
+ HandlerTest: test_string_in_block_works
20478
+ ---------------------------------------
20479
+ -----------------------------------------------------------
20480
+ RadioTest: test_radio_has_correct_label_field_name_and_text
20481
+ -----------------------------------------------------------
20482
+ ------------------------------------------------------------------
20483
+ RadioTest: test_radio_options_from_collection_when_options_omitted
20484
+ ------------------------------------------------------------------
20485
+ ----------------------------------------------------------
20486
+ RadioTest: test_radio_options_may_be_specified_with_a_hash
20487
+ ----------------------------------------------------------
20488
+ --------------------------------------------------------
20489
+ RadioTest: test_radio_options_present_with_class_'radio'
20490
+ --------------------------------------------------------
20491
+ -------------------------------------------------
20492
+ RadioTest: test_radio_requires_a_parent_component
20493
+ -------------------------------------------------
20494
+ ------------------------------------------------------------
20495
+ RadioTest: test_radio_throws_error_if_given_improper_options
20496
+ ------------------------------------------------------------
20497
+ -----------------------------------------------------------------
20498
+ BaseTest: test_.contains_places_fragment_inside_the_enclosing_tag
20499
+ -----------------------------------------------------------------
20500
+ ---------------------------------------------------------
20501
+ BaseTest: test_.has_attributes_creates_default_attributes
20502
+ ---------------------------------------------------------
20503
+ -----------------------------------------------------
20504
+ BaseTest: test_.tag_name_determines_the_enclosing_tag
20505
+ -----------------------------------------------------
20506
+ --------------------------------------------------
20507
+ BaseTest: test_before_build_hook_runs_before_build
20508
+ --------------------------------------------------
20509
+ --------------------------------------------------------------
20510
+ BaseTest: test_class_name_is_dasherized_instead_of_underscored
20511
+ --------------------------------------------------------------
20512
+ -----------------------------------------------------------
20513
+ BaseTest: test_class_option_adds_a_class,_does_not_override
20514
+ -----------------------------------------------------------
20515
+ ----------------------------------------------------
20516
+ BaseTest: test_options_are_passed_to_html_attributes
20517
+ ----------------------------------------------------
20518
+ -------------------------------------------------------------
20519
+ CheckboxTest: test_checkbox_places_the_label_before_the_input
20520
+ -------------------------------------------------------------
20521
+ -------------------------------------------------------
20522
+ CheckboxTest: test_checkbox_respects_label_after:_true_
20523
+ -------------------------------------------------------
20524
+ --------------------------------------------------------------------------------------------------
20525
+ ExpressTemplates::ResourcefulTest: test_#resource_class_returns_resource_class_option_if_specified
20526
+ --------------------------------------------------------------------------------------------------
20527
+ -----------------------------------------------------------------------------------------
20528
+ ExpressTemplates::ResourcefulTest: test_infers_a_namespace_and_no_prefix_within_an_engine
20529
+ -----------------------------------------------------------------------------------------
20530
+ ---------------------------------------------------------------------------------------------------
20531
+ ExpressTemplates::ResourcefulTest: test_infers_namespace_and_path_prefix_within_an_engine_and_scope
20532
+ ---------------------------------------------------------------------------------------------------
20533
+ ------------------------------------------------------------------------------------------------
20534
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_infers_prefix_within_a_scope_within_an_app
20535
+ ------------------------------------------------------------------------------------------------
20536
+ -----------------------------------------------------------------------------
20537
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_no_prefix_within_an_app
20538
+ -----------------------------------------------------------------------------
20539
+ -----------------------------------------------------------------------------
20540
+ ConfigurableTest: test_.has_argument_adds_a_positional_configuration_argument
20541
+ -----------------------------------------------------------------------------
20542
+ ----------------------------------------------------------------------------------------
20543
+ ConfigurableTest: test_.has_argument_appends_supported_arguments_in_order_of_inheritence
20544
+ ----------------------------------------------------------------------------------------
20545
+ -------------------------------------------------------------------------------
20546
+ ConfigurableTest: test_.has_argument_as:_allows_overwrite_of_inherited_argument
20547
+ -------------------------------------------------------------------------------
20548
+ -----------------------------------------------------------------------------------------------------
20549
+ ConfigurableTest: test_.has_argument_makes_builder_arguments_accessible_by_name_according_to_position
20550
+ -----------------------------------------------------------------------------------------------------
20551
+ ---------------------------------------------------
20552
+ ConfigurableTest: test_default_values_are_supported
20553
+ ---------------------------------------------------
20554
+ ----------------------------------------------------------------------
20555
+ ConfigurableTest: test_default_values_for_attributes_can_be_overridden
20556
+ ----------------------------------------------------------------------
20557
+ ------------------------------------------------------------------------
20558
+ ConfigurableTest: test_does_not_pass_declared_options_as_html_attributes
20559
+ ------------------------------------------------------------------------
20560
+ -----------------------------------------------------------
20561
+ ConfigurableTest: test_has_no_id_attribute_if_not_specified
20562
+ -----------------------------------------------------------
20563
+ --------------------------------------------
20564
+ ConfigurableTest: test_options_are_inherited
20565
+ --------------------------------------------
20566
+ -------------------------------------------------------
20567
+ ConfigurableTest: test_renders_first_argument_as_dom_id
20568
+ -------------------------------------------------------
20569
+ ----------------------------------------------------
20570
+ ConfigurableTest: test_required_options_are_required
20571
+ ----------------------------------------------------
20572
+ --------------------------------------------------
20573
+ ConfigurableTest: test_supports_option_declaration
20574
+ --------------------------------------------------
20575
+ ---------------------------------------------------------------
20576
+ ConfigurableTest: test_unrecognized_options_raises_an_exception
20577
+ ---------------------------------------------------------------
20578
+ ----------------------------------------------------
20579
+ ConfigurableTest: test_values_can_be_set_for_options
20580
+ ----------------------------------------------------
20581
+ ----------------------------------------------
20582
+ SubmitTest: test_submit_accepts_a_class_option
20583
+ ----------------------------------------------
20584
+ --------------------------------------------------------
20585
+ SubmitTest: test_submit_accepts_a_value_and_class_option
20586
+ --------------------------------------------------------
20587
+ ----------------------------------------------------
20588
+ SubmitTest: test_submit_takes_string_param_for_value
20589
+ ----------------------------------------------------
20590
+ ----------------------------------------------------------------
20591
+ SelectTest: test_select_collection_works_using_collection_select
20592
+ ----------------------------------------------------------------
20593
+ ------------------------------------------
20594
+ SelectTest: test_select_comes_with_a_label
20595
+ ------------------------------------------
20596
+ --------------------------------------------------
20597
+ SelectTest: test_select_defaults_can_be_overridden
20598
+ --------------------------------------------------
20599
+ -------------------------------------------------------
20600
+ SelectTest: test_select_defaults_to_include_blank:_true
20601
+ -------------------------------------------------------
20602
+ ------------------------------------------------------------------------------------
20603
+ SelectTest: test_select_generates_correct_options_when_values_are_specified_as_array
20604
+ ------------------------------------------------------------------------------------
20605
+ ------------------------------------------------------------------------
20606
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
20607
+ ------------------------------------------------------------------------
20608
+ --------------------------------------------------------------
20609
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
20610
+ --------------------------------------------------------------
20611
+ -----------------------------------------------------------------------------------------
20612
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
20613
+ -----------------------------------------------------------------------------------------
20614
+ ---------------------------------------------------
20615
+ SelectTest: test_select_requires_a_parent_component
20616
+ ---------------------------------------------------
20617
+ ---------------------------------------------------------------------------
20618
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
20619
+ ---------------------------------------------------------------------------
20620
+ -------------------------------------------------------------------------
20621
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
20622
+ -------------------------------------------------------------------------
20623
+ -------------------------------------------------------------
20624
+ CheckboxTest: test_checkbox_places_the_label_before_the_input
20625
+ -------------------------------------------------------------
20626
+ -------------------------------------------------------------
20627
+ CheckboxTest: test_checkbox_places_the_label_before_the_input
20628
+ -------------------------------------------------------------
20629
+ -------------------------------------------------------------
20630
+ CheckboxTest: test_checkbox_places_the_label_before_the_input
20631
+ -------------------------------------------------------------
20632
+ -------------------------------------------------------
20633
+ CheckboxTest: test_checkbox_respects_label_after:_true_
20634
+ -------------------------------------------------------
20635
+ --------------------------------------------------------------
20636
+ HandlerTest: test_helpers_returning_html_when_alone_in_a_block
20637
+ --------------------------------------------------------------
20638
+ ------------------------------------------------------------------------
20639
+ HandlerTest: test_helpers_returning_html_work_in_sequence_within_a_block
20640
+ ------------------------------------------------------------------------
20641
+ ----------------------------------------------------------
20642
+ HandlerTest: test_html_generates_<h1>Hello</h1>_by_default
20643
+ ----------------------------------------------------------
20644
+ -----------------------------
20645
+ HandlerTest: test_locals_work
20646
+ -----------------------------
20647
+ ------------------------------------------------------------
20648
+ HandlerTest: test_nesting_elements_with_ruby_block_structure
20649
+ ------------------------------------------------------------
20650
+ ----------------------------------
20651
+ HandlerTest: test_other_attributes
20652
+ ----------------------------------
20653
+ -------------------------------------------
20654
+ HandlerTest: test_our_handler_is_registered
20655
+ -------------------------------------------
20656
+ ------------------------------------------------------------------
20657
+ HandlerTest: test_raises_warning_if_template_has_conditional_logic
20658
+ ------------------------------------------------------------------
20659
+ ---------------------------------------
20660
+ HandlerTest: test_string_in_block_works
20661
+ ---------------------------------------
20662
+ -------------------------------------------------------------
20663
+ CheckboxTest: test_checkbox_places_the_label_before_the_input
20664
+ -------------------------------------------------------------
20665
+ -------------------------------------------------------
20666
+ CheckboxTest: test_checkbox_respects_label_after:_true_
20667
+ -------------------------------------------------------
20668
+ -----------------------------------------------------------
20669
+ RadioTest: test_radio_has_correct_label_field_name_and_text
20670
+ -----------------------------------------------------------
20671
+ ------------------------------------------------------------------
20672
+ RadioTest: test_radio_options_from_collection_when_options_omitted
20673
+ ------------------------------------------------------------------
20674
+ ----------------------------------------------------------
20675
+ RadioTest: test_radio_options_may_be_specified_with_a_hash
20676
+ ----------------------------------------------------------
20677
+ --------------------------------------------------------
20678
+ RadioTest: test_radio_options_present_with_class_'radio'
20679
+ --------------------------------------------------------
20680
+ -------------------------------------------------
20681
+ RadioTest: test_radio_requires_a_parent_component
20682
+ -------------------------------------------------
20683
+ ------------------------------------------------------------
20684
+ RadioTest: test_radio_throws_error_if_given_improper_options
20685
+ ------------------------------------------------------------
20686
+ ---------------------------------------------------------------------------------------------
20687
+ IndenterTest: test_.for(:name)_returns_current_indent_without_newline_when_block_is_not_given
20688
+ ---------------------------------------------------------------------------------------------
20689
+ -----------------------------------------------------------------
20690
+ IndenterTest: test_.for(:name)_takes_a_block_receiving_whitespace
20691
+ -----------------------------------------------------------------
20692
+ ------------------------------------------------------------------
20693
+ IndenterTest: test_nesting_blocks_increases_whitespace_accordingly
20694
+ ------------------------------------------------------------------
20695
+ -----------------------------------------------------------------
20696
+ BaseTest: test_.contains_places_fragment_inside_the_enclosing_tag
20697
+ -----------------------------------------------------------------
20698
+ ---------------------------------------------------------
20699
+ BaseTest: test_.has_attributes_creates_default_attributes
20700
+ ---------------------------------------------------------
20701
+ -----------------------------------------------------
20702
+ BaseTest: test_.tag_name_determines_the_enclosing_tag
20703
+ -----------------------------------------------------
20704
+ --------------------------------------------------
20705
+ BaseTest: test_before_build_hook_runs_before_build
20706
+ --------------------------------------------------
20707
+ --------------------------------------------------------------
20708
+ BaseTest: test_class_name_is_dasherized_instead_of_underscored
20709
+ --------------------------------------------------------------
20710
+ -----------------------------------------------------------
20711
+ BaseTest: test_class_option_adds_a_class,_does_not_override
20712
+ -----------------------------------------------------------
20713
+ ----------------------------------------------------
20714
+ BaseTest: test_options_are_passed_to_html_attributes
20715
+ ----------------------------------------------------
20716
+ ------------------------------------------------------------------------------------
20717
+ InterpolatorTest: test_"{{some_{{thing}}_foo}}"_transforms_to_"#{some_#{thing}_foo}"
20718
+ ------------------------------------------------------------------------------------
20719
+ -------------------------------------------------------------------
20720
+ InterpolatorTest: test_"{{something}}"_transforms_to_"#{something}"
20721
+ -------------------------------------------------------------------
20722
+ ---------------------------------------------------------------------
20723
+ InterpolatorTest: test_'a_lot_of_{{something_"{{good}}"}}'_transforms
20724
+ ---------------------------------------------------------------------
20725
+ ---------------------------------------------------------------------
20726
+ InterpolatorTest: test_nested_with_multiple_nested_expressions_parses
20727
+ ---------------------------------------------------------------------
20728
+ ----------------------------------------------------
20729
+ InterpolatorTest: test_nested_with_outer_text_parses
20730
+ ----------------------------------------------------
20731
+ -------------------------------------------------------
20732
+ InterpolatorTest: test_nested_without_outer_text_parses
20733
+ -------------------------------------------------------
20734
+ ---------------------------------------------------------------------
20735
+ InterpolatorTest: test_simple_expression_with_surrounding_text_parses
20736
+ ---------------------------------------------------------------------
20737
+ -------------------------------------------------
20738
+ InterpolatorTest: test_simplest_expression_parses
20739
+ -------------------------------------------------
20740
+ -----------------------------------------
20741
+ HelloControllerTest: test_should_get_show
20742
+ -----------------------------------------
20743
+ Processing by HelloController#show as HTML
20744
+ Rendered hello/show.html.et within layouts/application (1.7ms)
20745
+ Completed 200 OK in 119ms (Views: 119.1ms)
20746
+ ------------------------------------------------------------------------------------
20747
+ StringTest: test_String#inspect_works_normally_when_#to_view_code_hasn't_been_called
20748
+ ------------------------------------------------------------------------------------
20749
+ --------------------------------------------------------------------------------
20750
+ StringTest: test_String#to_view_code_causes_subsequent_#inspect_to_remove_quotes
20751
+ --------------------------------------------------------------------------------
20752
+ -------------------------------------------------------
20753
+ StringTest: test_String#to_view_code_returns_the_string
20754
+ -------------------------------------------------------
20755
+ -----------------------------------------------------------------------------------------
20756
+ ProcTest: test_#source_body_captures_full_body_when_parens_around_parameters_not_provided
20757
+ -----------------------------------------------------------------------------------------
20758
+ ------------------------------------------------
20759
+ ProcTest: test_#source_body_handles_funky_bodies
20760
+ ------------------------------------------------
20761
+ ----------------------------------------------------------
20762
+ ProcTest: test_#source_body_raises_exception_for_arity_>_0
20763
+ ----------------------------------------------------------
20764
+ ------------------------------------------------------
20765
+ ProcTest: test_#source_body_returns_the_body_of_a_proc
20766
+ ------------------------------------------------------
20767
+ ----------------------------------------------
20768
+ ProcTest: test_#source_returns_a_proc's_source
20769
+ ----------------------------------------------
20770
+ ---------------------------------------------------------------
20771
+ ProcTest: test_#source_work_with_a_stabby_lambda_spanning_lines
20772
+ ---------------------------------------------------------------
20773
+ -----------------------------------------------------------------
20774
+ ProcTest: test_#source_works_when_a_proc_is_inside_a_hash_literal
20775
+ -----------------------------------------------------------------
20776
+ ------------------------------------------------------------
20777
+ ProcTest: test_#source_works_with_a_block_containing_a_block
20778
+ ------------------------------------------------------------
20779
+ --------------------------------------------
20780
+ ProcTest: test_#source_works_with_a_do_block
20781
+ --------------------------------------------
20782
+ -----------------------------------------------------
20783
+ ProcTest: test_#source_works_with_a_single_line_block
20784
+ -----------------------------------------------------
20785
+ -------------------------------------------------
20786
+ ProcTest: test_#source_works_with_a_stabby_lambda
20787
+ -------------------------------------------------
20788
+ ----------------------------------------------------------------------------------------
20789
+ ProcTest: test_.from_source_stores_source_of_a_dynamicly_built_proc_for_later_inspection
20790
+ ----------------------------------------------------------------------------------------
20791
+ ----------------------------------------------
20792
+ SubmitTest: test_submit_accepts_a_class_option
20793
+ ----------------------------------------------
20794
+ --------------------------------------------------------
20795
+ SubmitTest: test_submit_accepts_a_value_and_class_option
20796
+ --------------------------------------------------------
20797
+ ----------------------------------------------------
20798
+ SubmitTest: test_submit_takes_string_param_for_value
20799
+ ----------------------------------------------------
20800
+ --------------------------------------------------------------------------------------------------
20801
+ ExpressTemplates::ResourcefulTest: test_#resource_class_returns_resource_class_option_if_specified
20802
+ --------------------------------------------------------------------------------------------------
20803
+ -----------------------------------------------------------------------------------------
20804
+ ExpressTemplates::ResourcefulTest: test_infers_a_namespace_and_no_prefix_within_an_engine
20805
+ -----------------------------------------------------------------------------------------
20806
+ ---------------------------------------------------------------------------------------------------
20807
+ ExpressTemplates::ResourcefulTest: test_infers_namespace_and_path_prefix_within_an_engine_and_scope
20808
+ ---------------------------------------------------------------------------------------------------
20809
+ ------------------------------------------------------------------------------------------------
20810
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_infers_prefix_within_a_scope_within_an_app
20811
+ ------------------------------------------------------------------------------------------------
20812
+ -----------------------------------------------------------------------------
20813
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_no_prefix_within_an_app
20814
+ -----------------------------------------------------------------------------
20815
+ -----------------------------------------------------------------------------
20816
+ ConfigurableTest: test_.has_argument_adds_a_positional_configuration_argument
20817
+ -----------------------------------------------------------------------------
20818
+ ----------------------------------------------------------------------------------------
20819
+ ConfigurableTest: test_.has_argument_appends_supported_arguments_in_order_of_inheritence
20820
+ ----------------------------------------------------------------------------------------
20821
+ -------------------------------------------------------------------------------
20822
+ ConfigurableTest: test_.has_argument_as:_allows_overwrite_of_inherited_argument
20823
+ -------------------------------------------------------------------------------
20824
+ -----------------------------------------------------------------------------------------------------
20825
+ ConfigurableTest: test_.has_argument_makes_builder_arguments_accessible_by_name_according_to_position
20826
+ -----------------------------------------------------------------------------------------------------
20827
+ ---------------------------------------------------
20828
+ ConfigurableTest: test_default_values_are_supported
20829
+ ---------------------------------------------------
20830
+ ----------------------------------------------------------------------
20831
+ ConfigurableTest: test_default_values_for_attributes_can_be_overridden
20832
+ ----------------------------------------------------------------------
20833
+ ------------------------------------------------------------------------
20834
+ ConfigurableTest: test_does_not_pass_declared_options_as_html_attributes
20835
+ ------------------------------------------------------------------------
20836
+ -----------------------------------------------------------
20837
+ ConfigurableTest: test_has_no_id_attribute_if_not_specified
20838
+ -----------------------------------------------------------
20839
+ --------------------------------------------
20840
+ ConfigurableTest: test_options_are_inherited
20841
+ --------------------------------------------
20842
+ -------------------------------------------------------
20843
+ ConfigurableTest: test_renders_first_argument_as_dom_id
20844
+ -------------------------------------------------------
20845
+ ----------------------------------------------------
20846
+ ConfigurableTest: test_required_options_are_required
20847
+ ----------------------------------------------------
20848
+ --------------------------------------------------
20849
+ ConfigurableTest: test_supports_option_declaration
20850
+ --------------------------------------------------
20851
+ ---------------------------------------------------------------
20852
+ ConfigurableTest: test_unrecognized_options_raises_an_exception
20853
+ ---------------------------------------------------------------
20854
+ ----------------------------------------------------
20855
+ ConfigurableTest: test_values_can_be_set_for_options
20856
+ ----------------------------------------------------
20857
+ ---------------------------------------------------------------
20858
+ ExpressFormTest: test_express_form_contents_are_inside_the_form
20859
+ ---------------------------------------------------------------
20860
+ ---------------------------------------------------------
20861
+ ExpressFormTest: test_express_form_default_method_is_POST
20862
+ ---------------------------------------------------------
20863
+ -----------------------------------------------------
20864
+ ExpressFormTest: test_simplest_form_contains_form_tag
20865
+ -----------------------------------------------------
20866
+ ---------------------------------------------------------------
20867
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
20868
+ ---------------------------------------------------------------
20869
+ ---------------------------------------------------
20870
+ ExpressFormTest: test_simplest_form_contains_submit
20871
+ ---------------------------------------------------
20872
+ -------------------------------------------
20873
+ ExpressFormTest: test_simplest_form_renders
20874
+ -------------------------------------------
20875
+ -------------------------------------------------------------------
20876
+ ExpressFormTest: test_simplest_form_uses_form_action_for_the_action
20877
+ -------------------------------------------------------------------
20878
+ -----------------------------------------------------------
20879
+ ExpressFormTest: test_simplest_form_will_have_the_proper_id
20880
+ -----------------------------------------------------------
20881
+ ---------------------------------------------------------------------------------------
20882
+ BasicFieldsTest: test_adds_error_class_if_there_are_errors_on_a_field_with_no_class_set
20883
+ ---------------------------------------------------------------------------------------
20884
+ ----------------------------------------------------------------------------------------------
20885
+ BasicFieldsTest: test_adds_error_class_if_there_are_errors_on_a_field_with_no_input_attributes
20886
+ ----------------------------------------------------------------------------------------------
20887
+ --------------------------------------------------------------------------------------------
20888
+ BasicFieldsTest: test_adds_error_to_class_if_there_are_errors_on_a_field_with_existing_class
20889
+ --------------------------------------------------------------------------------------------
20890
+ -------------------------------------
20891
+ BasicFieldsTest: test_all_fields_work
20892
+ -------------------------------------
20893
+ ---------------------------------------------------------------------------------
20894
+ BasicFieldsTest: test_hidden_field_passes_additional_html_options_to_rails_helper
20895
+ ---------------------------------------------------------------------------------
20896
+ ---------------------------------------------------------
20897
+ BasicFieldsTest: test_hidden_uses_rails_hidden_tag_helper
20898
+ ---------------------------------------------------------
20899
+ ---------------------------------------------------------
20900
+ BasicFieldsTest: test_passing_html_options_to_fields_work
20901
+ ---------------------------------------------------------
20902
+ -----------------------------------------------------------------------------
20903
+ BasicFieldsTest: test_textarea_passes_additional_html_options_to_rails_helper
20904
+ -----------------------------------------------------------------------------
20905
+ ----------------------------------------------------------
20906
+ BasicFieldsTest: test_textarea_uses_rails_text_area_helper
20907
+ ----------------------------------------------------------
20908
+ ---------------------------------------------------------------------
20909
+ ExpressTemplatesTest: test_ExpressTemplates.render_renders_a_template
20910
+ ---------------------------------------------------------------------
20911
+ -------------------------------------------
20912
+ ExpressTemplatesTest: test_we_have_a_module
20913
+ -------------------------------------------
20914
+ ----------------------------------------------------------------
20915
+ SelectTest: test_select_collection_works_using_collection_select
20916
+ ----------------------------------------------------------------
20917
+ ------------------------------------------
20918
+ SelectTest: test_select_comes_with_a_label
20919
+ ------------------------------------------
20920
+ --------------------------------------------------
20921
+ SelectTest: test_select_defaults_can_be_overridden
20922
+ --------------------------------------------------
20923
+ -------------------------------------------------------
20924
+ SelectTest: test_select_defaults_to_include_blank:_true
20925
+ -------------------------------------------------------
20926
+ ------------------------------------------------------------------------------------
20927
+ SelectTest: test_select_generates_correct_options_when_values_are_specified_as_array
20928
+ ------------------------------------------------------------------------------------
20929
+ ------------------------------------------------------------------------
20930
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
20931
+ ------------------------------------------------------------------------
20932
+ --------------------------------------------------------------
20933
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
20934
+ --------------------------------------------------------------
20935
+ -----------------------------------------------------------------------------------------
20936
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
20937
+ -----------------------------------------------------------------------------------------
20938
+ ---------------------------------------------------
20939
+ SelectTest: test_select_requires_a_parent_component
20940
+ ---------------------------------------------------
20941
+ ---------------------------------------------------------------------------
20942
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
20943
+ ---------------------------------------------------------------------------
20944
+ -------------------------------------------------------------------------
20945
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
20946
+ -------------------------------------------------------------------------
20947
+ --------------------------------------------
20948
+ CompilerTest: test_.compile_returns_a_string
20949
+ --------------------------------------------
20950
+ ------------------------------------------------------------
20951
+ TreeForTest: test_tree_for_accepts_block_with_custom_content
20952
+ ------------------------------------------------------------
20953
+ ---------------------------------------------------------------------------
20954
+ TreeForTest: test_tree_for_renders_correct_markup_with_node.name_as_default
20955
+ ---------------------------------------------------------------------------
20956
+ -----------------------------------------------------------------------------
20957
+ ConfigurableTest: test_.has_argument_adds_a_positional_configuration_argument
20958
+ -----------------------------------------------------------------------------
20959
+ ----------------------------------------------------------------------------------------
20960
+ ConfigurableTest: test_.has_argument_appends_supported_arguments_in_order_of_inheritence
20961
+ ----------------------------------------------------------------------------------------
20962
+ -------------------------------------------------------------------------------
20963
+ ConfigurableTest: test_.has_argument_as:_allows_overwrite_of_inherited_argument
20964
+ -------------------------------------------------------------------------------
20965
+ -----------------------------------------------------------------------------------------------------
20966
+ ConfigurableTest: test_.has_argument_makes_builder_arguments_accessible_by_name_according_to_position
20967
+ -----------------------------------------------------------------------------------------------------
20968
+ ---------------------------------------------------
20969
+ ConfigurableTest: test_default_values_are_supported
20970
+ ---------------------------------------------------
20971
+ ----------------------------------------------------------------------
20972
+ ConfigurableTest: test_default_values_for_attributes_can_be_overridden
20973
+ ----------------------------------------------------------------------
20974
+ ------------------------------------------------------------------------
20975
+ ConfigurableTest: test_does_not_pass_declared_options_as_html_attributes
20976
+ ------------------------------------------------------------------------
20977
+ -----------------------------------------------------------
20978
+ ConfigurableTest: test_has_no_id_attribute_if_not_specified
20979
+ -----------------------------------------------------------
20980
+ --------------------------------------------
20981
+ ConfigurableTest: test_options_are_inherited
20982
+ --------------------------------------------
20983
+ -------------------------------------------------------
20984
+ ConfigurableTest: test_renders_first_argument_as_dom_id
20985
+ -------------------------------------------------------
20986
+ ----------------------------------------------------
20987
+ ConfigurableTest: test_required_options_are_required
20988
+ ----------------------------------------------------
20989
+ --------------------------------------------------
20990
+ ConfigurableTest: test_supports_option_declaration
20991
+ --------------------------------------------------
20992
+ ---------------------------------------------------------------
20993
+ ConfigurableTest: test_unrecognized_options_raises_an_exception
20994
+ ---------------------------------------------------------------
20995
+ ----------------------------------------------------
20996
+ ConfigurableTest: test_values_can_be_set_for_options
20997
+ ----------------------------------------------------
20998
+ -------------------------------------------------------------
20999
+ CheckboxTest: test_checkbox_places_the_label_before_the_input
21000
+ -------------------------------------------------------------
21001
+ -------------------------------------------------------
21002
+ CheckboxTest: test_checkbox_respects_label_after:_true_
21003
+ -------------------------------------------------------
21004
+ -----------------------------------------
21005
+ HelloControllerTest: test_should_get_show
21006
+ -----------------------------------------
21007
+ Processing by HelloController#show as HTML
21008
+ Rendered hello/show.html.et within layouts/application (0.9ms)
21009
+ Completed 200 OK in 119ms (Views: 119.1ms)
21010
+ ------------------------------------------------------------
21011
+ TreeForTest: test_tree_for_accepts_block_with_custom_content
21012
+ ------------------------------------------------------------
21013
+ ---------------------------------------------------------------------------
21014
+ TreeForTest: test_tree_for_renders_correct_markup_with_node.name_as_default
21015
+ ---------------------------------------------------------------------------
21016
+ ---------------------------------------------------------------------------------------------
21017
+ IndenterTest: test_.for(:name)_returns_current_indent_without_newline_when_block_is_not_given
21018
+ ---------------------------------------------------------------------------------------------
21019
+ -----------------------------------------------------------------
21020
+ IndenterTest: test_.for(:name)_takes_a_block_receiving_whitespace
21021
+ -----------------------------------------------------------------
21022
+ ------------------------------------------------------------------
21023
+ IndenterTest: test_nesting_blocks_increases_whitespace_accordingly
21024
+ ------------------------------------------------------------------
21025
+ --------------------------------------------------------------
21026
+ HandlerTest: test_helpers_returning_html_when_alone_in_a_block
21027
+ --------------------------------------------------------------
21028
+ ------------------------------------------------------------------------
21029
+ HandlerTest: test_helpers_returning_html_work_in_sequence_within_a_block
21030
+ ------------------------------------------------------------------------
21031
+ ----------------------------------------------------------
21032
+ HandlerTest: test_html_generates_<h1>Hello</h1>_by_default
21033
+ ----------------------------------------------------------
21034
+ -----------------------------
21035
+ HandlerTest: test_locals_work
21036
+ -----------------------------
21037
+ ------------------------------------------------------------
21038
+ HandlerTest: test_nesting_elements_with_ruby_block_structure
21039
+ ------------------------------------------------------------
21040
+ ----------------------------------
21041
+ HandlerTest: test_other_attributes
21042
+ ----------------------------------
21043
+ -------------------------------------------
21044
+ HandlerTest: test_our_handler_is_registered
21045
+ -------------------------------------------
21046
+ ------------------------------------------------------------------
21047
+ HandlerTest: test_raises_warning_if_template_has_conditional_logic
21048
+ ------------------------------------------------------------------
21049
+ ---------------------------------------
21050
+ HandlerTest: test_string_in_block_works
21051
+ ---------------------------------------
21052
+ ---------------------------------------------------------------------
21053
+ ExpressTemplatesTest: test_ExpressTemplates.render_renders_a_template
21054
+ ---------------------------------------------------------------------
21055
+ -------------------------------------------
21056
+ ExpressTemplatesTest: test_we_have_a_module
21057
+ -------------------------------------------
21058
+ ------------------------------------------------------------------------------------
21059
+ StringTest: test_String#inspect_works_normally_when_#to_view_code_hasn't_been_called
21060
+ ------------------------------------------------------------------------------------
21061
+ --------------------------------------------------------------------------------
21062
+ StringTest: test_String#to_view_code_causes_subsequent_#inspect_to_remove_quotes
21063
+ --------------------------------------------------------------------------------
21064
+ -------------------------------------------------------
21065
+ StringTest: test_String#to_view_code_returns_the_string
21066
+ -------------------------------------------------------
21067
+ --------------------------------------------
21068
+ CompilerTest: test_.compile_returns_a_string
21069
+ --------------------------------------------
21070
+ --------------------------------------------------------------------------------------------------
21071
+ ExpressTemplates::ResourcefulTest: test_#resource_class_returns_resource_class_option_if_specified
21072
+ --------------------------------------------------------------------------------------------------
21073
+ -----------------------------------------------------------------------------------------
21074
+ ExpressTemplates::ResourcefulTest: test_infers_a_namespace_and_no_prefix_within_an_engine
21075
+ -----------------------------------------------------------------------------------------
21076
+ ---------------------------------------------------------------------------------------------------
21077
+ ExpressTemplates::ResourcefulTest: test_infers_namespace_and_path_prefix_within_an_engine_and_scope
21078
+ ---------------------------------------------------------------------------------------------------
21079
+ ------------------------------------------------------------------------------------------------
21080
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_infers_prefix_within_a_scope_within_an_app
21081
+ ------------------------------------------------------------------------------------------------
21082
+ -----------------------------------------------------------------------------
21083
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_no_prefix_within_an_app
21084
+ -----------------------------------------------------------------------------
21085
+ ----------------------------------------------------------------
21086
+ SelectTest: test_select_collection_works_using_collection_select
21087
+ ----------------------------------------------------------------
21088
+ ------------------------------------------
21089
+ SelectTest: test_select_comes_with_a_label
21090
+ ------------------------------------------
21091
+ --------------------------------------------------
21092
+ SelectTest: test_select_defaults_can_be_overridden
21093
+ --------------------------------------------------
21094
+ -------------------------------------------------------
21095
+ SelectTest: test_select_defaults_to_include_blank:_true
21096
+ -------------------------------------------------------
21097
+ ------------------------------------------------------------------------------------
21098
+ SelectTest: test_select_generates_correct_options_when_values_are_specified_as_array
21099
+ ------------------------------------------------------------------------------------
21100
+ ------------------------------------------------------------------------
21101
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
21102
+ ------------------------------------------------------------------------
21103
+ --------------------------------------------------------------
21104
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
21105
+ --------------------------------------------------------------
21106
+ -----------------------------------------------------------------------------------------
21107
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
21108
+ -----------------------------------------------------------------------------------------
21109
+ ---------------------------------------------------
21110
+ SelectTest: test_select_requires_a_parent_component
21111
+ ---------------------------------------------------
21112
+ ---------------------------------------------------------------------------
21113
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
21114
+ ---------------------------------------------------------------------------
21115
+ -------------------------------------------------------------------------
21116
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
21117
+ -------------------------------------------------------------------------
21118
+ ---------------------------------------------------------------------------------------
21119
+ BasicFieldsTest: test_adds_error_class_if_there_are_errors_on_a_field_with_no_class_set
21120
+ ---------------------------------------------------------------------------------------
21121
+ ----------------------------------------------------------------------------------------------
21122
+ BasicFieldsTest: test_adds_error_class_if_there_are_errors_on_a_field_with_no_input_attributes
21123
+ ----------------------------------------------------------------------------------------------
21124
+ --------------------------------------------------------------------------------------------
21125
+ BasicFieldsTest: test_adds_error_to_class_if_there_are_errors_on_a_field_with_existing_class
21126
+ --------------------------------------------------------------------------------------------
21127
+ -------------------------------------
21128
+ BasicFieldsTest: test_all_fields_work
21129
+ -------------------------------------
21130
+ ---------------------------------------------------------------------------------
21131
+ BasicFieldsTest: test_hidden_field_passes_additional_html_options_to_rails_helper
21132
+ ---------------------------------------------------------------------------------
21133
+ ---------------------------------------------------------
21134
+ BasicFieldsTest: test_hidden_uses_rails_hidden_tag_helper
21135
+ ---------------------------------------------------------
21136
+ ---------------------------------------------------------
21137
+ BasicFieldsTest: test_passing_html_options_to_fields_work
21138
+ ---------------------------------------------------------
21139
+ -----------------------------------------------------------------------------
21140
+ BasicFieldsTest: test_textarea_passes_additional_html_options_to_rails_helper
21141
+ -----------------------------------------------------------------------------
21142
+ ----------------------------------------------------------
21143
+ BasicFieldsTest: test_textarea_uses_rails_text_area_helper
21144
+ ----------------------------------------------------------
21145
+ ----------------------------------------------
21146
+ SubmitTest: test_submit_accepts_a_class_option
21147
+ ----------------------------------------------
21148
+ --------------------------------------------------------
21149
+ SubmitTest: test_submit_accepts_a_value_and_class_option
21150
+ --------------------------------------------------------
21151
+ ----------------------------------------------------
21152
+ SubmitTest: test_submit_takes_string_param_for_value
21153
+ ----------------------------------------------------
21154
+ -----------------------------------------------------------------------------------------
21155
+ ProcTest: test_#source_body_captures_full_body_when_parens_around_parameters_not_provided
21156
+ -----------------------------------------------------------------------------------------
21157
+ ------------------------------------------------
21158
+ ProcTest: test_#source_body_handles_funky_bodies
21159
+ ------------------------------------------------
21160
+ ----------------------------------------------------------
21161
+ ProcTest: test_#source_body_raises_exception_for_arity_>_0
21162
+ ----------------------------------------------------------
21163
+ ------------------------------------------------------
21164
+ ProcTest: test_#source_body_returns_the_body_of_a_proc
21165
+ ------------------------------------------------------
21166
+ ----------------------------------------------
21167
+ ProcTest: test_#source_returns_a_proc's_source
21168
+ ----------------------------------------------
21169
+ ---------------------------------------------------------------
21170
+ ProcTest: test_#source_work_with_a_stabby_lambda_spanning_lines
21171
+ ---------------------------------------------------------------
21172
+ -----------------------------------------------------------------
21173
+ ProcTest: test_#source_works_when_a_proc_is_inside_a_hash_literal
21174
+ -----------------------------------------------------------------
21175
+ ------------------------------------------------------------
21176
+ ProcTest: test_#source_works_with_a_block_containing_a_block
21177
+ ------------------------------------------------------------
21178
+ --------------------------------------------
21179
+ ProcTest: test_#source_works_with_a_do_block
21180
+ --------------------------------------------
21181
+ -----------------------------------------------------
21182
+ ProcTest: test_#source_works_with_a_single_line_block
21183
+ -----------------------------------------------------
21184
+ -------------------------------------------------
21185
+ ProcTest: test_#source_works_with_a_stabby_lambda
21186
+ -------------------------------------------------
21187
+ ----------------------------------------------------------------------------------------
21188
+ ProcTest: test_.from_source_stores_source_of_a_dynamicly_built_proc_for_later_inspection
21189
+ ----------------------------------------------------------------------------------------
21190
+ ---------------------------------------------------------------
21191
+ ExpressFormTest: test_express_form_contents_are_inside_the_form
21192
+ ---------------------------------------------------------------
21193
+ ---------------------------------------------------------
21194
+ ExpressFormTest: test_express_form_default_method_is_POST
21195
+ ---------------------------------------------------------
21196
+ -----------------------------------------------------
21197
+ ExpressFormTest: test_simplest_form_contains_form_tag
21198
+ -----------------------------------------------------
21199
+ ---------------------------------------------------------------
21200
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
21201
+ ---------------------------------------------------------------
21202
+ ---------------------------------------------------
21203
+ ExpressFormTest: test_simplest_form_contains_submit
21204
+ ---------------------------------------------------
21205
+ -------------------------------------------
21206
+ ExpressFormTest: test_simplest_form_renders
21207
+ -------------------------------------------
21208
+ -------------------------------------------------------------------
21209
+ ExpressFormTest: test_simplest_form_uses_form_action_for_the_action
21210
+ -------------------------------------------------------------------
21211
+ -----------------------------------------------------------
21212
+ ExpressFormTest: test_simplest_form_will_have_the_proper_id
21213
+ -----------------------------------------------------------
21214
+ ------------------------------------------------------------------------------------
21215
+ InterpolatorTest: test_"{{some_{{thing}}_foo}}"_transforms_to_"#{some_#{thing}_foo}"
21216
+ ------------------------------------------------------------------------------------
21217
+ -------------------------------------------------------------------
21218
+ InterpolatorTest: test_"{{something}}"_transforms_to_"#{something}"
21219
+ -------------------------------------------------------------------
21220
+ ---------------------------------------------------------------------
21221
+ InterpolatorTest: test_'a_lot_of_{{something_"{{good}}"}}'_transforms
21222
+ ---------------------------------------------------------------------
21223
+ ---------------------------------------------------------------------
21224
+ InterpolatorTest: test_nested_with_multiple_nested_expressions_parses
21225
+ ---------------------------------------------------------------------
21226
+ ----------------------------------------------------
21227
+ InterpolatorTest: test_nested_with_outer_text_parses
21228
+ ----------------------------------------------------
21229
+ -------------------------------------------------------
21230
+ InterpolatorTest: test_nested_without_outer_text_parses
21231
+ -------------------------------------------------------
21232
+ ---------------------------------------------------------------------
21233
+ InterpolatorTest: test_simple_expression_with_surrounding_text_parses
21234
+ ---------------------------------------------------------------------
21235
+ -------------------------------------------------
21236
+ InterpolatorTest: test_simplest_expression_parses
21237
+ -------------------------------------------------
21238
+ -----------------------------------------------------------------
21239
+ BaseTest: test_.contains_places_fragment_inside_the_enclosing_tag
21240
+ -----------------------------------------------------------------
21241
+ ---------------------------------------------------------
21242
+ BaseTest: test_.has_attributes_creates_default_attributes
21243
+ ---------------------------------------------------------
21244
+ -----------------------------------------------------
21245
+ BaseTest: test_.tag_name_determines_the_enclosing_tag
21246
+ -----------------------------------------------------
21247
+ --------------------------------------------------
21248
+ BaseTest: test_before_build_hook_runs_before_build
21249
+ --------------------------------------------------
21250
+ --------------------------------------------------------------
21251
+ BaseTest: test_class_name_is_dasherized_instead_of_underscored
21252
+ --------------------------------------------------------------
21253
+ -----------------------------------------------------------
21254
+ BaseTest: test_class_option_adds_a_class,_does_not_override
21255
+ -----------------------------------------------------------
21256
+ ----------------------------------------------------
21257
+ BaseTest: test_options_are_passed_to_html_attributes
21258
+ ----------------------------------------------------
21259
+ -----------------------------------------------------------
21260
+ RadioTest: test_radio_has_correct_label_field_name_and_text
21261
+ -----------------------------------------------------------
21262
+ ------------------------------------------------------------------
21263
+ RadioTest: test_radio_options_from_collection_when_options_omitted
21264
+ ------------------------------------------------------------------
21265
+ ----------------------------------------------------------
21266
+ RadioTest: test_radio_options_may_be_specified_with_a_hash
21267
+ ----------------------------------------------------------
21268
+ --------------------------------------------------------
21269
+ RadioTest: test_radio_options_present_with_class_'radio'
21270
+ --------------------------------------------------------
21271
+ -------------------------------------------------
21272
+ RadioTest: test_radio_requires_a_parent_component
21273
+ -------------------------------------------------
21274
+ ------------------------------------------------------------
21275
+ RadioTest: test_radio_throws_error_if_given_improper_options
21276
+ ------------------------------------------------------------
21277
+ ------------------------------------------------------------------------------------
21278
+ InterpolatorTest: test_"{{some_{{thing}}_foo}}"_transforms_to_"#{some_#{thing}_foo}"
21279
+ ------------------------------------------------------------------------------------
21280
+ -------------------------------------------------------------------
21281
+ InterpolatorTest: test_"{{something}}"_transforms_to_"#{something}"
21282
+ -------------------------------------------------------------------
21283
+ ---------------------------------------------------------------------
21284
+ InterpolatorTest: test_'a_lot_of_{{something_"{{good}}"}}'_transforms
21285
+ ---------------------------------------------------------------------
21286
+ ---------------------------------------------------------------------
21287
+ InterpolatorTest: test_nested_with_multiple_nested_expressions_parses
21288
+ ---------------------------------------------------------------------
21289
+ ----------------------------------------------------
21290
+ InterpolatorTest: test_nested_with_outer_text_parses
21291
+ ----------------------------------------------------
21292
+ -------------------------------------------------------
21293
+ InterpolatorTest: test_nested_without_outer_text_parses
21294
+ -------------------------------------------------------
21295
+ ---------------------------------------------------------------------
21296
+ InterpolatorTest: test_simple_expression_with_surrounding_text_parses
21297
+ ---------------------------------------------------------------------
21298
+ -------------------------------------------------
21299
+ InterpolatorTest: test_simplest_expression_parses
21300
+ -------------------------------------------------
21301
+ ---------------------------------------------------------------------------------------
21302
+ BasicFieldsTest: test_adds_error_class_if_there_are_errors_on_a_field_with_no_class_set
21303
+ ---------------------------------------------------------------------------------------
21304
+ ----------------------------------------------------------------------------------------------
21305
+ BasicFieldsTest: test_adds_error_class_if_there_are_errors_on_a_field_with_no_input_attributes
21306
+ ----------------------------------------------------------------------------------------------
21307
+ --------------------------------------------------------------------------------------------
21308
+ BasicFieldsTest: test_adds_error_to_class_if_there_are_errors_on_a_field_with_existing_class
21309
+ --------------------------------------------------------------------------------------------
21310
+ -------------------------------------
21311
+ BasicFieldsTest: test_all_fields_work
21312
+ -------------------------------------
21313
+ ---------------------------------------------------------------------------------
21314
+ BasicFieldsTest: test_hidden_field_passes_additional_html_options_to_rails_helper
21315
+ ---------------------------------------------------------------------------------
21316
+ ---------------------------------------------------------
21317
+ BasicFieldsTest: test_hidden_uses_rails_hidden_tag_helper
21318
+ ---------------------------------------------------------
21319
+ ---------------------------------------------------------
21320
+ BasicFieldsTest: test_passing_html_options_to_fields_work
21321
+ ---------------------------------------------------------
21322
+ -----------------------------------------------------------------------------
21323
+ BasicFieldsTest: test_textarea_passes_additional_html_options_to_rails_helper
21324
+ -----------------------------------------------------------------------------
21325
+ ----------------------------------------------------------
21326
+ BasicFieldsTest: test_textarea_uses_rails_text_area_helper
21327
+ ----------------------------------------------------------
21328
+ -------------------------------------------------------------
21329
+ CheckboxTest: test_checkbox_places_the_label_before_the_input
21330
+ -------------------------------------------------------------
21331
+ -------------------------------------------------------
21332
+ CheckboxTest: test_checkbox_respects_label_after:_true_
21333
+ -------------------------------------------------------
21334
+ ------------------------------------------------------------------------------------
21335
+ StringTest: test_String#inspect_works_normally_when_#to_view_code_hasn't_been_called
21336
+ ------------------------------------------------------------------------------------
21337
+ --------------------------------------------------------------------------------
21338
+ StringTest: test_String#to_view_code_causes_subsequent_#inspect_to_remove_quotes
21339
+ --------------------------------------------------------------------------------
21340
+ -------------------------------------------------------
21341
+ StringTest: test_String#to_view_code_returns_the_string
21342
+ -------------------------------------------------------
21343
+ ---------------------------------------------------------------------
21344
+ ExpressTemplatesTest: test_ExpressTemplates.render_renders_a_template
21345
+ ---------------------------------------------------------------------
21346
+ -------------------------------------------
21347
+ ExpressTemplatesTest: test_we_have_a_module
21348
+ -------------------------------------------
21349
+ ---------------------------------------------------------------------------------------------
21350
+ IndenterTest: test_.for(:name)_returns_current_indent_without_newline_when_block_is_not_given
21351
+ ---------------------------------------------------------------------------------------------
21352
+ -----------------------------------------------------------------
21353
+ IndenterTest: test_.for(:name)_takes_a_block_receiving_whitespace
21354
+ -----------------------------------------------------------------
21355
+ ------------------------------------------------------------------
21356
+ IndenterTest: test_nesting_blocks_increases_whitespace_accordingly
21357
+ ------------------------------------------------------------------
21358
+ -----------------------------------------------------------
21359
+ RadioTest: test_radio_has_correct_label_field_name_and_text
21360
+ -----------------------------------------------------------
21361
+ ------------------------------------------------------------------
21362
+ RadioTest: test_radio_options_from_collection_when_options_omitted
21363
+ ------------------------------------------------------------------
21364
+ ----------------------------------------------------------
21365
+ RadioTest: test_radio_options_may_be_specified_with_a_hash
21366
+ ----------------------------------------------------------
21367
+ --------------------------------------------------------
21368
+ RadioTest: test_radio_options_present_with_class_'radio'
21369
+ --------------------------------------------------------
21370
+ -------------------------------------------------
21371
+ RadioTest: test_radio_requires_a_parent_component
21372
+ -------------------------------------------------
21373
+ ------------------------------------------------------------
21374
+ RadioTest: test_radio_throws_error_if_given_improper_options
21375
+ ------------------------------------------------------------
21376
+ -----------------------------------------------------------------------------
21377
+ ConfigurableTest: test_.has_argument_adds_a_positional_configuration_argument
21378
+ -----------------------------------------------------------------------------
21379
+ ----------------------------------------------------------------------------------------
21380
+ ConfigurableTest: test_.has_argument_appends_supported_arguments_in_order_of_inheritence
21381
+ ----------------------------------------------------------------------------------------
21382
+ -------------------------------------------------------------------------------
21383
+ ConfigurableTest: test_.has_argument_as:_allows_overwrite_of_inherited_argument
21384
+ -------------------------------------------------------------------------------
21385
+ -----------------------------------------------------------------------------------------------------
21386
+ ConfigurableTest: test_.has_argument_makes_builder_arguments_accessible_by_name_according_to_position
21387
+ -----------------------------------------------------------------------------------------------------
21388
+ ---------------------------------------------------
21389
+ ConfigurableTest: test_default_values_are_supported
21390
+ ---------------------------------------------------
21391
+ ----------------------------------------------------------------------
21392
+ ConfigurableTest: test_default_values_for_attributes_can_be_overridden
21393
+ ----------------------------------------------------------------------
21394
+ ------------------------------------------------------------------------
21395
+ ConfigurableTest: test_does_not_pass_declared_options_as_html_attributes
21396
+ ------------------------------------------------------------------------
21397
+ -----------------------------------------------------------
21398
+ ConfigurableTest: test_has_no_id_attribute_if_not_specified
21399
+ -----------------------------------------------------------
21400
+ --------------------------------------------
21401
+ ConfigurableTest: test_options_are_inherited
21402
+ --------------------------------------------
21403
+ -------------------------------------------------------
21404
+ ConfigurableTest: test_renders_first_argument_as_dom_id
21405
+ -------------------------------------------------------
21406
+ ----------------------------------------------------
21407
+ ConfigurableTest: test_required_options_are_required
21408
+ ----------------------------------------------------
21409
+ --------------------------------------------------
21410
+ ConfigurableTest: test_supports_option_declaration
21411
+ --------------------------------------------------
21412
+ ---------------------------------------------------------------
21413
+ ConfigurableTest: test_unrecognized_options_raises_an_exception
21414
+ ---------------------------------------------------------------
21415
+ ----------------------------------------------------
21416
+ ConfigurableTest: test_values_can_be_set_for_options
21417
+ ----------------------------------------------------
21418
+ ------------------------------------------------------------
21419
+ TreeForTest: test_tree_for_accepts_block_with_custom_content
21420
+ ------------------------------------------------------------
21421
+ ---------------------------------------------------------------------------
21422
+ TreeForTest: test_tree_for_renders_correct_markup_with_node.name_as_default
21423
+ ---------------------------------------------------------------------------
21424
+ --------------------------------------------------------------------------------------------------
21425
+ ExpressTemplates::ResourcefulTest: test_#resource_class_returns_resource_class_option_if_specified
21426
+ --------------------------------------------------------------------------------------------------
21427
+ -----------------------------------------------------------------------------------------
21428
+ ExpressTemplates::ResourcefulTest: test_infers_a_namespace_and_no_prefix_within_an_engine
21429
+ -----------------------------------------------------------------------------------------
21430
+ ---------------------------------------------------------------------------------------------------
21431
+ ExpressTemplates::ResourcefulTest: test_infers_namespace_and_path_prefix_within_an_engine_and_scope
21432
+ ---------------------------------------------------------------------------------------------------
21433
+ ------------------------------------------------------------------------------------------------
21434
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_infers_prefix_within_a_scope_within_an_app
21435
+ ------------------------------------------------------------------------------------------------
21436
+ -----------------------------------------------------------------------------
21437
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_no_prefix_within_an_app
21438
+ -----------------------------------------------------------------------------
21439
+ -----------------------------------------
21440
+ HelloControllerTest: test_should_get_show
21441
+ -----------------------------------------
21442
+ Processing by HelloController#show as HTML
21443
+ Rendered hello/show.html.et within layouts/application (1.2ms)
21444
+ Completed 200 OK in 109ms (Views: 109.3ms)
21445
+ -----------------------------------------------------------------------------------------
21446
+ ProcTest: test_#source_body_captures_full_body_when_parens_around_parameters_not_provided
21447
+ -----------------------------------------------------------------------------------------
21448
+ ------------------------------------------------
21449
+ ProcTest: test_#source_body_handles_funky_bodies
21450
+ ------------------------------------------------
21451
+ ----------------------------------------------------------
21452
+ ProcTest: test_#source_body_raises_exception_for_arity_>_0
21453
+ ----------------------------------------------------------
21454
+ ------------------------------------------------------
21455
+ ProcTest: test_#source_body_returns_the_body_of_a_proc
21456
+ ------------------------------------------------------
21457
+ ----------------------------------------------
21458
+ ProcTest: test_#source_returns_a_proc's_source
21459
+ ----------------------------------------------
21460
+ ---------------------------------------------------------------
21461
+ ProcTest: test_#source_work_with_a_stabby_lambda_spanning_lines
21462
+ ---------------------------------------------------------------
21463
+ -----------------------------------------------------------------
21464
+ ProcTest: test_#source_works_when_a_proc_is_inside_a_hash_literal
21465
+ -----------------------------------------------------------------
21466
+ ------------------------------------------------------------
21467
+ ProcTest: test_#source_works_with_a_block_containing_a_block
21468
+ ------------------------------------------------------------
21469
+ --------------------------------------------
21470
+ ProcTest: test_#source_works_with_a_do_block
21471
+ --------------------------------------------
21472
+ -----------------------------------------------------
21473
+ ProcTest: test_#source_works_with_a_single_line_block
21474
+ -----------------------------------------------------
21475
+ -------------------------------------------------
21476
+ ProcTest: test_#source_works_with_a_stabby_lambda
21477
+ -------------------------------------------------
21478
+ ----------------------------------------------------------------------------------------
21479
+ ProcTest: test_.from_source_stores_source_of_a_dynamicly_built_proc_for_later_inspection
21480
+ ----------------------------------------------------------------------------------------
21481
+ ----------------------------------------------
21482
+ SubmitTest: test_submit_accepts_a_class_option
21483
+ ----------------------------------------------
21484
+ --------------------------------------------------------
21485
+ SubmitTest: test_submit_accepts_a_value_and_class_option
21486
+ --------------------------------------------------------
21487
+ ----------------------------------------------------
21488
+ SubmitTest: test_submit_takes_string_param_for_value
21489
+ ----------------------------------------------------
21490
+ -----------------------------------------------------------------
21491
+ BaseTest: test_.contains_places_fragment_inside_the_enclosing_tag
21492
+ -----------------------------------------------------------------
21493
+ ---------------------------------------------------------
21494
+ BaseTest: test_.has_attributes_creates_default_attributes
21495
+ ---------------------------------------------------------
21496
+ -----------------------------------------------------
21497
+ BaseTest: test_.tag_name_determines_the_enclosing_tag
21498
+ -----------------------------------------------------
21499
+ --------------------------------------------------
21500
+ BaseTest: test_before_build_hook_runs_before_build
21501
+ --------------------------------------------------
21502
+ --------------------------------------------------------------
21503
+ BaseTest: test_class_name_is_dasherized_instead_of_underscored
21504
+ --------------------------------------------------------------
21505
+ -----------------------------------------------------------
21506
+ BaseTest: test_class_option_adds_a_class,_does_not_override
21507
+ -----------------------------------------------------------
21508
+ ----------------------------------------------------
21509
+ BaseTest: test_options_are_passed_to_html_attributes
21510
+ ----------------------------------------------------
21511
+ --------------------------------------------------------------
21512
+ HandlerTest: test_helpers_returning_html_when_alone_in_a_block
21513
+ --------------------------------------------------------------
21514
+ ------------------------------------------------------------------------
21515
+ HandlerTest: test_helpers_returning_html_work_in_sequence_within_a_block
21516
+ ------------------------------------------------------------------------
21517
+ ----------------------------------------------------------
21518
+ HandlerTest: test_html_generates_<h1>Hello</h1>_by_default
21519
+ ----------------------------------------------------------
21520
+ -----------------------------
21521
+ HandlerTest: test_locals_work
21522
+ -----------------------------
21523
+ ------------------------------------------------------------
21524
+ HandlerTest: test_nesting_elements_with_ruby_block_structure
21525
+ ------------------------------------------------------------
21526
+ ----------------------------------
21527
+ HandlerTest: test_other_attributes
21528
+ ----------------------------------
21529
+ -------------------------------------------
21530
+ HandlerTest: test_our_handler_is_registered
21531
+ -------------------------------------------
21532
+ ------------------------------------------------------------------
21533
+ HandlerTest: test_raises_warning_if_template_has_conditional_logic
21534
+ ------------------------------------------------------------------
21535
+ ---------------------------------------
21536
+ HandlerTest: test_string_in_block_works
21537
+ ---------------------------------------
21538
+ ---------------------------------------------------------------
21539
+ ExpressFormTest: test_express_form_contents_are_inside_the_form
21540
+ ---------------------------------------------------------------
21541
+ ---------------------------------------------------------
21542
+ ExpressFormTest: test_express_form_default_method_is_POST
21543
+ ---------------------------------------------------------
21544
+ -----------------------------------------------------
21545
+ ExpressFormTest: test_simplest_form_contains_form_tag
21546
+ -----------------------------------------------------
21547
+ ---------------------------------------------------------------
21548
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
21549
+ ---------------------------------------------------------------
21550
+ ---------------------------------------------------
21551
+ ExpressFormTest: test_simplest_form_contains_submit
21552
+ ---------------------------------------------------
21553
+ -------------------------------------------
21554
+ ExpressFormTest: test_simplest_form_renders
21555
+ -------------------------------------------
21556
+ -------------------------------------------------------------------
21557
+ ExpressFormTest: test_simplest_form_uses_form_action_for_the_action
21558
+ -------------------------------------------------------------------
21559
+ -----------------------------------------------------------
21560
+ ExpressFormTest: test_simplest_form_will_have_the_proper_id
21561
+ -----------------------------------------------------------
21562
+ --------------------------------------------
21563
+ CompilerTest: test_.compile_returns_a_string
21564
+ --------------------------------------------
21565
+ ----------------------------------------------------------------
21566
+ SelectTest: test_select_collection_works_using_collection_select
21567
+ ----------------------------------------------------------------
21568
+ ------------------------------------------
21569
+ SelectTest: test_select_comes_with_a_label
21570
+ ------------------------------------------
21571
+ --------------------------------------------------
21572
+ SelectTest: test_select_defaults_can_be_overridden
21573
+ --------------------------------------------------
21574
+ -------------------------------------------------------
21575
+ SelectTest: test_select_defaults_to_include_blank:_true
21576
+ -------------------------------------------------------
21577
+ ------------------------------------------------------------------------------------
21578
+ SelectTest: test_select_generates_correct_options_when_values_are_specified_as_array
21579
+ ------------------------------------------------------------------------------------
21580
+ ------------------------------------------------------------------------
21581
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
21582
+ ------------------------------------------------------------------------
21583
+ --------------------------------------------------------------
21584
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
21585
+ --------------------------------------------------------------
21586
+ -----------------------------------------------------------------------------------------
21587
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
21588
+ -----------------------------------------------------------------------------------------
21589
+ ---------------------------------------------------
21590
+ SelectTest: test_select_requires_a_parent_component
21591
+ ---------------------------------------------------
21592
+ ---------------------------------------------------------------------------
21593
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
21594
+ ---------------------------------------------------------------------------
21595
+ -------------------------------------------------------------------------
21596
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
21597
+ -------------------------------------------------------------------------
21598
+ -----------------------------------------------------------------
21599
+ BaseTest: test_.contains_places_fragment_inside_the_enclosing_tag
21600
+ -----------------------------------------------------------------
21601
+ ---------------------------------------------------------
21602
+ BaseTest: test_.has_attributes_creates_default_attributes
21603
+ ---------------------------------------------------------
21604
+ -----------------------------------------------------
21605
+ BaseTest: test_.tag_name_determines_the_enclosing_tag
21606
+ -----------------------------------------------------
21607
+ --------------------------------------------------
21608
+ BaseTest: test_before_build_hook_runs_before_build
21609
+ --------------------------------------------------
21610
+ --------------------------------------------------------------
21611
+ BaseTest: test_class_name_is_dasherized_instead_of_underscored
21612
+ --------------------------------------------------------------
21613
+ -----------------------------------------------------------
21614
+ BaseTest: test_class_option_adds_a_class,_does_not_override
21615
+ -----------------------------------------------------------
21616
+ ----------------------------------------------------
21617
+ BaseTest: test_options_are_passed_to_html_attributes
21618
+ ----------------------------------------------------
21619
+ ----------------------------------------------
21620
+ SubmitTest: test_submit_accepts_a_class_option
21621
+ ----------------------------------------------
21622
+ --------------------------------------------------------
21623
+ SubmitTest: test_submit_accepts_a_value_and_class_option
21624
+ --------------------------------------------------------
21625
+ ----------------------------------------------------
21626
+ SubmitTest: test_submit_takes_string_param_for_value
21627
+ ----------------------------------------------------
21628
+ -----------------------------------------------------------
21629
+ RadioTest: test_radio_has_correct_label_field_name_and_text
21630
+ -----------------------------------------------------------
21631
+ ------------------------------------------------------------------
21632
+ RadioTest: test_radio_options_from_collection_when_options_omitted
21633
+ ------------------------------------------------------------------
21634
+ ----------------------------------------------------------
21635
+ RadioTest: test_radio_options_may_be_specified_with_a_hash
21636
+ ----------------------------------------------------------
21637
+ --------------------------------------------------------
21638
+ RadioTest: test_radio_options_present_with_class_'radio'
21639
+ --------------------------------------------------------
21640
+ -------------------------------------------------
21641
+ RadioTest: test_radio_requires_a_parent_component
21642
+ -------------------------------------------------
21643
+ ------------------------------------------------------------
21644
+ RadioTest: test_radio_throws_error_if_given_improper_options
21645
+ ------------------------------------------------------------
21646
+ ---------------------------------------------------------------------------------------
21647
+ BasicFieldsTest: test_adds_error_class_if_there_are_errors_on_a_field_with_no_class_set
21648
+ ---------------------------------------------------------------------------------------
21649
+ ----------------------------------------------------------------------------------------------
21650
+ BasicFieldsTest: test_adds_error_class_if_there_are_errors_on_a_field_with_no_input_attributes
21651
+ ----------------------------------------------------------------------------------------------
21652
+ --------------------------------------------------------------------------------------------
21653
+ BasicFieldsTest: test_adds_error_to_class_if_there_are_errors_on_a_field_with_existing_class
21654
+ --------------------------------------------------------------------------------------------
21655
+ -------------------------------------
21656
+ BasicFieldsTest: test_all_fields_work
21657
+ -------------------------------------
21658
+ ---------------------------------------------------------------------------------
21659
+ BasicFieldsTest: test_hidden_field_passes_additional_html_options_to_rails_helper
21660
+ ---------------------------------------------------------------------------------
21661
+ ---------------------------------------------------------
21662
+ BasicFieldsTest: test_hidden_uses_rails_hidden_tag_helper
21663
+ ---------------------------------------------------------
21664
+ ---------------------------------------------------------
21665
+ BasicFieldsTest: test_passing_html_options_to_fields_work
21666
+ ---------------------------------------------------------
21667
+ -----------------------------------------------------------------------------
21668
+ BasicFieldsTest: test_textarea_passes_additional_html_options_to_rails_helper
21669
+ -----------------------------------------------------------------------------
21670
+ ----------------------------------------------------------
21671
+ BasicFieldsTest: test_textarea_uses_rails_text_area_helper
21672
+ ----------------------------------------------------------
21673
+ -------------------------------------------------------------
21674
+ CheckboxTest: test_checkbox_places_the_label_before_the_input
21675
+ -------------------------------------------------------------
21676
+ -------------------------------------------------------
21677
+ CheckboxTest: test_checkbox_respects_label_after:_true_
21678
+ -------------------------------------------------------
21679
+ -----------------------------------------
21680
+ HelloControllerTest: test_should_get_show
21681
+ -----------------------------------------
21682
+ Processing by HelloController#show as HTML
21683
+ Rendered hello/show.html.et within layouts/application (2.0ms)
21684
+ Completed 200 OK in 117ms (Views: 116.8ms)
21685
+ ----------------------------------------------------------------
21686
+ SelectTest: test_select_collection_works_using_collection_select
21687
+ ----------------------------------------------------------------
21688
+ ------------------------------------------
21689
+ SelectTest: test_select_comes_with_a_label
21690
+ ------------------------------------------
21691
+ --------------------------------------------------
21692
+ SelectTest: test_select_defaults_can_be_overridden
21693
+ --------------------------------------------------
21694
+ -------------------------------------------------------
21695
+ SelectTest: test_select_defaults_to_include_blank:_true
21696
+ -------------------------------------------------------
21697
+ ------------------------------------------------------------------------------------
21698
+ SelectTest: test_select_generates_correct_options_when_values_are_specified_as_array
21699
+ ------------------------------------------------------------------------------------
21700
+ ------------------------------------------------------------------------
21701
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
21702
+ ------------------------------------------------------------------------
21703
+ --------------------------------------------------------------
21704
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
21705
+ --------------------------------------------------------------
21706
+ -----------------------------------------------------------------------------------------
21707
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
21708
+ -----------------------------------------------------------------------------------------
21709
+ ---------------------------------------------------
21710
+ SelectTest: test_select_requires_a_parent_component
21711
+ ---------------------------------------------------
21712
+ ---------------------------------------------------------------------------
21713
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
21714
+ ---------------------------------------------------------------------------
21715
+ -------------------------------------------------------------------------
21716
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
21717
+ -------------------------------------------------------------------------
21718
+ ------------------------------------------------------------------------------------
21719
+ InterpolatorTest: test_"{{some_{{thing}}_foo}}"_transforms_to_"#{some_#{thing}_foo}"
21720
+ ------------------------------------------------------------------------------------
21721
+ -------------------------------------------------------------------
21722
+ InterpolatorTest: test_"{{something}}"_transforms_to_"#{something}"
21723
+ -------------------------------------------------------------------
21724
+ ---------------------------------------------------------------------
21725
+ InterpolatorTest: test_'a_lot_of_{{something_"{{good}}"}}'_transforms
21726
+ ---------------------------------------------------------------------
21727
+ ---------------------------------------------------------------------
21728
+ InterpolatorTest: test_nested_with_multiple_nested_expressions_parses
21729
+ ---------------------------------------------------------------------
21730
+ ----------------------------------------------------
21731
+ InterpolatorTest: test_nested_with_outer_text_parses
21732
+ ----------------------------------------------------
21733
+ -------------------------------------------------------
21734
+ InterpolatorTest: test_nested_without_outer_text_parses
21735
+ -------------------------------------------------------
21736
+ ---------------------------------------------------------------------
21737
+ InterpolatorTest: test_simple_expression_with_surrounding_text_parses
21738
+ ---------------------------------------------------------------------
21739
+ -------------------------------------------------
21740
+ InterpolatorTest: test_simplest_expression_parses
21741
+ -------------------------------------------------
21742
+ ---------------------------------------------------------------------
21743
+ ExpressTemplatesTest: test_ExpressTemplates.render_renders_a_template
21744
+ ---------------------------------------------------------------------
21745
+ -------------------------------------------
21746
+ ExpressTemplatesTest: test_we_have_a_module
21747
+ -------------------------------------------
21748
+ ------------------------------------------------------------------------------------
21749
+ StringTest: test_String#inspect_works_normally_when_#to_view_code_hasn't_been_called
21750
+ ------------------------------------------------------------------------------------
21751
+ --------------------------------------------------------------------------------
21752
+ StringTest: test_String#to_view_code_causes_subsequent_#inspect_to_remove_quotes
21753
+ --------------------------------------------------------------------------------
21754
+ -------------------------------------------------------
21755
+ StringTest: test_String#to_view_code_returns_the_string
21756
+ -------------------------------------------------------
21757
+ -----------------------------------------------------------------------------
21758
+ ConfigurableTest: test_.has_argument_adds_a_positional_configuration_argument
21759
+ -----------------------------------------------------------------------------
21760
+ ----------------------------------------------------------------------------------------
21761
+ ConfigurableTest: test_.has_argument_appends_supported_arguments_in_order_of_inheritence
21762
+ ----------------------------------------------------------------------------------------
21763
+ -------------------------------------------------------------------------------
21764
+ ConfigurableTest: test_.has_argument_as:_allows_overwrite_of_inherited_argument
21765
+ -------------------------------------------------------------------------------
21766
+ -----------------------------------------------------------------------------------------------------
21767
+ ConfigurableTest: test_.has_argument_makes_builder_arguments_accessible_by_name_according_to_position
21768
+ -----------------------------------------------------------------------------------------------------
21769
+ ---------------------------------------------------
21770
+ ConfigurableTest: test_default_values_are_supported
21771
+ ---------------------------------------------------
21772
+ ----------------------------------------------------------------------
21773
+ ConfigurableTest: test_default_values_for_attributes_can_be_overridden
21774
+ ----------------------------------------------------------------------
21775
+ ------------------------------------------------------------------------
21776
+ ConfigurableTest: test_does_not_pass_declared_options_as_html_attributes
21777
+ ------------------------------------------------------------------------
21778
+ -----------------------------------------------------------
21779
+ ConfigurableTest: test_has_no_id_attribute_if_not_specified
21780
+ -----------------------------------------------------------
21781
+ --------------------------------------------
21782
+ ConfigurableTest: test_options_are_inherited
21783
+ --------------------------------------------
21784
+ -------------------------------------------------------
21785
+ ConfigurableTest: test_renders_first_argument_as_dom_id
21786
+ -------------------------------------------------------
21787
+ ----------------------------------------------------
21788
+ ConfigurableTest: test_required_options_are_required
21789
+ ----------------------------------------------------
21790
+ --------------------------------------------------
21791
+ ConfigurableTest: test_supports_option_declaration
21792
+ --------------------------------------------------
21793
+ ---------------------------------------------------------------
21794
+ ConfigurableTest: test_unrecognized_options_raises_an_exception
21795
+ ---------------------------------------------------------------
21796
+ ----------------------------------------------------
21797
+ ConfigurableTest: test_values_can_be_set_for_options
21798
+ ----------------------------------------------------
21799
+ ---------------------------------------------------------------------------------------------
21800
+ IndenterTest: test_.for(:name)_returns_current_indent_without_newline_when_block_is_not_given
21801
+ ---------------------------------------------------------------------------------------------
21802
+ -----------------------------------------------------------------
21803
+ IndenterTest: test_.for(:name)_takes_a_block_receiving_whitespace
21804
+ -----------------------------------------------------------------
21805
+ ------------------------------------------------------------------
21806
+ IndenterTest: test_nesting_blocks_increases_whitespace_accordingly
21807
+ ------------------------------------------------------------------
21808
+ --------------------------------------------
21809
+ CompilerTest: test_.compile_returns_a_string
21810
+ --------------------------------------------
21811
+ -----------------------------------------------------------------------------------------
21812
+ ProcTest: test_#source_body_captures_full_body_when_parens_around_parameters_not_provided
21813
+ -----------------------------------------------------------------------------------------
21814
+ ------------------------------------------------
21815
+ ProcTest: test_#source_body_handles_funky_bodies
21816
+ ------------------------------------------------
21817
+ ----------------------------------------------------------
21818
+ ProcTest: test_#source_body_raises_exception_for_arity_>_0
21819
+ ----------------------------------------------------------
21820
+ ------------------------------------------------------
21821
+ ProcTest: test_#source_body_returns_the_body_of_a_proc
21822
+ ------------------------------------------------------
21823
+ ----------------------------------------------
21824
+ ProcTest: test_#source_returns_a_proc's_source
21825
+ ----------------------------------------------
21826
+ ---------------------------------------------------------------
21827
+ ProcTest: test_#source_work_with_a_stabby_lambda_spanning_lines
21828
+ ---------------------------------------------------------------
21829
+ -----------------------------------------------------------------
21830
+ ProcTest: test_#source_works_when_a_proc_is_inside_a_hash_literal
21831
+ -----------------------------------------------------------------
21832
+ ------------------------------------------------------------
21833
+ ProcTest: test_#source_works_with_a_block_containing_a_block
21834
+ ------------------------------------------------------------
21835
+ --------------------------------------------
21836
+ ProcTest: test_#source_works_with_a_do_block
21837
+ --------------------------------------------
21838
+ -----------------------------------------------------
21839
+ ProcTest: test_#source_works_with_a_single_line_block
21840
+ -----------------------------------------------------
21841
+ -------------------------------------------------
21842
+ ProcTest: test_#source_works_with_a_stabby_lambda
21843
+ -------------------------------------------------
21844
+ ----------------------------------------------------------------------------------------
21845
+ ProcTest: test_.from_source_stores_source_of_a_dynamicly_built_proc_for_later_inspection
21846
+ ----------------------------------------------------------------------------------------
21847
+ --------------------------------------------------------------------------------------------------
21848
+ ExpressTemplates::ResourcefulTest: test_#resource_class_returns_resource_class_option_if_specified
21849
+ --------------------------------------------------------------------------------------------------
21850
+ -----------------------------------------------------------------------------------------
21851
+ ExpressTemplates::ResourcefulTest: test_infers_a_namespace_and_no_prefix_within_an_engine
21852
+ -----------------------------------------------------------------------------------------
21853
+ ---------------------------------------------------------------------------------------------------
21854
+ ExpressTemplates::ResourcefulTest: test_infers_namespace_and_path_prefix_within_an_engine_and_scope
21855
+ ---------------------------------------------------------------------------------------------------
21856
+ ------------------------------------------------------------------------------------------------
21857
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_infers_prefix_within_a_scope_within_an_app
21858
+ ------------------------------------------------------------------------------------------------
21859
+ -----------------------------------------------------------------------------
21860
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_no_prefix_within_an_app
21861
+ -----------------------------------------------------------------------------
21862
+ ---------------------------------------------------------------
21863
+ ExpressFormTest: test_express_form_contents_are_inside_the_form
21864
+ ---------------------------------------------------------------
21865
+ ---------------------------------------------------------
21866
+ ExpressFormTest: test_express_form_default_method_is_POST
21867
+ ---------------------------------------------------------
21868
+ -----------------------------------------------------
21869
+ ExpressFormTest: test_simplest_form_contains_form_tag
21870
+ -----------------------------------------------------
21871
+ ---------------------------------------------------------------
21872
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
21873
+ ---------------------------------------------------------------
21874
+ ---------------------------------------------------
21875
+ ExpressFormTest: test_simplest_form_contains_submit
21876
+ ---------------------------------------------------
21877
+ -------------------------------------------
21878
+ ExpressFormTest: test_simplest_form_renders
21879
+ -------------------------------------------
21880
+ -------------------------------------------------------------------
21881
+ ExpressFormTest: test_simplest_form_uses_form_action_for_the_action
21882
+ -------------------------------------------------------------------
21883
+ -----------------------------------------------------------
21884
+ ExpressFormTest: test_simplest_form_will_have_the_proper_id
21885
+ -----------------------------------------------------------
21886
+ ------------------------------------------------------------
21887
+ TreeForTest: test_tree_for_accepts_block_with_custom_content
21888
+ ------------------------------------------------------------
21889
+ ---------------------------------------------------------------------------
21890
+ TreeForTest: test_tree_for_renders_correct_markup_with_node.name_as_default
21891
+ ---------------------------------------------------------------------------
21892
+ --------------------------------------------------------------
21893
+ HandlerTest: test_helpers_returning_html_when_alone_in_a_block
21894
+ --------------------------------------------------------------
21895
+ ------------------------------------------------------------------------
21896
+ HandlerTest: test_helpers_returning_html_work_in_sequence_within_a_block
21897
+ ------------------------------------------------------------------------
21898
+ ----------------------------------------------------------
21899
+ HandlerTest: test_html_generates_<h1>Hello</h1>_by_default
21900
+ ----------------------------------------------------------
21901
+ -----------------------------
21902
+ HandlerTest: test_locals_work
21903
+ -----------------------------
21904
+ ------------------------------------------------------------
21905
+ HandlerTest: test_nesting_elements_with_ruby_block_structure
21906
+ ------------------------------------------------------------
21907
+ ----------------------------------
21908
+ HandlerTest: test_other_attributes
21909
+ ----------------------------------
21910
+ -------------------------------------------
21911
+ HandlerTest: test_our_handler_is_registered
21912
+ -------------------------------------------
21913
+ ------------------------------------------------------------------
21914
+ HandlerTest: test_raises_warning_if_template_has_conditional_logic
21915
+ ------------------------------------------------------------------
21916
+ ---------------------------------------
21917
+ HandlerTest: test_string_in_block_works
21918
+ ---------------------------------------
21919
+ ------------------------------------------------------------------------------------
21920
+ StringTest: test_String#inspect_works_normally_when_#to_view_code_hasn't_been_called
21921
+ ------------------------------------------------------------------------------------
21922
+ --------------------------------------------------------------------------------
21923
+ StringTest: test_String#to_view_code_causes_subsequent_#inspect_to_remove_quotes
21924
+ --------------------------------------------------------------------------------
21925
+ -------------------------------------------------------
21926
+ StringTest: test_String#to_view_code_returns_the_string
21927
+ -------------------------------------------------------
21928
+ ---------------------------------------------------------------------
21929
+ ExpressTemplatesTest: test_ExpressTemplates.render_renders_a_template
21930
+ ---------------------------------------------------------------------
21931
+ -------------------------------------------
21932
+ ExpressTemplatesTest: test_we_have_a_module
21933
+ -------------------------------------------
21934
+ ---------------------------------------------------------------
21935
+ ExpressFormTest: test_express_form_contents_are_inside_the_form
21936
+ ---------------------------------------------------------------
21937
+ ---------------------------------------------------------
21938
+ ExpressFormTest: test_express_form_default_method_is_POST
21939
+ ---------------------------------------------------------
21940
+ -----------------------------------------------------
21941
+ ExpressFormTest: test_simplest_form_contains_form_tag
21942
+ -----------------------------------------------------
21943
+ ---------------------------------------------------------------
21944
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
21945
+ ---------------------------------------------------------------
21946
+ ---------------------------------------------------
21947
+ ExpressFormTest: test_simplest_form_contains_submit
21948
+ ---------------------------------------------------
21949
+ -------------------------------------------
21950
+ ExpressFormTest: test_simplest_form_renders
21951
+ -------------------------------------------
21952
+ -------------------------------------------------------------------
21953
+ ExpressFormTest: test_simplest_form_uses_form_action_for_the_action
21954
+ -------------------------------------------------------------------
21955
+ -----------------------------------------------------------
21956
+ ExpressFormTest: test_simplest_form_will_have_the_proper_id
21957
+ -----------------------------------------------------------
21958
+ -----------------------------------------------------------
21959
+ RadioTest: test_radio_has_correct_label_field_name_and_text
21960
+ -----------------------------------------------------------
21961
+ ------------------------------------------------------------------
21962
+ RadioTest: test_radio_options_from_collection_when_options_omitted
21963
+ ------------------------------------------------------------------
21964
+ ----------------------------------------------------------
21965
+ RadioTest: test_radio_options_may_be_specified_with_a_hash
21966
+ ----------------------------------------------------------
21967
+ --------------------------------------------------------
21968
+ RadioTest: test_radio_options_present_with_class_'radio'
21969
+ --------------------------------------------------------
21970
+ -------------------------------------------------
21971
+ RadioTest: test_radio_requires_a_parent_component
21972
+ -------------------------------------------------
21973
+ ------------------------------------------------------------
21974
+ RadioTest: test_radio_throws_error_if_given_improper_options
21975
+ ------------------------------------------------------------
21976
+ -----------------------------------------------------------------------------------------
21977
+ ProcTest: test_#source_body_captures_full_body_when_parens_around_parameters_not_provided
21978
+ -----------------------------------------------------------------------------------------
21979
+ ------------------------------------------------
21980
+ ProcTest: test_#source_body_handles_funky_bodies
21981
+ ------------------------------------------------
21982
+ ----------------------------------------------------------
21983
+ ProcTest: test_#source_body_raises_exception_for_arity_>_0
21984
+ ----------------------------------------------------------
21985
+ ------------------------------------------------------
21986
+ ProcTest: test_#source_body_returns_the_body_of_a_proc
21987
+ ------------------------------------------------------
21988
+ ----------------------------------------------
21989
+ ProcTest: test_#source_returns_a_proc's_source
21990
+ ----------------------------------------------
21991
+ ---------------------------------------------------------------
21992
+ ProcTest: test_#source_work_with_a_stabby_lambda_spanning_lines
21993
+ ---------------------------------------------------------------
21994
+ -----------------------------------------------------------------
21995
+ ProcTest: test_#source_works_when_a_proc_is_inside_a_hash_literal
21996
+ -----------------------------------------------------------------
21997
+ ------------------------------------------------------------
21998
+ ProcTest: test_#source_works_with_a_block_containing_a_block
21999
+ ------------------------------------------------------------
22000
+ --------------------------------------------
22001
+ ProcTest: test_#source_works_with_a_do_block
22002
+ --------------------------------------------
22003
+ -----------------------------------------------------
22004
+ ProcTest: test_#source_works_with_a_single_line_block
22005
+ -----------------------------------------------------
22006
+ -------------------------------------------------
22007
+ ProcTest: test_#source_works_with_a_stabby_lambda
22008
+ -------------------------------------------------
22009
+ ----------------------------------------------------------------------------------------
22010
+ ProcTest: test_.from_source_stores_source_of_a_dynamicly_built_proc_for_later_inspection
22011
+ ----------------------------------------------------------------------------------------
22012
+ --------------------------------------------
22013
+ CompilerTest: test_.compile_returns_a_string
22014
+ --------------------------------------------
22015
+ ----------------------------------------------
22016
+ SubmitTest: test_submit_accepts_a_class_option
22017
+ ----------------------------------------------
22018
+ --------------------------------------------------------
22019
+ SubmitTest: test_submit_accepts_a_value_and_class_option
22020
+ --------------------------------------------------------
22021
+ ----------------------------------------------------
22022
+ SubmitTest: test_submit_takes_string_param_for_value
22023
+ ----------------------------------------------------
22024
+ ------------------------------------------------------------
22025
+ TreeForTest: test_tree_for_accepts_block_with_custom_content
22026
+ ------------------------------------------------------------
22027
+ ---------------------------------------------------------------------------
22028
+ TreeForTest: test_tree_for_renders_correct_markup_with_node.name_as_default
22029
+ ---------------------------------------------------------------------------
22030
+ -------------------------------------------------------------
22031
+ CheckboxTest: test_checkbox_places_the_label_before_the_input
22032
+ -------------------------------------------------------------
22033
+ -------------------------------------------------------
22034
+ CheckboxTest: test_checkbox_respects_label_after:_true_
22035
+ -------------------------------------------------------
22036
+ ---------------------------------------------------------------------------------------------
22037
+ IndenterTest: test_.for(:name)_returns_current_indent_without_newline_when_block_is_not_given
22038
+ ---------------------------------------------------------------------------------------------
22039
+ -----------------------------------------------------------------
22040
+ IndenterTest: test_.for(:name)_takes_a_block_receiving_whitespace
22041
+ -----------------------------------------------------------------
22042
+ ------------------------------------------------------------------
22043
+ IndenterTest: test_nesting_blocks_increases_whitespace_accordingly
22044
+ ------------------------------------------------------------------
22045
+ --------------------------------------------------------------------------------------------------
22046
+ ExpressTemplates::ResourcefulTest: test_#resource_class_returns_resource_class_option_if_specified
22047
+ --------------------------------------------------------------------------------------------------
22048
+ -----------------------------------------------------------------------------------------
22049
+ ExpressTemplates::ResourcefulTest: test_infers_a_namespace_and_no_prefix_within_an_engine
22050
+ -----------------------------------------------------------------------------------------
22051
+ ---------------------------------------------------------------------------------------------------
22052
+ ExpressTemplates::ResourcefulTest: test_infers_namespace_and_path_prefix_within_an_engine_and_scope
22053
+ ---------------------------------------------------------------------------------------------------
22054
+ ------------------------------------------------------------------------------------------------
22055
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_infers_prefix_within_a_scope_within_an_app
22056
+ ------------------------------------------------------------------------------------------------
22057
+ -----------------------------------------------------------------------------
22058
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_no_prefix_within_an_app
22059
+ -----------------------------------------------------------------------------
22060
+ -----------------------------------------
22061
+ HelloControllerTest: test_should_get_show
22062
+ -----------------------------------------
22063
+ Processing by HelloController#show as HTML
22064
+ Rendered hello/show.html.et within layouts/application (1.4ms)
22065
+ Completed 200 OK in 116ms (Views: 116.2ms)
22066
+ ----------------------------------------------------------------
22067
+ SelectTest: test_select_collection_works_using_collection_select
22068
+ ----------------------------------------------------------------
22069
+ ------------------------------------------
22070
+ SelectTest: test_select_comes_with_a_label
22071
+ ------------------------------------------
22072
+ --------------------------------------------------
22073
+ SelectTest: test_select_defaults_can_be_overridden
22074
+ --------------------------------------------------
22075
+ -------------------------------------------------------
22076
+ SelectTest: test_select_defaults_to_include_blank:_true
22077
+ -------------------------------------------------------
22078
+ ------------------------------------------------------------------------------------
22079
+ SelectTest: test_select_generates_correct_options_when_values_are_specified_as_array
22080
+ ------------------------------------------------------------------------------------
22081
+ ------------------------------------------------------------------------
22082
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
22083
+ ------------------------------------------------------------------------
22084
+ --------------------------------------------------------------
22085
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
22086
+ --------------------------------------------------------------
22087
+ -----------------------------------------------------------------------------------------
22088
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
22089
+ -----------------------------------------------------------------------------------------
22090
+ ---------------------------------------------------
22091
+ SelectTest: test_select_requires_a_parent_component
22092
+ ---------------------------------------------------
22093
+ ---------------------------------------------------------------------------
22094
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
22095
+ ---------------------------------------------------------------------------
22096
+ -------------------------------------------------------------------------
22097
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
22098
+ -------------------------------------------------------------------------
22099
+ --------------------------------------------------------------
22100
+ HandlerTest: test_helpers_returning_html_when_alone_in_a_block
22101
+ --------------------------------------------------------------
22102
+ ------------------------------------------------------------------------
22103
+ HandlerTest: test_helpers_returning_html_work_in_sequence_within_a_block
22104
+ ------------------------------------------------------------------------
22105
+ ----------------------------------------------------------
22106
+ HandlerTest: test_html_generates_<h1>Hello</h1>_by_default
22107
+ ----------------------------------------------------------
22108
+ -----------------------------
22109
+ HandlerTest: test_locals_work
22110
+ -----------------------------
22111
+ ------------------------------------------------------------
22112
+ HandlerTest: test_nesting_elements_with_ruby_block_structure
22113
+ ------------------------------------------------------------
22114
+ ----------------------------------
22115
+ HandlerTest: test_other_attributes
22116
+ ----------------------------------
22117
+ -------------------------------------------
22118
+ HandlerTest: test_our_handler_is_registered
22119
+ -------------------------------------------
22120
+ ------------------------------------------------------------------
22121
+ HandlerTest: test_raises_warning_if_template_has_conditional_logic
22122
+ ------------------------------------------------------------------
22123
+ ---------------------------------------
22124
+ HandlerTest: test_string_in_block_works
22125
+ ---------------------------------------
22126
+ ---------------------------------------------------------------------------------------
22127
+ BasicFieldsTest: test_adds_error_class_if_there_are_errors_on_a_field_with_no_class_set
22128
+ ---------------------------------------------------------------------------------------
22129
+ ----------------------------------------------------------------------------------------------
22130
+ BasicFieldsTest: test_adds_error_class_if_there_are_errors_on_a_field_with_no_input_attributes
22131
+ ----------------------------------------------------------------------------------------------
22132
+ --------------------------------------------------------------------------------------------
22133
+ BasicFieldsTest: test_adds_error_to_class_if_there_are_errors_on_a_field_with_existing_class
22134
+ --------------------------------------------------------------------------------------------
22135
+ -------------------------------------
22136
+ BasicFieldsTest: test_all_fields_work
22137
+ -------------------------------------
22138
+ ---------------------------------------------------------------------------------
22139
+ BasicFieldsTest: test_hidden_field_passes_additional_html_options_to_rails_helper
22140
+ ---------------------------------------------------------------------------------
22141
+ ---------------------------------------------------------
22142
+ BasicFieldsTest: test_hidden_uses_rails_hidden_tag_helper
22143
+ ---------------------------------------------------------
22144
+ ---------------------------------------------------------
22145
+ BasicFieldsTest: test_passing_html_options_to_fields_work
22146
+ ---------------------------------------------------------
22147
+ -----------------------------------------------------------------------------
22148
+ BasicFieldsTest: test_textarea_passes_additional_html_options_to_rails_helper
22149
+ -----------------------------------------------------------------------------
22150
+ ----------------------------------------------------------
22151
+ BasicFieldsTest: test_textarea_uses_rails_text_area_helper
22152
+ ----------------------------------------------------------
22153
+ -----------------------------------------------------------------
22154
+ BaseTest: test_.contains_places_fragment_inside_the_enclosing_tag
22155
+ -----------------------------------------------------------------
22156
+ ---------------------------------------------------------
22157
+ BaseTest: test_.has_attributes_creates_default_attributes
22158
+ ---------------------------------------------------------
22159
+ -----------------------------------------------------
22160
+ BaseTest: test_.tag_name_determines_the_enclosing_tag
22161
+ -----------------------------------------------------
22162
+ --------------------------------------------------
22163
+ BaseTest: test_before_build_hook_runs_before_build
22164
+ --------------------------------------------------
22165
+ --------------------------------------------------------------
22166
+ BaseTest: test_class_name_is_dasherized_instead_of_underscored
22167
+ --------------------------------------------------------------
22168
+ -----------------------------------------------------------
22169
+ BaseTest: test_class_option_adds_a_class,_does_not_override
22170
+ -----------------------------------------------------------
22171
+ ----------------------------------------------------
22172
+ BaseTest: test_options_are_passed_to_html_attributes
22173
+ ----------------------------------------------------
22174
+ ------------------------------------------------------------------------------------
22175
+ InterpolatorTest: test_"{{some_{{thing}}_foo}}"_transforms_to_"#{some_#{thing}_foo}"
22176
+ ------------------------------------------------------------------------------------
22177
+ -------------------------------------------------------------------
22178
+ InterpolatorTest: test_"{{something}}"_transforms_to_"#{something}"
22179
+ -------------------------------------------------------------------
22180
+ ---------------------------------------------------------------------
22181
+ InterpolatorTest: test_'a_lot_of_{{something_"{{good}}"}}'_transforms
22182
+ ---------------------------------------------------------------------
22183
+ ---------------------------------------------------------------------
22184
+ InterpolatorTest: test_nested_with_multiple_nested_expressions_parses
22185
+ ---------------------------------------------------------------------
22186
+ ----------------------------------------------------
22187
+ InterpolatorTest: test_nested_with_outer_text_parses
22188
+ ----------------------------------------------------
22189
+ -------------------------------------------------------
22190
+ InterpolatorTest: test_nested_without_outer_text_parses
22191
+ -------------------------------------------------------
22192
+ ---------------------------------------------------------------------
22193
+ InterpolatorTest: test_simple_expression_with_surrounding_text_parses
22194
+ ---------------------------------------------------------------------
22195
+ -------------------------------------------------
22196
+ InterpolatorTest: test_simplest_expression_parses
22197
+ -------------------------------------------------
22198
+ -----------------------------------------------------------------------------
22199
+ ConfigurableTest: test_.has_argument_adds_a_positional_configuration_argument
22200
+ -----------------------------------------------------------------------------
22201
+ ----------------------------------------------------------------------------------------
22202
+ ConfigurableTest: test_.has_argument_appends_supported_arguments_in_order_of_inheritence
22203
+ ----------------------------------------------------------------------------------------
22204
+ -------------------------------------------------------------------------------
22205
+ ConfigurableTest: test_.has_argument_as:_allows_overwrite_of_inherited_argument
22206
+ -------------------------------------------------------------------------------
22207
+ -----------------------------------------------------------------------------------------------------
22208
+ ConfigurableTest: test_.has_argument_makes_builder_arguments_accessible_by_name_according_to_position
22209
+ -----------------------------------------------------------------------------------------------------
22210
+ ---------------------------------------------------
22211
+ ConfigurableTest: test_default_values_are_supported
22212
+ ---------------------------------------------------
22213
+ ----------------------------------------------------------------------
22214
+ ConfigurableTest: test_default_values_for_attributes_can_be_overridden
22215
+ ----------------------------------------------------------------------
22216
+ ------------------------------------------------------------------------
22217
+ ConfigurableTest: test_does_not_pass_declared_options_as_html_attributes
22218
+ ------------------------------------------------------------------------
22219
+ -----------------------------------------------------------
22220
+ ConfigurableTest: test_has_no_id_attribute_if_not_specified
22221
+ -----------------------------------------------------------
22222
+ --------------------------------------------
22223
+ ConfigurableTest: test_options_are_inherited
22224
+ --------------------------------------------
22225
+ -------------------------------------------------------
22226
+ ConfigurableTest: test_renders_first_argument_as_dom_id
22227
+ -------------------------------------------------------
22228
+ ----------------------------------------------------
22229
+ ConfigurableTest: test_required_options_are_required
22230
+ ----------------------------------------------------
22231
+ --------------------------------------------------
22232
+ ConfigurableTest: test_supports_option_declaration
22233
+ --------------------------------------------------
22234
+ ---------------------------------------------------------------
22235
+ ConfigurableTest: test_unrecognized_options_raises_an_exception
22236
+ ---------------------------------------------------------------
22237
+ ----------------------------------------------------
22238
+ ConfigurableTest: test_values_can_be_set_for_options
22239
+ ----------------------------------------------------
22240
+ --------------------------------------------
22241
+ CompilerTest: test_.compile_returns_a_string
22242
+ --------------------------------------------
22243
+ -----------------------------------------
22244
+ HelloControllerTest: test_should_get_show
22245
+ -----------------------------------------
22246
+ Processing by HelloController#show as HTML
22247
+ Rendered hello/show.html.et within layouts/application (1.5ms)
22248
+ Completed 200 OK in 108ms (Views: 108.2ms)
22249
+ -----------------------------------------------------------------------------------------
22250
+ ProcTest: test_#source_body_captures_full_body_when_parens_around_parameters_not_provided
22251
+ -----------------------------------------------------------------------------------------
22252
+ ------------------------------------------------
22253
+ ProcTest: test_#source_body_handles_funky_bodies
22254
+ ------------------------------------------------
22255
+ ----------------------------------------------------------
22256
+ ProcTest: test_#source_body_raises_exception_for_arity_>_0
22257
+ ----------------------------------------------------------
22258
+ ------------------------------------------------------
22259
+ ProcTest: test_#source_body_returns_the_body_of_a_proc
22260
+ ------------------------------------------------------
22261
+ ----------------------------------------------
22262
+ ProcTest: test_#source_returns_a_proc's_source
22263
+ ----------------------------------------------
22264
+ ---------------------------------------------------------------
22265
+ ProcTest: test_#source_work_with_a_stabby_lambda_spanning_lines
22266
+ ---------------------------------------------------------------
22267
+ -----------------------------------------------------------------
22268
+ ProcTest: test_#source_works_when_a_proc_is_inside_a_hash_literal
22269
+ -----------------------------------------------------------------
22270
+ ------------------------------------------------------------
22271
+ ProcTest: test_#source_works_with_a_block_containing_a_block
22272
+ ------------------------------------------------------------
22273
+ --------------------------------------------
22274
+ ProcTest: test_#source_works_with_a_do_block
22275
+ --------------------------------------------
22276
+ -----------------------------------------------------
22277
+ ProcTest: test_#source_works_with_a_single_line_block
22278
+ -----------------------------------------------------
22279
+ -------------------------------------------------
22280
+ ProcTest: test_#source_works_with_a_stabby_lambda
22281
+ -------------------------------------------------
22282
+ ----------------------------------------------------------------------------------------
22283
+ ProcTest: test_.from_source_stores_source_of_a_dynamicly_built_proc_for_later_inspection
22284
+ ----------------------------------------------------------------------------------------
22285
+ --------------------------------------------------------------
22286
+ HandlerTest: test_helpers_returning_html_when_alone_in_a_block
22287
+ --------------------------------------------------------------
22288
+ ------------------------------------------------------------------------
22289
+ HandlerTest: test_helpers_returning_html_work_in_sequence_within_a_block
22290
+ ------------------------------------------------------------------------
22291
+ ----------------------------------------------------------
22292
+ HandlerTest: test_html_generates_<h1>Hello</h1>_by_default
22293
+ ----------------------------------------------------------
22294
+ -----------------------------
22295
+ HandlerTest: test_locals_work
22296
+ -----------------------------
22297
+ ------------------------------------------------------------
22298
+ HandlerTest: test_nesting_elements_with_ruby_block_structure
22299
+ ------------------------------------------------------------
22300
+ ----------------------------------
22301
+ HandlerTest: test_other_attributes
22302
+ ----------------------------------
22303
+ -------------------------------------------
22304
+ HandlerTest: test_our_handler_is_registered
22305
+ -------------------------------------------
22306
+ ------------------------------------------------------------------
22307
+ HandlerTest: test_raises_warning_if_template_has_conditional_logic
22308
+ ------------------------------------------------------------------
22309
+ ---------------------------------------
22310
+ HandlerTest: test_string_in_block_works
22311
+ ---------------------------------------
22312
+ -----------------------------------------------------------
22313
+ RadioTest: test_radio_has_correct_label_field_name_and_text
22314
+ -----------------------------------------------------------
22315
+ ------------------------------------------------------------------
22316
+ RadioTest: test_radio_options_from_collection_when_options_omitted
22317
+ ------------------------------------------------------------------
22318
+ ----------------------------------------------------------
22319
+ RadioTest: test_radio_options_may_be_specified_with_a_hash
22320
+ ----------------------------------------------------------
22321
+ --------------------------------------------------------
22322
+ RadioTest: test_radio_options_present_with_class_'radio'
22323
+ --------------------------------------------------------
22324
+ -------------------------------------------------
22325
+ RadioTest: test_radio_requires_a_parent_component
22326
+ -------------------------------------------------
22327
+ ------------------------------------------------------------
22328
+ RadioTest: test_radio_throws_error_if_given_improper_options
22329
+ ------------------------------------------------------------
22330
+ -------------------------------------------------------------
22331
+ CheckboxTest: test_checkbox_places_the_label_before_the_input
22332
+ -------------------------------------------------------------
22333
+ -------------------------------------------------------
22334
+ CheckboxTest: test_checkbox_respects_label_after:_true_
22335
+ -------------------------------------------------------
22336
+ --------------------------------------------------------------------------------------------------
22337
+ ExpressTemplates::ResourcefulTest: test_#resource_class_returns_resource_class_option_if_specified
22338
+ --------------------------------------------------------------------------------------------------
22339
+ -----------------------------------------------------------------------------------------
22340
+ ExpressTemplates::ResourcefulTest: test_infers_a_namespace_and_no_prefix_within_an_engine
22341
+ -----------------------------------------------------------------------------------------
22342
+ ---------------------------------------------------------------------------------------------------
22343
+ ExpressTemplates::ResourcefulTest: test_infers_namespace_and_path_prefix_within_an_engine_and_scope
22344
+ ---------------------------------------------------------------------------------------------------
22345
+ ------------------------------------------------------------------------------------------------
22346
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_infers_prefix_within_a_scope_within_an_app
22347
+ ------------------------------------------------------------------------------------------------
22348
+ -----------------------------------------------------------------------------
22349
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_no_prefix_within_an_app
22350
+ -----------------------------------------------------------------------------
22351
+ -----------------------------------------------------------------
22352
+ BaseTest: test_.contains_places_fragment_inside_the_enclosing_tag
22353
+ -----------------------------------------------------------------
22354
+ ---------------------------------------------------------
22355
+ BaseTest: test_.has_attributes_creates_default_attributes
22356
+ ---------------------------------------------------------
22357
+ -----------------------------------------------------
22358
+ BaseTest: test_.tag_name_determines_the_enclosing_tag
22359
+ -----------------------------------------------------
22360
+ --------------------------------------------------
22361
+ BaseTest: test_before_build_hook_runs_before_build
22362
+ --------------------------------------------------
22363
+ --------------------------------------------------------------
22364
+ BaseTest: test_class_name_is_dasherized_instead_of_underscored
22365
+ --------------------------------------------------------------
22366
+ -----------------------------------------------------------
22367
+ BaseTest: test_class_option_adds_a_class,_does_not_override
22368
+ -----------------------------------------------------------
22369
+ ----------------------------------------------------
22370
+ BaseTest: test_options_are_passed_to_html_attributes
22371
+ ----------------------------------------------------
22372
+ ---------------------------------------------------------------
22373
+ ExpressFormTest: test_express_form_contents_are_inside_the_form
22374
+ ---------------------------------------------------------------
22375
+ ---------------------------------------------------------
22376
+ ExpressFormTest: test_express_form_default_method_is_POST
22377
+ ---------------------------------------------------------
22378
+ -----------------------------------------------------
22379
+ ExpressFormTest: test_simplest_form_contains_form_tag
22380
+ -----------------------------------------------------
22381
+ ---------------------------------------------------------------
22382
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
22383
+ ---------------------------------------------------------------
22384
+ ---------------------------------------------------
22385
+ ExpressFormTest: test_simplest_form_contains_submit
22386
+ ---------------------------------------------------
22387
+ -------------------------------------------
22388
+ ExpressFormTest: test_simplest_form_renders
22389
+ -------------------------------------------
22390
+ -------------------------------------------------------------------
22391
+ ExpressFormTest: test_simplest_form_uses_form_action_for_the_action
22392
+ -------------------------------------------------------------------
22393
+ -----------------------------------------------------------
22394
+ ExpressFormTest: test_simplest_form_will_have_the_proper_id
22395
+ -----------------------------------------------------------
22396
+ ---------------------------------------------------------------------------------------
22397
+ BasicFieldsTest: test_adds_error_class_if_there_are_errors_on_a_field_with_no_class_set
22398
+ ---------------------------------------------------------------------------------------
22399
+ ----------------------------------------------------------------------------------------------
22400
+ BasicFieldsTest: test_adds_error_class_if_there_are_errors_on_a_field_with_no_input_attributes
22401
+ ----------------------------------------------------------------------------------------------
22402
+ --------------------------------------------------------------------------------------------
22403
+ BasicFieldsTest: test_adds_error_to_class_if_there_are_errors_on_a_field_with_existing_class
22404
+ --------------------------------------------------------------------------------------------
22405
+ -------------------------------------
22406
+ BasicFieldsTest: test_all_fields_work
22407
+ -------------------------------------
22408
+ ---------------------------------------------------------------------------------
22409
+ BasicFieldsTest: test_hidden_field_passes_additional_html_options_to_rails_helper
22410
+ ---------------------------------------------------------------------------------
22411
+ ---------------------------------------------------------
22412
+ BasicFieldsTest: test_hidden_uses_rails_hidden_tag_helper
22413
+ ---------------------------------------------------------
22414
+ ---------------------------------------------------------
22415
+ BasicFieldsTest: test_passing_html_options_to_fields_work
22416
+ ---------------------------------------------------------
22417
+ -----------------------------------------------------------------------------
22418
+ BasicFieldsTest: test_textarea_passes_additional_html_options_to_rails_helper
22419
+ -----------------------------------------------------------------------------
22420
+ ----------------------------------------------------------
22421
+ BasicFieldsTest: test_textarea_uses_rails_text_area_helper
22422
+ ----------------------------------------------------------
22423
+ ----------------------------------------------
22424
+ SubmitTest: test_submit_accepts_a_class_option
22425
+ ----------------------------------------------
22426
+ --------------------------------------------------------
22427
+ SubmitTest: test_submit_accepts_a_value_and_class_option
22428
+ --------------------------------------------------------
22429
+ ----------------------------------------------------
22430
+ SubmitTest: test_submit_takes_string_param_for_value
22431
+ ----------------------------------------------------
22432
+ ----------------------------------------------------------------
22433
+ SelectTest: test_select_collection_works_using_collection_select
22434
+ ----------------------------------------------------------------
22435
+ ------------------------------------------
22436
+ SelectTest: test_select_comes_with_a_label
22437
+ ------------------------------------------
22438
+ --------------------------------------------------
22439
+ SelectTest: test_select_defaults_can_be_overridden
22440
+ --------------------------------------------------
22441
+ -------------------------------------------------------
22442
+ SelectTest: test_select_defaults_to_include_blank:_true
22443
+ -------------------------------------------------------
22444
+ ------------------------------------------------------------------------------------
22445
+ SelectTest: test_select_generates_correct_options_when_values_are_specified_as_array
22446
+ ------------------------------------------------------------------------------------
22447
+ ------------------------------------------------------------------------
22448
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
22449
+ ------------------------------------------------------------------------
22450
+ --------------------------------------------------------------
22451
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
22452
+ --------------------------------------------------------------
22453
+ -----------------------------------------------------------------------------------------
22454
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
22455
+ -----------------------------------------------------------------------------------------
22456
+ ---------------------------------------------------
22457
+ SelectTest: test_select_requires_a_parent_component
22458
+ ---------------------------------------------------
22459
+ ---------------------------------------------------------------------------
22460
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
22461
+ ---------------------------------------------------------------------------
22462
+ -------------------------------------------------------------------------
22463
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
22464
+ -------------------------------------------------------------------------
22465
+ ------------------------------------------------------------------------------------
22466
+ StringTest: test_String#inspect_works_normally_when_#to_view_code_hasn't_been_called
22467
+ ------------------------------------------------------------------------------------
22468
+ --------------------------------------------------------------------------------
22469
+ StringTest: test_String#to_view_code_causes_subsequent_#inspect_to_remove_quotes
22470
+ --------------------------------------------------------------------------------
22471
+ -------------------------------------------------------
22472
+ StringTest: test_String#to_view_code_returns_the_string
22473
+ -------------------------------------------------------
22474
+ ------------------------------------------------------------------------------------
22475
+ InterpolatorTest: test_"{{some_{{thing}}_foo}}"_transforms_to_"#{some_#{thing}_foo}"
22476
+ ------------------------------------------------------------------------------------
22477
+ -------------------------------------------------------------------
22478
+ InterpolatorTest: test_"{{something}}"_transforms_to_"#{something}"
22479
+ -------------------------------------------------------------------
22480
+ ---------------------------------------------------------------------
22481
+ InterpolatorTest: test_'a_lot_of_{{something_"{{good}}"}}'_transforms
22482
+ ---------------------------------------------------------------------
22483
+ ---------------------------------------------------------------------
22484
+ InterpolatorTest: test_nested_with_multiple_nested_expressions_parses
22485
+ ---------------------------------------------------------------------
22486
+ ----------------------------------------------------
22487
+ InterpolatorTest: test_nested_with_outer_text_parses
22488
+ ----------------------------------------------------
22489
+ -------------------------------------------------------
22490
+ InterpolatorTest: test_nested_without_outer_text_parses
22491
+ -------------------------------------------------------
22492
+ ---------------------------------------------------------------------
22493
+ InterpolatorTest: test_simple_expression_with_surrounding_text_parses
22494
+ ---------------------------------------------------------------------
22495
+ -------------------------------------------------
22496
+ InterpolatorTest: test_simplest_expression_parses
22497
+ -------------------------------------------------
22498
+ ------------------------------------------------------------
22499
+ TreeForTest: test_tree_for_accepts_block_with_custom_content
22500
+ ------------------------------------------------------------
22501
+ ---------------------------------------------------------------------------
22502
+ TreeForTest: test_tree_for_renders_correct_markup_with_node.name_as_default
22503
+ ---------------------------------------------------------------------------
22504
+ -----------------------------------------------------------------------------
22505
+ ConfigurableTest: test_.has_argument_adds_a_positional_configuration_argument
22506
+ -----------------------------------------------------------------------------
22507
+ ----------------------------------------------------------------------------------------
22508
+ ConfigurableTest: test_.has_argument_appends_supported_arguments_in_order_of_inheritence
22509
+ ----------------------------------------------------------------------------------------
22510
+ -------------------------------------------------------------------------------
22511
+ ConfigurableTest: test_.has_argument_as:_allows_overwrite_of_inherited_argument
22512
+ -------------------------------------------------------------------------------
22513
+ -----------------------------------------------------------------------------------------------------
22514
+ ConfigurableTest: test_.has_argument_makes_builder_arguments_accessible_by_name_according_to_position
22515
+ -----------------------------------------------------------------------------------------------------
22516
+ ---------------------------------------------------
22517
+ ConfigurableTest: test_default_values_are_supported
22518
+ ---------------------------------------------------
22519
+ ----------------------------------------------------------------------
22520
+ ConfigurableTest: test_default_values_for_attributes_can_be_overridden
22521
+ ----------------------------------------------------------------------
22522
+ ------------------------------------------------------------------------
22523
+ ConfigurableTest: test_does_not_pass_declared_options_as_html_attributes
22524
+ ------------------------------------------------------------------------
22525
+ -----------------------------------------------------------
22526
+ ConfigurableTest: test_has_no_id_attribute_if_not_specified
22527
+ -----------------------------------------------------------
22528
+ --------------------------------------------
22529
+ ConfigurableTest: test_options_are_inherited
22530
+ --------------------------------------------
22531
+ -------------------------------------------------------
22532
+ ConfigurableTest: test_renders_first_argument_as_dom_id
22533
+ -------------------------------------------------------
22534
+ ----------------------------------------------------
22535
+ ConfigurableTest: test_required_options_are_required
22536
+ ----------------------------------------------------
22537
+ --------------------------------------------------
22538
+ ConfigurableTest: test_supports_option_declaration
22539
+ --------------------------------------------------
22540
+ ---------------------------------------------------------------
22541
+ ConfigurableTest: test_unrecognized_options_raises_an_exception
22542
+ ---------------------------------------------------------------
22543
+ ----------------------------------------------------
22544
+ ConfigurableTest: test_values_can_be_set_for_options
22545
+ ----------------------------------------------------
22546
+ ---------------------------------------------------------------------
22547
+ ExpressTemplatesTest: test_ExpressTemplates.render_renders_a_template
22548
+ ---------------------------------------------------------------------
22549
+ -------------------------------------------
22550
+ ExpressTemplatesTest: test_we_have_a_module
22551
+ -------------------------------------------
22552
+ ---------------------------------------------------------------------------------------------
22553
+ IndenterTest: test_.for(:name)_returns_current_indent_without_newline_when_block_is_not_given
22554
+ ---------------------------------------------------------------------------------------------
22555
+ -----------------------------------------------------------------
22556
+ IndenterTest: test_.for(:name)_takes_a_block_receiving_whitespace
22557
+ -----------------------------------------------------------------
22558
+ ------------------------------------------------------------------
22559
+ IndenterTest: test_nesting_blocks_increases_whitespace_accordingly
22560
+ ------------------------------------------------------------------
22561
+ -----------------------------------------------------------
22562
+ RadioTest: test_radio_has_correct_label_field_name_and_text
22563
+ -----------------------------------------------------------
22564
+ ------------------------------------------------------------------
22565
+ RadioTest: test_radio_options_from_collection_when_options_omitted
22566
+ ------------------------------------------------------------------
22567
+ ----------------------------------------------------------
22568
+ RadioTest: test_radio_options_may_be_specified_with_a_hash
22569
+ ----------------------------------------------------------
22570
+ --------------------------------------------------------
22571
+ RadioTest: test_radio_options_present_with_class_'radio'
22572
+ --------------------------------------------------------
22573
+ -------------------------------------------------
22574
+ RadioTest: test_radio_requires_a_parent_component
22575
+ -------------------------------------------------
22576
+ ------------------------------------------------------------
22577
+ RadioTest: test_radio_throws_error_if_given_improper_options
22578
+ ------------------------------------------------------------
22579
+ ---------------------------------------------------------------
22580
+ ExpressFormTest: test_express_form_contents_are_inside_the_form
22581
+ ---------------------------------------------------------------
22582
+ ---------------------------------------------------------
22583
+ ExpressFormTest: test_express_form_default_method_is_POST
22584
+ ---------------------------------------------------------
22585
+ -----------------------------------------------------
22586
+ ExpressFormTest: test_simplest_form_contains_form_tag
22587
+ -----------------------------------------------------
22588
+ ---------------------------------------------------------------
22589
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
22590
+ ---------------------------------------------------------------
22591
+ ---------------------------------------------------
22592
+ ExpressFormTest: test_simplest_form_contains_submit
22593
+ ---------------------------------------------------
22594
+ -------------------------------------------
22595
+ ExpressFormTest: test_simplest_form_renders
22596
+ -------------------------------------------
22597
+ -------------------------------------------------------------------
22598
+ ExpressFormTest: test_simplest_form_uses_form_action_for_the_action
22599
+ -------------------------------------------------------------------
22600
+ -----------------------------------------------------------
22601
+ ExpressFormTest: test_simplest_form_will_have_the_proper_id
22602
+ -----------------------------------------------------------
22603
+ ---------------------------------------------------------------------------------------------
22604
+ IndenterTest: test_.for(:name)_returns_current_indent_without_newline_when_block_is_not_given
22605
+ ---------------------------------------------------------------------------------------------
22606
+ -----------------------------------------------------------------
22607
+ IndenterTest: test_.for(:name)_takes_a_block_receiving_whitespace
22608
+ -----------------------------------------------------------------
22609
+ ------------------------------------------------------------------
22610
+ IndenterTest: test_nesting_blocks_increases_whitespace_accordingly
22611
+ ------------------------------------------------------------------
22612
+ ---------------------------------------------------------------------------------------
22613
+ BasicFieldsTest: test_adds_error_class_if_there_are_errors_on_a_field_with_no_class_set
22614
+ ---------------------------------------------------------------------------------------
22615
+ ----------------------------------------------------------------------------------------------
22616
+ BasicFieldsTest: test_adds_error_class_if_there_are_errors_on_a_field_with_no_input_attributes
22617
+ ----------------------------------------------------------------------------------------------
22618
+ --------------------------------------------------------------------------------------------
22619
+ BasicFieldsTest: test_adds_error_to_class_if_there_are_errors_on_a_field_with_existing_class
22620
+ --------------------------------------------------------------------------------------------
22621
+ -------------------------------------
22622
+ BasicFieldsTest: test_all_fields_work
22623
+ -------------------------------------
22624
+ ---------------------------------------------------------------------------------
22625
+ BasicFieldsTest: test_hidden_field_passes_additional_html_options_to_rails_helper
22626
+ ---------------------------------------------------------------------------------
22627
+ ---------------------------------------------------------
22628
+ BasicFieldsTest: test_hidden_uses_rails_hidden_tag_helper
22629
+ ---------------------------------------------------------
22630
+ ---------------------------------------------------------
22631
+ BasicFieldsTest: test_passing_html_options_to_fields_work
22632
+ ---------------------------------------------------------
22633
+ -----------------------------------------------------------------------------
22634
+ BasicFieldsTest: test_textarea_passes_additional_html_options_to_rails_helper
22635
+ -----------------------------------------------------------------------------
22636
+ ----------------------------------------------------------
22637
+ BasicFieldsTest: test_textarea_uses_rails_text_area_helper
22638
+ ----------------------------------------------------------
22639
+ -----------------------------------------------------------------------------------------
22640
+ ProcTest: test_#source_body_captures_full_body_when_parens_around_parameters_not_provided
22641
+ -----------------------------------------------------------------------------------------
22642
+ ------------------------------------------------
22643
+ ProcTest: test_#source_body_handles_funky_bodies
22644
+ ------------------------------------------------
22645
+ ----------------------------------------------------------
22646
+ ProcTest: test_#source_body_raises_exception_for_arity_>_0
22647
+ ----------------------------------------------------------
22648
+ ------------------------------------------------------
22649
+ ProcTest: test_#source_body_returns_the_body_of_a_proc
22650
+ ------------------------------------------------------
22651
+ ----------------------------------------------
22652
+ ProcTest: test_#source_returns_a_proc's_source
22653
+ ----------------------------------------------
22654
+ ---------------------------------------------------------------
22655
+ ProcTest: test_#source_work_with_a_stabby_lambda_spanning_lines
22656
+ ---------------------------------------------------------------
22657
+ -----------------------------------------------------------------
22658
+ ProcTest: test_#source_works_when_a_proc_is_inside_a_hash_literal
22659
+ -----------------------------------------------------------------
22660
+ ------------------------------------------------------------
22661
+ ProcTest: test_#source_works_with_a_block_containing_a_block
22662
+ ------------------------------------------------------------
22663
+ --------------------------------------------
22664
+ ProcTest: test_#source_works_with_a_do_block
22665
+ --------------------------------------------
22666
+ -----------------------------------------------------
22667
+ ProcTest: test_#source_works_with_a_single_line_block
22668
+ -----------------------------------------------------
22669
+ -------------------------------------------------
22670
+ ProcTest: test_#source_works_with_a_stabby_lambda
22671
+ -------------------------------------------------
22672
+ ----------------------------------------------------------------------------------------
22673
+ ProcTest: test_.from_source_stores_source_of_a_dynamicly_built_proc_for_later_inspection
22674
+ ----------------------------------------------------------------------------------------
22675
+ --------------------------------------------
22676
+ CompilerTest: test_.compile_returns_a_string
22677
+ --------------------------------------------
22678
+ ----------------------------------------------
22679
+ SubmitTest: test_submit_accepts_a_class_option
22680
+ ----------------------------------------------
22681
+ --------------------------------------------------------
22682
+ SubmitTest: test_submit_accepts_a_value_and_class_option
22683
+ --------------------------------------------------------
22684
+ ----------------------------------------------------
22685
+ SubmitTest: test_submit_takes_string_param_for_value
22686
+ ----------------------------------------------------
22687
+ -----------------------------------------------------------------------------
22688
+ ConfigurableTest: test_.has_argument_adds_a_positional_configuration_argument
22689
+ -----------------------------------------------------------------------------
22690
+ ----------------------------------------------------------------------------------------
22691
+ ConfigurableTest: test_.has_argument_appends_supported_arguments_in_order_of_inheritence
22692
+ ----------------------------------------------------------------------------------------
22693
+ -------------------------------------------------------------------------------
22694
+ ConfigurableTest: test_.has_argument_as:_allows_overwrite_of_inherited_argument
22695
+ -------------------------------------------------------------------------------
22696
+ -----------------------------------------------------------------------------------------------------
22697
+ ConfigurableTest: test_.has_argument_makes_builder_arguments_accessible_by_name_according_to_position
22698
+ -----------------------------------------------------------------------------------------------------
22699
+ ---------------------------------------------------
22700
+ ConfigurableTest: test_default_values_are_supported
22701
+ ---------------------------------------------------
22702
+ ----------------------------------------------------------------------
22703
+ ConfigurableTest: test_default_values_for_attributes_can_be_overridden
22704
+ ----------------------------------------------------------------------
22705
+ ------------------------------------------------------------------------
22706
+ ConfigurableTest: test_does_not_pass_declared_options_as_html_attributes
22707
+ ------------------------------------------------------------------------
22708
+ -----------------------------------------------------------
22709
+ ConfigurableTest: test_has_no_id_attribute_if_not_specified
22710
+ -----------------------------------------------------------
22711
+ --------------------------------------------
22712
+ ConfigurableTest: test_options_are_inherited
22713
+ --------------------------------------------
22714
+ -------------------------------------------------------
22715
+ ConfigurableTest: test_renders_first_argument_as_dom_id
22716
+ -------------------------------------------------------
22717
+ ----------------------------------------------------
22718
+ ConfigurableTest: test_required_options_are_required
22719
+ ----------------------------------------------------
22720
+ --------------------------------------------------
22721
+ ConfigurableTest: test_supports_option_declaration
22722
+ --------------------------------------------------
22723
+ ---------------------------------------------------------------
22724
+ ConfigurableTest: test_unrecognized_options_raises_an_exception
22725
+ ---------------------------------------------------------------
22726
+ ----------------------------------------------------
22727
+ ConfigurableTest: test_values_can_be_set_for_options
22728
+ ----------------------------------------------------
22729
+ --------------------------------------------------------------------------------------------------
22730
+ ExpressTemplates::ResourcefulTest: test_#resource_class_returns_resource_class_option_if_specified
22731
+ --------------------------------------------------------------------------------------------------
22732
+ -----------------------------------------------------------------------------------------
22733
+ ExpressTemplates::ResourcefulTest: test_infers_a_namespace_and_no_prefix_within_an_engine
22734
+ -----------------------------------------------------------------------------------------
22735
+ ---------------------------------------------------------------------------------------------------
22736
+ ExpressTemplates::ResourcefulTest: test_infers_namespace_and_path_prefix_within_an_engine_and_scope
22737
+ ---------------------------------------------------------------------------------------------------
22738
+ ------------------------------------------------------------------------------------------------
22739
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_infers_prefix_within_a_scope_within_an_app
22740
+ ------------------------------------------------------------------------------------------------
22741
+ -----------------------------------------------------------------------------
22742
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_no_prefix_within_an_app
22743
+ -----------------------------------------------------------------------------
22744
+ ----------------------------------------------------------------
22745
+ SelectTest: test_select_collection_works_using_collection_select
22746
+ ----------------------------------------------------------------
22747
+ ------------------------------------------
22748
+ SelectTest: test_select_comes_with_a_label
22749
+ ------------------------------------------
22750
+ --------------------------------------------------
22751
+ SelectTest: test_select_defaults_can_be_overridden
22752
+ --------------------------------------------------
22753
+ -------------------------------------------------------
22754
+ SelectTest: test_select_defaults_to_include_blank:_true
22755
+ -------------------------------------------------------
22756
+ ------------------------------------------------------------------------------------
22757
+ SelectTest: test_select_generates_correct_options_when_values_are_specified_as_array
22758
+ ------------------------------------------------------------------------------------
22759
+ ------------------------------------------------------------------------
22760
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
22761
+ ------------------------------------------------------------------------
22762
+ --------------------------------------------------------------
22763
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
22764
+ --------------------------------------------------------------
22765
+ -----------------------------------------------------------------------------------------
22766
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
22767
+ -----------------------------------------------------------------------------------------
22768
+ ---------------------------------------------------
22769
+ SelectTest: test_select_requires_a_parent_component
22770
+ ---------------------------------------------------
22771
+ ---------------------------------------------------------------------------
22772
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
22773
+ ---------------------------------------------------------------------------
22774
+ -------------------------------------------------------------------------
22775
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
22776
+ -------------------------------------------------------------------------
22777
+ ------------------------------------------------------------------------------------
22778
+ StringTest: test_String#inspect_works_normally_when_#to_view_code_hasn't_been_called
22779
+ ------------------------------------------------------------------------------------
22780
+ --------------------------------------------------------------------------------
22781
+ StringTest: test_String#to_view_code_causes_subsequent_#inspect_to_remove_quotes
22782
+ --------------------------------------------------------------------------------
22783
+ -------------------------------------------------------
22784
+ StringTest: test_String#to_view_code_returns_the_string
22785
+ -------------------------------------------------------
22786
+ -----------------------------------------------------------------
22787
+ BaseTest: test_.contains_places_fragment_inside_the_enclosing_tag
22788
+ -----------------------------------------------------------------
22789
+ ---------------------------------------------------------
22790
+ BaseTest: test_.has_attributes_creates_default_attributes
22791
+ ---------------------------------------------------------
22792
+ -----------------------------------------------------
22793
+ BaseTest: test_.tag_name_determines_the_enclosing_tag
22794
+ -----------------------------------------------------
22795
+ --------------------------------------------------
22796
+ BaseTest: test_before_build_hook_runs_before_build
22797
+ --------------------------------------------------
22798
+ --------------------------------------------------------------
22799
+ BaseTest: test_class_name_is_dasherized_instead_of_underscored
22800
+ --------------------------------------------------------------
22801
+ -----------------------------------------------------------
22802
+ BaseTest: test_class_option_adds_a_class,_does_not_override
22803
+ -----------------------------------------------------------
22804
+ ----------------------------------------------------
22805
+ BaseTest: test_options_are_passed_to_html_attributes
22806
+ ----------------------------------------------------
22807
+ -----------------------------------------
22808
+ HelloControllerTest: test_should_get_show
22809
+ -----------------------------------------
22810
+ Processing by HelloController#show as HTML
22811
+ Rendered hello/show.html.et within layouts/application (1.4ms)
22812
+ Completed 200 OK in 125ms (Views: 124.5ms)
22813
+ ------------------------------------------------------------------------------------
22814
+ InterpolatorTest: test_"{{some_{{thing}}_foo}}"_transforms_to_"#{some_#{thing}_foo}"
22815
+ ------------------------------------------------------------------------------------
22816
+ -------------------------------------------------------------------
22817
+ InterpolatorTest: test_"{{something}}"_transforms_to_"#{something}"
22818
+ -------------------------------------------------------------------
22819
+ ---------------------------------------------------------------------
22820
+ InterpolatorTest: test_'a_lot_of_{{something_"{{good}}"}}'_transforms
22821
+ ---------------------------------------------------------------------
22822
+ ---------------------------------------------------------------------
22823
+ InterpolatorTest: test_nested_with_multiple_nested_expressions_parses
22824
+ ---------------------------------------------------------------------
22825
+ ----------------------------------------------------
22826
+ InterpolatorTest: test_nested_with_outer_text_parses
22827
+ ----------------------------------------------------
22828
+ -------------------------------------------------------
22829
+ InterpolatorTest: test_nested_without_outer_text_parses
22830
+ -------------------------------------------------------
22831
+ ---------------------------------------------------------------------
22832
+ InterpolatorTest: test_simple_expression_with_surrounding_text_parses
22833
+ ---------------------------------------------------------------------
22834
+ -------------------------------------------------
22835
+ InterpolatorTest: test_simplest_expression_parses
22836
+ -------------------------------------------------
22837
+ -------------------------------------------------------------
22838
+ CheckboxTest: test_checkbox_places_the_label_before_the_input
22839
+ -------------------------------------------------------------
22840
+ -------------------------------------------------------
22841
+ CheckboxTest: test_checkbox_respects_label_after:_true_
22842
+ -------------------------------------------------------
22843
+ ------------------------------------------------------------
22844
+ TreeForTest: test_tree_for_accepts_block_with_custom_content
22845
+ ------------------------------------------------------------
22846
+ ---------------------------------------------------------------------------
22847
+ TreeForTest: test_tree_for_renders_correct_markup_with_node.name_as_default
22848
+ ---------------------------------------------------------------------------
22849
+ ---------------------------------------------------------------------
22850
+ ExpressTemplatesTest: test_ExpressTemplates.render_renders_a_template
22851
+ ---------------------------------------------------------------------
22852
+ -------------------------------------------
22853
+ ExpressTemplatesTest: test_we_have_a_module
22854
+ -------------------------------------------
22855
+ --------------------------------------------------------------
22856
+ HandlerTest: test_helpers_returning_html_when_alone_in_a_block
22857
+ --------------------------------------------------------------
22858
+ ------------------------------------------------------------------------
22859
+ HandlerTest: test_helpers_returning_html_work_in_sequence_within_a_block
22860
+ ------------------------------------------------------------------------
22861
+ ----------------------------------------------------------
22862
+ HandlerTest: test_html_generates_<h1>Hello</h1>_by_default
22863
+ ----------------------------------------------------------
22864
+ -----------------------------
22865
+ HandlerTest: test_locals_work
22866
+ -----------------------------
22867
+ ------------------------------------------------------------
22868
+ HandlerTest: test_nesting_elements_with_ruby_block_structure
22869
+ ------------------------------------------------------------
22870
+ ----------------------------------
22871
+ HandlerTest: test_other_attributes
22872
+ ----------------------------------
22873
+ -------------------------------------------
22874
+ HandlerTest: test_our_handler_is_registered
22875
+ -------------------------------------------
22876
+ ------------------------------------------------------------------
22877
+ HandlerTest: test_raises_warning_if_template_has_conditional_logic
22878
+ ------------------------------------------------------------------
22879
+ ---------------------------------------
22880
+ HandlerTest: test_string_in_block_works
22881
+ ---------------------------------------