express_admin 1.6.3 → 1.6.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/app/components/express_admin/command_button.rb +39 -36
  3. data/app/components/express_admin/command_button_list.rb +25 -21
  4. data/app/components/express_admin/definition_list.rb +54 -50
  5. data/app/components/express_admin/definition_table.rb +16 -12
  6. data/app/components/express_admin/icon.rb +13 -8
  7. data/app/components/express_admin/icon_link.rb +42 -37
  8. data/app/components/express_admin/layout_component.rb +4 -0
  9. data/app/components/express_admin/layout_components/h_box.rb +5 -1
  10. data/app/components/express_admin/layout_components/pane.rb +24 -19
  11. data/app/components/express_admin/layout_components/sidebar_region.rb +5 -1
  12. data/app/components/express_admin/layout_components/v_box.rb +5 -1
  13. data/app/components/express_admin/main_region.rb +5 -1
  14. data/app/components/express_admin/page_header.rb +15 -11
  15. data/app/components/express_admin/smart_form.rb +106 -102
  16. data/app/components/express_admin/smart_table.rb +177 -165
  17. data/app/helpers/express_admin/admin_helper.rb +8 -0
  18. data/lib/express_admin/version.rb +1 -1
  19. data/test/dummy/db/test.sqlite3 +0 -0
  20. data/vendor/gems/express_templates/Gemfile.lock +7 -1
  21. data/vendor/gems/express_templates/express_templates-0.11.2.gem +0 -0
  22. data/vendor/gems/express_templates/express_templates.gemspec +2 -0
  23. data/vendor/gems/express_templates/lib/express_templates/components/all.rb +17 -15
  24. data/vendor/gems/express_templates/lib/express_templates/components/forms.rb +1 -0
  25. data/vendor/gems/express_templates/lib/express_templates/components/forms/country_select.rb +23 -0
  26. data/vendor/gems/express_templates/lib/express_templates/components/tree_for.rb +72 -70
  27. data/vendor/gems/express_templates/lib/express_templates/template/handler.rb +3 -2
  28. data/vendor/gems/express_templates/lib/express_templates/version.rb +1 -1
  29. data/vendor/gems/express_templates/test/components/forms/country_select_test.rb +34 -0
  30. data/vendor/gems/express_templates/test/dummy/log/test.log +654 -0
  31. data/vendor/gems/express_templates/test/test_helper.rb +1 -1
  32. metadata +5 -4
  33. data/vendor/gems/express_templates/express_templates-0.11.0.gem +0 -0
  34. data/vendor/gems/express_templates/express_templates-0.11.1.gem +0 -0
@@ -48,6 +48,14 @@ module ExpressAdmin
48
48
  end
49
49
  end
50
50
 
51
+ def readable_namespace(namespace)
52
+ namespace.demodulize.gsub(/(?<=[a-z])(?=[A-Z])/, ' ')
53
+ end
54
+
55
+ def amount_in_decimal(amount, currency)
56
+ humanized_money_with_symbol Money.new(amount, currency)
57
+ end
58
+
51
59
  def title_content
52
60
  content_for?(:title) ? yield(:title) : Rails.application.class.parent_name.underscore.titleize
53
61
  end
@@ -1,3 +1,3 @@
1
1
  module ExpressAdmin
2
- VERSION = "1.6.3"
2
+ VERSION = "1.6.4"
3
3
  end
Binary file
@@ -1,9 +1,10 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- express_templates (0.11.0)
4
+ express_templates (0.11.2)
5
5
  activesupport (~> 4.2)
6
6
  arbre (~> 1.0)
7
+ countries
7
8
  parslet (~> 1.6)
8
9
 
9
10
  GEM
@@ -62,6 +63,10 @@ GEM
62
63
  slop (~> 3.6)
63
64
  coderay (1.1.0)
64
65
  columnize (0.9.0)
66
+ countries (1.0.0)
67
+ currencies (~> 0.4.2)
68
+ i18n_data (~> 0.7.0)
69
+ currencies (0.4.2)
65
70
  debug_inspector (0.0.2)
66
71
  debugger-linecache (1.2.0)
67
72
  erubis (2.7.0)
@@ -70,6 +75,7 @@ GEM
70
75
  haml (4.0.6)
71
76
  tilt
72
77
  i18n (0.7.0)
78
+ i18n_data (0.7.0)
73
79
  json (1.8.2)
74
80
  loofah (2.0.2)
75
81
  nokogiri (>= 1.5.9)
@@ -20,6 +20,8 @@ Gem::Specification.new do |s|
20
20
  s.add_dependency "activesupport", "~> 4.2" # strictly speaking we only depend on active support
21
21
  s.add_dependency "parslet", "~> 1.6"
22
22
  s.add_dependency "arbre", "~> 1.0"
23
+ s.add_dependency "countries"
24
+
23
25
  s.add_development_dependency "rails", "~> 4.2"
24
26
  s.add_development_dependency "pry", "~> 0"
25
27
  s.add_development_dependency "erubis", "~> 2.7"
@@ -1,26 +1,28 @@
1
1
  module ExpressTemplates
2
2
  module Components
3
- class All < Container
3
+ module Presenters
4
+ class All < Container
4
5
 
5
- has_argument :id, "Name of the collection", as: :collection_name, type: :symbol
6
+ has_argument :id, "Name of the collection", as: :collection_name, type: :symbol
6
7
 
7
- contains -> (&block) {
8
- prepended
9
- collection.each do |item|
10
- assigns[member_name.to_sym] = item
11
- block.call(self) if block
8
+ contains -> (&block) {
9
+ prepended
10
+ collection.each do |item|
11
+ assigns[member_name.to_sym] = item
12
+ block.call(self) if block
13
+ end
14
+ appended
15
+ }
16
+
17
+ def member_name
18
+ config[:collection_name].to_s.singularize.to_sym
12
19
  end
13
- appended
14
- }
15
20
 
16
- def member_name
17
- config[:collection_name].to_s.singularize.to_sym
18
- end
21
+ def collection
22
+ self.send(config[:collection_name])
23
+ end
19
24
 
20
- def collection
21
- self.send(config[:collection_name])
22
25
  end
23
-
24
26
  end
25
27
  end
26
28
  end
@@ -10,6 +10,7 @@ require 'express_templates/components/forms/form_component'
10
10
  require 'express_templates/components/forms/option_support'
11
11
  require 'express_templates/components/forms/submit'
12
12
  require 'express_templates/components/forms/select'
13
+ require 'express_templates/components/forms/country_select'
13
14
  require 'express_templates/components/forms/select_collection'
14
15
  require 'express_templates/components/forms/radio'
15
16
  require 'express_templates/components/forms/checkbox'
@@ -0,0 +1,23 @@
1
+ require 'countries'
2
+ require_relative 'select'
3
+
4
+ module ExpressTemplates
5
+ module Components
6
+ module Forms
7
+ class CountrySelect < Select
8
+
9
+ def select_options
10
+ country_options = ISO3166::Country.all.map {|country| [country.name.titleize, country.alpha2]}
11
+ us = country_options.delete(['United States', 'US'])
12
+ country_options.unshift us
13
+ helpers.options_for_select(country_options, selected_value)
14
+ end
15
+
16
+ def select_helper_options
17
+ add_select2_class( input_attributes.merge(include_blank: false, prompt: "-- Please Select --" ) )
18
+ end
19
+
20
+ end
21
+ end
22
+ end
23
+ end
@@ -1,85 +1,87 @@
1
1
  module ExpressTemplates
2
2
  module Components
3
- #
4
- # Create an html <tt>table</tt> or <tt>ol</tt> (ordered list) for
5
- # a model object representing a tree of similar objects.
6
- #
7
- # The objects must respond to <tt>:children</tt>.
8
- #
9
- # The block is passed a NodeBuilder which may accept field names.
10
- #
11
- # Example:
12
- #
13
- # ```ruby
14
- # tree_for(:roles) { |role|
15
- # role.name
16
- # }
17
- # ```
18
- #
19
- # If the view has an @roles variable with a Role having children,
20
- # this will turn into markup such as the following:
21
- #
22
- # <ul id="roles" class="roles tree">
23
- # <li>SuperAdmin
24
- # <ul>
25
- # <li>Admin
26
- # <ul>
27
- # <li>Publisher
28
- # <ul>
29
- # <li>Author</li>
30
- # </ul>
31
- # </li>
32
- # <li>Auditor</li>
33
- # </ul>
34
- # </li>
35
- # </ul>
36
- # </li>
37
- # </ul>
38
- #
3
+ module Presenters
4
+ #
5
+ # Create an html <tt>table</tt> or <tt>ol</tt> (ordered list) for
6
+ # a model object representing a tree of similar objects.
7
+ #
8
+ # The objects must respond to <tt>:children</tt>.
9
+ #
10
+ # The block is passed a NodeBuilder which may accept field names.
11
+ #
12
+ # Example:
13
+ #
14
+ # ```ruby
15
+ # tree_for(:roles) { |role|
16
+ # role.name
17
+ # }
18
+ # ```
19
+ #
20
+ # If the view has an @roles variable with a Role having children,
21
+ # this will turn into markup such as the following:
22
+ #
23
+ # <ul id="roles" class="roles tree">
24
+ # <li>SuperAdmin
25
+ # <ul>
26
+ # <li>Admin
27
+ # <ul>
28
+ # <li>Publisher
29
+ # <ul>
30
+ # <li>Author</li>
31
+ # </ul>
32
+ # </li>
33
+ # <li>Auditor</li>
34
+ # </ul>
35
+ # </li>
36
+ # </ul>
37
+ # </li>
38
+ # </ul>
39
+ #
39
40
 
40
- class TreeFor < Configurable
41
+ class TreeFor < Configurable
41
42
 
42
- tag :ul
43
+ tag :ul
43
44
 
44
- has_attributes :class => 'tree'
45
- has_option :root, "Root of the tree. Defaults to collection with the same as the id.", type: :proc
45
+ has_attributes :class => 'tree'
46
+ has_option :root, "Root of the tree. Defaults to collection with the same as the id.", type: :proc
46
47
 
47
- contains -> (&customize_block) {
48
- @customize_block = customize_block
49
- list_items(root_node)
50
- }
48
+ contains -> (&customize_block) {
49
+ @customize_block = customize_block
50
+ list_items(root_node)
51
+ }
51
52
 
52
- before_build -> {
53
- add_class config[:id]
54
- }
53
+ before_build -> {
54
+ add_class config[:id]
55
+ }
55
56
 
56
- def root_node
57
- if config[:root] && config[:root].respond_to?(:call)
58
- config[:root].call
59
- else
60
- send(config[:id])
57
+ def root_node
58
+ if config[:root] && config[:root].respond_to?(:call)
59
+ config[:root].call
60
+ else
61
+ send(config[:id])
62
+ end
61
63
  end
62
- end
63
64
 
64
- def list_items(nodes)
65
- nodes.each do |node|
66
- list_item(node)
65
+ def list_items(nodes)
66
+ nodes.each do |node|
67
+ list_item(node)
68
+ end
67
69
  end
68
- end
69
70
 
70
- def list_item(node)
71
- li {
72
- if @customize_block
73
- @customize_block.call(node)
74
- else
75
- text_node "#{node.name}#{"\n" if node.children.any?}"
76
- end
77
- if node.children.any?
78
- ul {
79
- list_items(node.children)
80
- }
81
- end
82
- }
71
+ def list_item(node)
72
+ li {
73
+ if @customize_block
74
+ @customize_block.call(node)
75
+ else
76
+ text_node "#{node.name}#{"\n" if node.children.any?}"
77
+ end
78
+ if node.children.any?
79
+ ul {
80
+ list_items(node.children)
81
+ }
82
+ end
83
+ }
84
+ end
83
85
  end
84
86
  end
85
87
  end
@@ -10,9 +10,10 @@ module ExpressTemplates
10
10
  def call(template)
11
11
  # call ripper stuff method
12
12
 
13
- warn_contains_logic("(#{ExpressTemplates.compile(template)}).html_safe") # pass the source code
14
13
  # returns a string to be eval'd
15
- "(#{ExpressTemplates.compile(template)}).html_safe"
14
+ source = "(#{ExpressTemplates.compile(template)}).html_safe"
15
+ warn_contains_logic(source) # pass the source code
16
+ source
16
17
  end
17
18
 
18
19
  def warn_contains_logic(compiled_template)
@@ -1,3 +1,3 @@
1
1
  module ExpressTemplates
2
- VERSION = "0.11.1"
2
+ VERSION = "0.11.2"
3
3
  end
@@ -0,0 +1,34 @@
1
+ require 'test_helper'
2
+ require 'ostruct'
3
+ class CountrySelectTest < ActiveSupport::TestCase
4
+
5
+ def assigns
6
+ {person: ::Person.new}
7
+ end
8
+
9
+ def helpers
10
+ mock_action_view do
11
+ def people_path
12
+ '/people'
13
+ end
14
+ end
15
+ end
16
+
17
+
18
+ test "country_select renders without an error" do
19
+ assert arbre {
20
+ express_form(:person) {
21
+ country_select :country_code
22
+ }
23
+ }
24
+ end
25
+
26
+ test "can change label for country_select" do
27
+ html = arbre {
28
+ express_form(:person) {
29
+ country_select :country_code, label: "Country"
30
+ }
31
+ }
32
+ assert_match(/<label.*Country<\/label>/, html)
33
+ end
34
+ end
@@ -26410,3 +26410,657 @@ ExpressFormTest: test_simplest_form_uses_form_action_for_the_action
26410
26410
  -----------------------------------------------------------
26411
26411
  ExpressFormTest: test_simplest_form_will_have_the_proper_id
26412
26412
  -----------------------------------------------------------
26413
+ -----------------------------------------------------------------------------------------
26414
+ ProcTest: test_#source_body_captures_full_body_when_parens_around_parameters_not_provided
26415
+ -----------------------------------------------------------------------------------------
26416
+ ------------------------------------------------
26417
+ ProcTest: test_#source_body_handles_funky_bodies
26418
+ ------------------------------------------------
26419
+ ----------------------------------------------------------
26420
+ ProcTest: test_#source_body_raises_exception_for_arity_>_0
26421
+ ----------------------------------------------------------
26422
+ ------------------------------------------------------
26423
+ ProcTest: test_#source_body_returns_the_body_of_a_proc
26424
+ ------------------------------------------------------
26425
+ ----------------------------------------------
26426
+ ProcTest: test_#source_returns_a_proc's_source
26427
+ ----------------------------------------------
26428
+ ---------------------------------------------------------------
26429
+ ProcTest: test_#source_work_with_a_stabby_lambda_spanning_lines
26430
+ ---------------------------------------------------------------
26431
+ -----------------------------------------------------------------
26432
+ ProcTest: test_#source_works_when_a_proc_is_inside_a_hash_literal
26433
+ -----------------------------------------------------------------
26434
+ ------------------------------------------------------------
26435
+ ProcTest: test_#source_works_with_a_block_containing_a_block
26436
+ ------------------------------------------------------------
26437
+ --------------------------------------------
26438
+ ProcTest: test_#source_works_with_a_do_block
26439
+ --------------------------------------------
26440
+ -----------------------------------------------------
26441
+ ProcTest: test_#source_works_with_a_single_line_block
26442
+ -----------------------------------------------------
26443
+ -------------------------------------------------
26444
+ ProcTest: test_#source_works_with_a_stabby_lambda
26445
+ -------------------------------------------------
26446
+ ----------------------------------------------------------------------------------------
26447
+ ProcTest: test_.from_source_stores_source_of_a_dynamicly_built_proc_for_later_inspection
26448
+ ----------------------------------------------------------------------------------------
26449
+ -------------------------------------------------------------
26450
+ CheckboxTest: test_checkbox_places_the_label_before_the_input
26451
+ -------------------------------------------------------------
26452
+ -------------------------------------------------------
26453
+ CheckboxTest: test_checkbox_respects_label_after:_true_
26454
+ -------------------------------------------------------
26455
+ --------------------------------------------
26456
+ CompilerTest: test_.compile_returns_a_string
26457
+ --------------------------------------------
26458
+ ---------------------------------------------------------------------
26459
+ ExpressTemplatesTest: test_ExpressTemplates.render_renders_a_template
26460
+ ---------------------------------------------------------------------
26461
+ -------------------------------------------
26462
+ ExpressTemplatesTest: test_we_have_a_module
26463
+ -------------------------------------------
26464
+ ------------------------------------------------------------------------------------
26465
+ StringTest: test_String#inspect_works_normally_when_#to_view_code_hasn't_been_called
26466
+ ------------------------------------------------------------------------------------
26467
+ --------------------------------------------------------------------------------
26468
+ StringTest: test_String#to_view_code_causes_subsequent_#inspect_to_remove_quotes
26469
+ --------------------------------------------------------------------------------
26470
+ -------------------------------------------------------
26471
+ StringTest: test_String#to_view_code_returns_the_string
26472
+ -------------------------------------------------------
26473
+ -----------------------------------------------------------------
26474
+ BaseTest: test_.contains_places_fragment_inside_the_enclosing_tag
26475
+ -----------------------------------------------------------------
26476
+ ---------------------------------------------------------
26477
+ BaseTest: test_.has_attributes_creates_default_attributes
26478
+ ---------------------------------------------------------
26479
+ -----------------------------------------------------
26480
+ BaseTest: test_.tag_name_determines_the_enclosing_tag
26481
+ -----------------------------------------------------
26482
+ --------------------------------------------------
26483
+ BaseTest: test_before_build_hook_runs_before_build
26484
+ --------------------------------------------------
26485
+ --------------------------------------------------------------
26486
+ BaseTest: test_class_name_is_dasherized_instead_of_underscored
26487
+ --------------------------------------------------------------
26488
+ -----------------------------------------------------------
26489
+ BaseTest: test_class_option_adds_a_class,_does_not_override
26490
+ -----------------------------------------------------------
26491
+ ----------------------------------------------------
26492
+ BaseTest: test_options_are_passed_to_html_attributes
26493
+ ----------------------------------------------------
26494
+ -----------------------------------------------------------------------------
26495
+ ConfigurableTest: test_.has_argument_adds_a_positional_configuration_argument
26496
+ -----------------------------------------------------------------------------
26497
+ ----------------------------------------------------------------------------------------
26498
+ ConfigurableTest: test_.has_argument_appends_supported_arguments_in_order_of_inheritence
26499
+ ----------------------------------------------------------------------------------------
26500
+ -------------------------------------------------------------------------------
26501
+ ConfigurableTest: test_.has_argument_as:_allows_overwrite_of_inherited_argument
26502
+ -------------------------------------------------------------------------------
26503
+ -----------------------------------------------------------------------------------------------------
26504
+ ConfigurableTest: test_.has_argument_makes_builder_arguments_accessible_by_name_according_to_position
26505
+ -----------------------------------------------------------------------------------------------------
26506
+ ---------------------------------------------------
26507
+ ConfigurableTest: test_default_values_are_supported
26508
+ ---------------------------------------------------
26509
+ ----------------------------------------------------------------------
26510
+ ConfigurableTest: test_default_values_for_attributes_can_be_overridden
26511
+ ----------------------------------------------------------------------
26512
+ ------------------------------------------------------------------------
26513
+ ConfigurableTest: test_does_not_pass_declared_options_as_html_attributes
26514
+ ------------------------------------------------------------------------
26515
+ -----------------------------------------------------------
26516
+ ConfigurableTest: test_has_no_id_attribute_if_not_specified
26517
+ -----------------------------------------------------------
26518
+ --------------------------------------------
26519
+ ConfigurableTest: test_options_are_inherited
26520
+ --------------------------------------------
26521
+ -------------------------------------------------------
26522
+ ConfigurableTest: test_renders_first_argument_as_dom_id
26523
+ -------------------------------------------------------
26524
+ ----------------------------------------------------
26525
+ ConfigurableTest: test_required_options_are_required
26526
+ ----------------------------------------------------
26527
+ --------------------------------------------------
26528
+ ConfigurableTest: test_supports_option_declaration
26529
+ --------------------------------------------------
26530
+ ---------------------------------------------------------------
26531
+ ConfigurableTest: test_unrecognized_options_raises_an_exception
26532
+ ---------------------------------------------------------------
26533
+ ----------------------------------------------------
26534
+ ConfigurableTest: test_values_can_be_set_for_options
26535
+ ----------------------------------------------------
26536
+ -----------------------------------------------------------
26537
+ CountrySelectTest: test_can_change_label_for_country_select
26538
+ -----------------------------------------------------------
26539
+ ---------------------------------------------------------------
26540
+ CountrySelectTest: test_country_select_renders_without_an_error
26541
+ ---------------------------------------------------------------
26542
+ --------------------------------------------------------------------------------------------------
26543
+ ExpressTemplates::ResourcefulTest: test_#resource_class_returns_resource_class_option_if_specified
26544
+ --------------------------------------------------------------------------------------------------
26545
+ -----------------------------------------------------------------------------------------
26546
+ ExpressTemplates::ResourcefulTest: test_infers_a_namespace_and_no_prefix_within_an_engine
26547
+ -----------------------------------------------------------------------------------------
26548
+ ---------------------------------------------------------------------------------------------------
26549
+ ExpressTemplates::ResourcefulTest: test_infers_namespace_and_path_prefix_within_an_engine_and_scope
26550
+ ---------------------------------------------------------------------------------------------------
26551
+ ------------------------------------------------------------------------------------------------
26552
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_infers_prefix_within_a_scope_within_an_app
26553
+ ------------------------------------------------------------------------------------------------
26554
+ -----------------------------------------------------------------------------
26555
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_no_prefix_within_an_app
26556
+ -----------------------------------------------------------------------------
26557
+ -----------------------------------------------------------
26558
+ RadioTest: test_radio_has_correct_label_field_name_and_text
26559
+ -----------------------------------------------------------
26560
+ ------------------------------------------------------------------
26561
+ RadioTest: test_radio_options_from_collection_when_options_omitted
26562
+ ------------------------------------------------------------------
26563
+ ----------------------------------------------------------
26564
+ RadioTest: test_radio_options_may_be_specified_with_a_hash
26565
+ ----------------------------------------------------------
26566
+ --------------------------------------------------------
26567
+ RadioTest: test_radio_options_present_with_class_'radio'
26568
+ --------------------------------------------------------
26569
+ -------------------------------------------------
26570
+ RadioTest: test_radio_requires_a_parent_component
26571
+ -------------------------------------------------
26572
+ ------------------------------------------------------------
26573
+ RadioTest: test_radio_throws_error_if_given_improper_options
26574
+ ------------------------------------------------------------
26575
+ ---------------------------------------------------------------------------------------------
26576
+ IndenterTest: test_.for(:name)_returns_current_indent_without_newline_when_block_is_not_given
26577
+ ---------------------------------------------------------------------------------------------
26578
+ -----------------------------------------------------------------
26579
+ IndenterTest: test_.for(:name)_takes_a_block_receiving_whitespace
26580
+ -----------------------------------------------------------------
26581
+ ------------------------------------------------------------------
26582
+ IndenterTest: test_nesting_blocks_increases_whitespace_accordingly
26583
+ ------------------------------------------------------------------
26584
+ -----------------------------------------
26585
+ HelloControllerTest: test_should_get_show
26586
+ -----------------------------------------
26587
+ Processing by HelloController#show as HTML
26588
+ Rendered hello/show.html.et within layouts/application (0.9ms)
26589
+ Completed 200 OK in 132ms (Views: 132.3ms)
26590
+ ------------------------------------------------------------------------------------
26591
+ InterpolatorTest: test_"{{some_{{thing}}_foo}}"_transforms_to_"#{some_#{thing}_foo}"
26592
+ ------------------------------------------------------------------------------------
26593
+ -------------------------------------------------------------------
26594
+ InterpolatorTest: test_"{{something}}"_transforms_to_"#{something}"
26595
+ -------------------------------------------------------------------
26596
+ ---------------------------------------------------------------------
26597
+ InterpolatorTest: test_'a_lot_of_{{something_"{{good}}"}}'_transforms
26598
+ ---------------------------------------------------------------------
26599
+ ---------------------------------------------------------------------
26600
+ InterpolatorTest: test_nested_with_multiple_nested_expressions_parses
26601
+ ---------------------------------------------------------------------
26602
+ ----------------------------------------------------
26603
+ InterpolatorTest: test_nested_with_outer_text_parses
26604
+ ----------------------------------------------------
26605
+ -------------------------------------------------------
26606
+ InterpolatorTest: test_nested_without_outer_text_parses
26607
+ -------------------------------------------------------
26608
+ ---------------------------------------------------------------------
26609
+ InterpolatorTest: test_simple_expression_with_surrounding_text_parses
26610
+ ---------------------------------------------------------------------
26611
+ -------------------------------------------------
26612
+ InterpolatorTest: test_simplest_expression_parses
26613
+ -------------------------------------------------
26614
+ ------------------------------------------------------------
26615
+ TreeForTest: test_tree_for_accepts_block_with_custom_content
26616
+ ------------------------------------------------------------
26617
+ ---------------------------------------------------------------------------
26618
+ TreeForTest: test_tree_for_renders_correct_markup_with_node.name_as_default
26619
+ ---------------------------------------------------------------------------
26620
+ ---------------------------------------------------------------
26621
+ ExpressFormTest: test_express_form_contents_are_inside_the_form
26622
+ ---------------------------------------------------------------
26623
+ ---------------------------------------------------------
26624
+ ExpressFormTest: test_express_form_default_method_is_POST
26625
+ ---------------------------------------------------------
26626
+ -----------------------------------------------------
26627
+ ExpressFormTest: test_simplest_form_contains_form_tag
26628
+ -----------------------------------------------------
26629
+ ---------------------------------------------------------------
26630
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
26631
+ ---------------------------------------------------------------
26632
+ ---------------------------------------------------
26633
+ ExpressFormTest: test_simplest_form_contains_submit
26634
+ ---------------------------------------------------
26635
+ -------------------------------------------
26636
+ ExpressFormTest: test_simplest_form_renders
26637
+ -------------------------------------------
26638
+ -------------------------------------------------------------------
26639
+ ExpressFormTest: test_simplest_form_uses_form_action_for_the_action
26640
+ -------------------------------------------------------------------
26641
+ -----------------------------------------------------------
26642
+ ExpressFormTest: test_simplest_form_will_have_the_proper_id
26643
+ -----------------------------------------------------------
26644
+ ----------------------------------------------------------------
26645
+ SelectTest: test_select_collection_works_using_collection_select
26646
+ ----------------------------------------------------------------
26647
+ ------------------------------------------
26648
+ SelectTest: test_select_comes_with_a_label
26649
+ ------------------------------------------
26650
+ --------------------------------------------------
26651
+ SelectTest: test_select_defaults_can_be_overridden
26652
+ --------------------------------------------------
26653
+ -------------------------------------------------------
26654
+ SelectTest: test_select_defaults_to_include_blank:_true
26655
+ -------------------------------------------------------
26656
+ ------------------------------------------------------------------------------------
26657
+ SelectTest: test_select_generates_correct_options_when_values_are_specified_as_array
26658
+ ------------------------------------------------------------------------------------
26659
+ ------------------------------------------------------------------------
26660
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
26661
+ ------------------------------------------------------------------------
26662
+ --------------------------------------------------------------
26663
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
26664
+ --------------------------------------------------------------
26665
+ -----------------------------------------------------------------------------------------
26666
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
26667
+ -----------------------------------------------------------------------------------------
26668
+ ---------------------------------------------------
26669
+ SelectTest: test_select_requires_a_parent_component
26670
+ ---------------------------------------------------
26671
+ ---------------------------------------------------------------------------
26672
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
26673
+ ---------------------------------------------------------------------------
26674
+ -------------------------------------------------------------------------
26675
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
26676
+ -------------------------------------------------------------------------
26677
+ ----------------------------------------------
26678
+ SubmitTest: test_submit_accepts_a_class_option
26679
+ ----------------------------------------------
26680
+ --------------------------------------------------------
26681
+ SubmitTest: test_submit_accepts_a_value_and_class_option
26682
+ --------------------------------------------------------
26683
+ ----------------------------------------------------
26684
+ SubmitTest: test_submit_takes_string_param_for_value
26685
+ ----------------------------------------------------
26686
+ --------------------------------------------------------------
26687
+ HandlerTest: test_helpers_returning_html_when_alone_in_a_block
26688
+ --------------------------------------------------------------
26689
+ ------------------------------------------------------------------------
26690
+ HandlerTest: test_helpers_returning_html_work_in_sequence_within_a_block
26691
+ ------------------------------------------------------------------------
26692
+ ----------------------------------------------------------
26693
+ HandlerTest: test_html_generates_<h1>Hello</h1>_by_default
26694
+ ----------------------------------------------------------
26695
+ -----------------------------
26696
+ HandlerTest: test_locals_work
26697
+ -----------------------------
26698
+ ------------------------------------------------------------
26699
+ HandlerTest: test_nesting_elements_with_ruby_block_structure
26700
+ ------------------------------------------------------------
26701
+ ----------------------------------
26702
+ HandlerTest: test_other_attributes
26703
+ ----------------------------------
26704
+ -------------------------------------------
26705
+ HandlerTest: test_our_handler_is_registered
26706
+ -------------------------------------------
26707
+ ------------------------------------------------------------------
26708
+ HandlerTest: test_raises_warning_if_template_has_conditional_logic
26709
+ ------------------------------------------------------------------
26710
+ ---------------------------------------
26711
+ HandlerTest: test_string_in_block_works
26712
+ ---------------------------------------
26713
+ ---------------------------------------------------------------------------------------
26714
+ BasicFieldsTest: test_adds_error_class_if_there_are_errors_on_a_field_with_no_class_set
26715
+ ---------------------------------------------------------------------------------------
26716
+ ----------------------------------------------------------------------------------------------
26717
+ BasicFieldsTest: test_adds_error_class_if_there_are_errors_on_a_field_with_no_input_attributes
26718
+ ----------------------------------------------------------------------------------------------
26719
+ --------------------------------------------------------------------------------------------
26720
+ BasicFieldsTest: test_adds_error_to_class_if_there_are_errors_on_a_field_with_existing_class
26721
+ --------------------------------------------------------------------------------------------
26722
+ -------------------------------------
26723
+ BasicFieldsTest: test_all_fields_work
26724
+ -------------------------------------
26725
+ ---------------------------------------------------------------------------------
26726
+ BasicFieldsTest: test_hidden_field_passes_additional_html_options_to_rails_helper
26727
+ ---------------------------------------------------------------------------------
26728
+ ---------------------------------------------------------
26729
+ BasicFieldsTest: test_hidden_uses_rails_hidden_tag_helper
26730
+ ---------------------------------------------------------
26731
+ ---------------------------------------------------------
26732
+ BasicFieldsTest: test_passing_html_options_to_fields_work
26733
+ ---------------------------------------------------------
26734
+ -----------------------------------------------------------------------------
26735
+ BasicFieldsTest: test_textarea_passes_additional_html_options_to_rails_helper
26736
+ -----------------------------------------------------------------------------
26737
+ ----------------------------------------------------------
26738
+ BasicFieldsTest: test_textarea_uses_rails_text_area_helper
26739
+ ----------------------------------------------------------
26740
+ --------------------------------------------
26741
+ CompilerTest: test_.compile_returns_a_string
26742
+ --------------------------------------------
26743
+ -----------------------------------------------------------
26744
+ RadioTest: test_radio_has_correct_label_field_name_and_text
26745
+ -----------------------------------------------------------
26746
+ ------------------------------------------------------------------
26747
+ RadioTest: test_radio_options_from_collection_when_options_omitted
26748
+ ------------------------------------------------------------------
26749
+ ----------------------------------------------------------
26750
+ RadioTest: test_radio_options_may_be_specified_with_a_hash
26751
+ ----------------------------------------------------------
26752
+ --------------------------------------------------------
26753
+ RadioTest: test_radio_options_present_with_class_'radio'
26754
+ --------------------------------------------------------
26755
+ -------------------------------------------------
26756
+ RadioTest: test_radio_requires_a_parent_component
26757
+ -------------------------------------------------
26758
+ ------------------------------------------------------------
26759
+ RadioTest: test_radio_throws_error_if_given_improper_options
26760
+ ------------------------------------------------------------
26761
+ -----------------------------------------------------------
26762
+ CountrySelectTest: test_can_change_label_for_country_select
26763
+ -----------------------------------------------------------
26764
+ ---------------------------------------------------------------
26765
+ CountrySelectTest: test_country_select_renders_without_an_error
26766
+ ---------------------------------------------------------------
26767
+ --------------------------------------------------------------------------------------------------
26768
+ ExpressTemplates::ResourcefulTest: test_#resource_class_returns_resource_class_option_if_specified
26769
+ --------------------------------------------------------------------------------------------------
26770
+ -----------------------------------------------------------------------------------------
26771
+ ExpressTemplates::ResourcefulTest: test_infers_a_namespace_and_no_prefix_within_an_engine
26772
+ -----------------------------------------------------------------------------------------
26773
+ ---------------------------------------------------------------------------------------------------
26774
+ ExpressTemplates::ResourcefulTest: test_infers_namespace_and_path_prefix_within_an_engine_and_scope
26775
+ ---------------------------------------------------------------------------------------------------
26776
+ ------------------------------------------------------------------------------------------------
26777
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_infers_prefix_within_a_scope_within_an_app
26778
+ ------------------------------------------------------------------------------------------------
26779
+ -----------------------------------------------------------------------------
26780
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_no_prefix_within_an_app
26781
+ -----------------------------------------------------------------------------
26782
+ ---------------------------------------------------------------------------------------
26783
+ BasicFieldsTest: test_adds_error_class_if_there_are_errors_on_a_field_with_no_class_set
26784
+ ---------------------------------------------------------------------------------------
26785
+ ----------------------------------------------------------------------------------------------
26786
+ BasicFieldsTest: test_adds_error_class_if_there_are_errors_on_a_field_with_no_input_attributes
26787
+ ----------------------------------------------------------------------------------------------
26788
+ --------------------------------------------------------------------------------------------
26789
+ BasicFieldsTest: test_adds_error_to_class_if_there_are_errors_on_a_field_with_existing_class
26790
+ --------------------------------------------------------------------------------------------
26791
+ -------------------------------------
26792
+ BasicFieldsTest: test_all_fields_work
26793
+ -------------------------------------
26794
+ ---------------------------------------------------------------------------------
26795
+ BasicFieldsTest: test_hidden_field_passes_additional_html_options_to_rails_helper
26796
+ ---------------------------------------------------------------------------------
26797
+ ---------------------------------------------------------
26798
+ BasicFieldsTest: test_hidden_uses_rails_hidden_tag_helper
26799
+ ---------------------------------------------------------
26800
+ ---------------------------------------------------------
26801
+ BasicFieldsTest: test_passing_html_options_to_fields_work
26802
+ ---------------------------------------------------------
26803
+ -----------------------------------------------------------------------------
26804
+ BasicFieldsTest: test_textarea_passes_additional_html_options_to_rails_helper
26805
+ -----------------------------------------------------------------------------
26806
+ ----------------------------------------------------------
26807
+ BasicFieldsTest: test_textarea_uses_rails_text_area_helper
26808
+ ----------------------------------------------------------
26809
+ ------------------------------------------------------------------------------------
26810
+ StringTest: test_String#inspect_works_normally_when_#to_view_code_hasn't_been_called
26811
+ ------------------------------------------------------------------------------------
26812
+ --------------------------------------------------------------------------------
26813
+ StringTest: test_String#to_view_code_causes_subsequent_#inspect_to_remove_quotes
26814
+ --------------------------------------------------------------------------------
26815
+ -------------------------------------------------------
26816
+ StringTest: test_String#to_view_code_returns_the_string
26817
+ -------------------------------------------------------
26818
+ ----------------------------------------------
26819
+ SubmitTest: test_submit_accepts_a_class_option
26820
+ ----------------------------------------------
26821
+ --------------------------------------------------------
26822
+ SubmitTest: test_submit_accepts_a_value_and_class_option
26823
+ --------------------------------------------------------
26824
+ ----------------------------------------------------
26825
+ SubmitTest: test_submit_takes_string_param_for_value
26826
+ ----------------------------------------------------
26827
+ -----------------------------------------
26828
+ HelloControllerTest: test_should_get_show
26829
+ -----------------------------------------
26830
+ Processing by HelloController#show as HTML
26831
+ Rendered hello/show.html.et within layouts/application (1.4ms)
26832
+ Completed 200 OK in 131ms (Views: 130.9ms)
26833
+ -------------------------------------------------------------
26834
+ CheckboxTest: test_checkbox_places_the_label_before_the_input
26835
+ -------------------------------------------------------------
26836
+ -------------------------------------------------------
26837
+ CheckboxTest: test_checkbox_respects_label_after:_true_
26838
+ -------------------------------------------------------
26839
+ ---------------------------------------------------------------------
26840
+ ExpressTemplatesTest: test_ExpressTemplates.render_renders_a_template
26841
+ ---------------------------------------------------------------------
26842
+ -------------------------------------------
26843
+ ExpressTemplatesTest: test_we_have_a_module
26844
+ -------------------------------------------
26845
+ -----------------------------------------------------------------
26846
+ BaseTest: test_.contains_places_fragment_inside_the_enclosing_tag
26847
+ -----------------------------------------------------------------
26848
+ ---------------------------------------------------------
26849
+ BaseTest: test_.has_attributes_creates_default_attributes
26850
+ ---------------------------------------------------------
26851
+ -----------------------------------------------------
26852
+ BaseTest: test_.tag_name_determines_the_enclosing_tag
26853
+ -----------------------------------------------------
26854
+ --------------------------------------------------
26855
+ BaseTest: test_before_build_hook_runs_before_build
26856
+ --------------------------------------------------
26857
+ --------------------------------------------------------------
26858
+ BaseTest: test_class_name_is_dasherized_instead_of_underscored
26859
+ --------------------------------------------------------------
26860
+ -----------------------------------------------------------
26861
+ BaseTest: test_class_option_adds_a_class,_does_not_override
26862
+ -----------------------------------------------------------
26863
+ ----------------------------------------------------
26864
+ BaseTest: test_options_are_passed_to_html_attributes
26865
+ ----------------------------------------------------
26866
+ ------------------------------------------------------------
26867
+ TreeForTest: test_tree_for_accepts_block_with_custom_content
26868
+ ------------------------------------------------------------
26869
+ ---------------------------------------------------------------------------
26870
+ TreeForTest: test_tree_for_renders_correct_markup_with_node.name_as_default
26871
+ ---------------------------------------------------------------------------
26872
+ ------------------------------------------------------------------------------------
26873
+ InterpolatorTest: test_"{{some_{{thing}}_foo}}"_transforms_to_"#{some_#{thing}_foo}"
26874
+ ------------------------------------------------------------------------------------
26875
+ -------------------------------------------------------------------
26876
+ InterpolatorTest: test_"{{something}}"_transforms_to_"#{something}"
26877
+ -------------------------------------------------------------------
26878
+ ---------------------------------------------------------------------
26879
+ InterpolatorTest: test_'a_lot_of_{{something_"{{good}}"}}'_transforms
26880
+ ---------------------------------------------------------------------
26881
+ ---------------------------------------------------------------------
26882
+ InterpolatorTest: test_nested_with_multiple_nested_expressions_parses
26883
+ ---------------------------------------------------------------------
26884
+ ----------------------------------------------------
26885
+ InterpolatorTest: test_nested_with_outer_text_parses
26886
+ ----------------------------------------------------
26887
+ -------------------------------------------------------
26888
+ InterpolatorTest: test_nested_without_outer_text_parses
26889
+ -------------------------------------------------------
26890
+ ---------------------------------------------------------------------
26891
+ InterpolatorTest: test_simple_expression_with_surrounding_text_parses
26892
+ ---------------------------------------------------------------------
26893
+ -------------------------------------------------
26894
+ InterpolatorTest: test_simplest_expression_parses
26895
+ -------------------------------------------------
26896
+ ----------------------------------------------------------------
26897
+ SelectTest: test_select_collection_works_using_collection_select
26898
+ ----------------------------------------------------------------
26899
+ ------------------------------------------
26900
+ SelectTest: test_select_comes_with_a_label
26901
+ ------------------------------------------
26902
+ --------------------------------------------------
26903
+ SelectTest: test_select_defaults_can_be_overridden
26904
+ --------------------------------------------------
26905
+ -------------------------------------------------------
26906
+ SelectTest: test_select_defaults_to_include_blank:_true
26907
+ -------------------------------------------------------
26908
+ ------------------------------------------------------------------------------------
26909
+ SelectTest: test_select_generates_correct_options_when_values_are_specified_as_array
26910
+ ------------------------------------------------------------------------------------
26911
+ ------------------------------------------------------------------------
26912
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
26913
+ ------------------------------------------------------------------------
26914
+ --------------------------------------------------------------
26915
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
26916
+ --------------------------------------------------------------
26917
+ -----------------------------------------------------------------------------------------
26918
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
26919
+ -----------------------------------------------------------------------------------------
26920
+ ---------------------------------------------------
26921
+ SelectTest: test_select_requires_a_parent_component
26922
+ ---------------------------------------------------
26923
+ ---------------------------------------------------------------------------
26924
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
26925
+ ---------------------------------------------------------------------------
26926
+ -------------------------------------------------------------------------
26927
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
26928
+ -------------------------------------------------------------------------
26929
+ -----------------------------------------------------------------------------------------
26930
+ ProcTest: test_#source_body_captures_full_body_when_parens_around_parameters_not_provided
26931
+ -----------------------------------------------------------------------------------------
26932
+ ------------------------------------------------
26933
+ ProcTest: test_#source_body_handles_funky_bodies
26934
+ ------------------------------------------------
26935
+ ----------------------------------------------------------
26936
+ ProcTest: test_#source_body_raises_exception_for_arity_>_0
26937
+ ----------------------------------------------------------
26938
+ ------------------------------------------------------
26939
+ ProcTest: test_#source_body_returns_the_body_of_a_proc
26940
+ ------------------------------------------------------
26941
+ ----------------------------------------------
26942
+ ProcTest: test_#source_returns_a_proc's_source
26943
+ ----------------------------------------------
26944
+ ---------------------------------------------------------------
26945
+ ProcTest: test_#source_work_with_a_stabby_lambda_spanning_lines
26946
+ ---------------------------------------------------------------
26947
+ -----------------------------------------------------------------
26948
+ ProcTest: test_#source_works_when_a_proc_is_inside_a_hash_literal
26949
+ -----------------------------------------------------------------
26950
+ ------------------------------------------------------------
26951
+ ProcTest: test_#source_works_with_a_block_containing_a_block
26952
+ ------------------------------------------------------------
26953
+ --------------------------------------------
26954
+ ProcTest: test_#source_works_with_a_do_block
26955
+ --------------------------------------------
26956
+ -----------------------------------------------------
26957
+ ProcTest: test_#source_works_with_a_single_line_block
26958
+ -----------------------------------------------------
26959
+ -------------------------------------------------
26960
+ ProcTest: test_#source_works_with_a_stabby_lambda
26961
+ -------------------------------------------------
26962
+ ----------------------------------------------------------------------------------------
26963
+ ProcTest: test_.from_source_stores_source_of_a_dynamicly_built_proc_for_later_inspection
26964
+ ----------------------------------------------------------------------------------------
26965
+ ---------------------------------------------------------------------------------------------
26966
+ IndenterTest: test_.for(:name)_returns_current_indent_without_newline_when_block_is_not_given
26967
+ ---------------------------------------------------------------------------------------------
26968
+ -----------------------------------------------------------------
26969
+ IndenterTest: test_.for(:name)_takes_a_block_receiving_whitespace
26970
+ -----------------------------------------------------------------
26971
+ ------------------------------------------------------------------
26972
+ IndenterTest: test_nesting_blocks_increases_whitespace_accordingly
26973
+ ------------------------------------------------------------------
26974
+ ---------------------------------------------------------------
26975
+ ExpressFormTest: test_express_form_contents_are_inside_the_form
26976
+ ---------------------------------------------------------------
26977
+ ---------------------------------------------------------
26978
+ ExpressFormTest: test_express_form_default_method_is_POST
26979
+ ---------------------------------------------------------
26980
+ -----------------------------------------------------
26981
+ ExpressFormTest: test_simplest_form_contains_form_tag
26982
+ -----------------------------------------------------
26983
+ ---------------------------------------------------------------
26984
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
26985
+ ---------------------------------------------------------------
26986
+ ---------------------------------------------------
26987
+ ExpressFormTest: test_simplest_form_contains_submit
26988
+ ---------------------------------------------------
26989
+ -------------------------------------------
26990
+ ExpressFormTest: test_simplest_form_renders
26991
+ -------------------------------------------
26992
+ -------------------------------------------------------------------
26993
+ ExpressFormTest: test_simplest_form_uses_form_action_for_the_action
26994
+ -------------------------------------------------------------------
26995
+ -----------------------------------------------------------
26996
+ ExpressFormTest: test_simplest_form_will_have_the_proper_id
26997
+ -----------------------------------------------------------
26998
+ -----------------------------------------------------------------------------
26999
+ ConfigurableTest: test_.has_argument_adds_a_positional_configuration_argument
27000
+ -----------------------------------------------------------------------------
27001
+ ----------------------------------------------------------------------------------------
27002
+ ConfigurableTest: test_.has_argument_appends_supported_arguments_in_order_of_inheritence
27003
+ ----------------------------------------------------------------------------------------
27004
+ -------------------------------------------------------------------------------
27005
+ ConfigurableTest: test_.has_argument_as:_allows_overwrite_of_inherited_argument
27006
+ -------------------------------------------------------------------------------
27007
+ -----------------------------------------------------------------------------------------------------
27008
+ ConfigurableTest: test_.has_argument_makes_builder_arguments_accessible_by_name_according_to_position
27009
+ -----------------------------------------------------------------------------------------------------
27010
+ ---------------------------------------------------
27011
+ ConfigurableTest: test_default_values_are_supported
27012
+ ---------------------------------------------------
27013
+ ----------------------------------------------------------------------
27014
+ ConfigurableTest: test_default_values_for_attributes_can_be_overridden
27015
+ ----------------------------------------------------------------------
27016
+ ------------------------------------------------------------------------
27017
+ ConfigurableTest: test_does_not_pass_declared_options_as_html_attributes
27018
+ ------------------------------------------------------------------------
27019
+ -----------------------------------------------------------
27020
+ ConfigurableTest: test_has_no_id_attribute_if_not_specified
27021
+ -----------------------------------------------------------
27022
+ --------------------------------------------
27023
+ ConfigurableTest: test_options_are_inherited
27024
+ --------------------------------------------
27025
+ -------------------------------------------------------
27026
+ ConfigurableTest: test_renders_first_argument_as_dom_id
27027
+ -------------------------------------------------------
27028
+ ----------------------------------------------------
27029
+ ConfigurableTest: test_required_options_are_required
27030
+ ----------------------------------------------------
27031
+ --------------------------------------------------
27032
+ ConfigurableTest: test_supports_option_declaration
27033
+ --------------------------------------------------
27034
+ ---------------------------------------------------------------
27035
+ ConfigurableTest: test_unrecognized_options_raises_an_exception
27036
+ ---------------------------------------------------------------
27037
+ ----------------------------------------------------
27038
+ ConfigurableTest: test_values_can_be_set_for_options
27039
+ ----------------------------------------------------
27040
+ --------------------------------------------------------------
27041
+ HandlerTest: test_helpers_returning_html_when_alone_in_a_block
27042
+ --------------------------------------------------------------
27043
+ ------------------------------------------------------------------------
27044
+ HandlerTest: test_helpers_returning_html_work_in_sequence_within_a_block
27045
+ ------------------------------------------------------------------------
27046
+ ----------------------------------------------------------
27047
+ HandlerTest: test_html_generates_<h1>Hello</h1>_by_default
27048
+ ----------------------------------------------------------
27049
+ -----------------------------
27050
+ HandlerTest: test_locals_work
27051
+ -----------------------------
27052
+ ------------------------------------------------------------
27053
+ HandlerTest: test_nesting_elements_with_ruby_block_structure
27054
+ ------------------------------------------------------------
27055
+ ----------------------------------
27056
+ HandlerTest: test_other_attributes
27057
+ ----------------------------------
27058
+ -------------------------------------------
27059
+ HandlerTest: test_our_handler_is_registered
27060
+ -------------------------------------------
27061
+ ------------------------------------------------------------------
27062
+ HandlerTest: test_raises_warning_if_template_has_conditional_logic
27063
+ ------------------------------------------------------------------
27064
+ ---------------------------------------
27065
+ HandlerTest: test_string_in_block_works
27066
+ ---------------------------------------