express_admin 1.4.1 → 1.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/express_admin/admin.js.coffee +24 -0
  3. data/app/assets/stylesheets/express_admin/components/_modals.sass +7 -0
  4. data/app/assets/stylesheets/express_admin/screen.sass +0 -1
  5. data/app/components/express_admin/flash_messages.rb +1 -1
  6. data/app/components/express_admin/layout_component.rb +1 -1
  7. data/app/components/express_admin/layout_components/h_box.rb +0 -3
  8. data/app/components/express_admin/layout_components/pane.rb +1 -2
  9. data/app/components/express_admin/layout_components/sidebar_region.rb +1 -4
  10. data/app/components/express_admin/layout_components/v_box.rb +0 -3
  11. data/app/components/express_admin/main_region.rb +1 -4
  12. data/app/views/layouts/express_admin/admin.html.et +3 -3
  13. data/lib/express_admin/version.rb +1 -1
  14. data/test/dummy/db/test.sqlite3 +0 -0
  15. data/vendor/gems/express_templates/Gemfile.lock +3 -0
  16. data/vendor/gems/express_templates/express_templates-0.9.0.gem +0 -0
  17. data/vendor/gems/express_templates/express_templates.gemspec +2 -1
  18. data/vendor/gems/express_templates/lib/express_templates/components.rb +1 -0
  19. data/vendor/gems/express_templates/lib/express_templates/components/base.rb +4 -0
  20. data/vendor/gems/express_templates/lib/express_templates/components/container.rb +43 -0
  21. data/vendor/gems/express_templates/lib/express_templates/components/forms/express_form.rb +2 -3
  22. data/vendor/gems/express_templates/lib/express_templates/components/forms/form_component.rb +2 -2
  23. data/vendor/gems/express_templates/lib/express_templates/version.rb +1 -1
  24. data/vendor/gems/express_templates/test/dummy/log/test.log +1593 -0
  25. metadata +61 -41
  26. data/app/assets/javascripts/express_admin/admin.js +0 -30
  27. data/app/assets/stylesheets/express_admin/components/_live_edit.sass +0 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 47f9b0aa2f7ce09f7dfb3dea17d4139e2eede4c1
4
- data.tar.gz: 37448704becbe0239be10babb79dceffa099b2a8
3
+ metadata.gz: 8d0cb644b0a6b67ff6a3eade7c88f675ecc1ce9a
4
+ data.tar.gz: 6db95735643716572edcd70c560ca8fd88213e37
5
5
  SHA512:
6
- metadata.gz: deb2025bac503f80c9c481c4bad30a9f47502da6272ccf4b713a147e739cc92b6935ffbc09236d5360c2fa5b2a91544c6dda7f465600522698bf72fd45b53100
7
- data.tar.gz: a580f0b123f0fb27cac5ea928e627ee2ae29b0c460ef1b2b6d760d9dc013891fb6421569246275c057a1b2e998a54f201fc9ed475460b4d5506869c727e0a0a9
6
+ metadata.gz: 049fe5f7dec528a19d21b8c67b8bca3416a6cda7463083223c74892ec90edc70f8497251db26ef71b2275f2f0107467aab60468a592c5ecd77721930d63d1406
7
+ data.tar.gz: 174a3af62f1f3509ac001f41bf2ac8ce71ed9fe4f503b307742b4d5dfce08ed75ecac5eb1a6b2e64292132f8aff25f2d04b07647a999bfda169a033b03aacc04
@@ -0,0 +1,24 @@
1
+ $(document).ready ->
2
+ $('.select2').select2()
3
+ # Table Row as links
4
+ $('.table-hover tr[data-url]').on 'click', ->
5
+ window.location.href = $(this).attr('data-url')
6
+ return
7
+
8
+ window.startAnimateProgress = (message) ->
9
+ $('.content-body').prepend '<div class=\'alert-box\'></div>'
10
+ $('.content-body .alert-box').Loadingdotdotdot('word': message).addClass 'info'
11
+ return
12
+
13
+ window.stopAnimateProgress = ->
14
+ $('.alert-box').Loadingdotdotdot 'Stop'
15
+ return
16
+
17
+ # Modal Cancel buttons
18
+ $('a.modal-cancel').click (e) ->
19
+ e.preventDefault()
20
+ $('a.close-reveal-modal').trigger 'click'
21
+ return
22
+
23
+ String::repeat = (num) ->
24
+ new Array(num + 1).join this
@@ -0,0 +1,7 @@
1
+ #my-modal
2
+ @extend modal
3
+
4
+ .modal-overlay
5
+ z-index: 10100
6
+
7
+
@@ -14,7 +14,6 @@
14
14
  @import 'sections/sidebar_region'
15
15
 
16
16
  @import 'components/main_menu'
17
- @import 'components/live_edit'
18
17
  @import 'components/sub_menu'
19
18
  @import 'components/module_sidebar'
20
19
  @import 'components/widget_box'
@@ -1,5 +1,5 @@
1
1
  module ExpressAdmin
2
- class Flash < ExpressTemplates::Components::Base
2
+ class FlashMessages < ExpressTemplates::Components::Base
3
3
 
4
4
  contains -> {
5
5
  helpers.flash.each do |flash_message|
@@ -1,5 +1,5 @@
1
1
  module ExpressAdmin
2
- class LayoutComponent < ExpressTemplates::Components::Configurable
2
+ class LayoutComponent < ExpressTemplates::Components::Container
3
3
 
4
4
  has_option :style, 'Add inline styles to the element'
5
5
 
@@ -1,7 +1,4 @@
1
1
  module ExpressAdmin
2
2
  class HBox < LayoutComponent
3
- contains -> (&block) {
4
- block.call(self) if block
5
- }
6
3
  end
7
4
  end
@@ -4,9 +4,8 @@ module ExpressAdmin
4
4
  has_option :title, 'The title of the pane', default: ''
5
5
  has_option :status, 'Status of the pane'
6
6
 
7
- contains -> (&block) {
7
+ prepends -> {
8
8
  heading if title || status
9
- block.call(self) if block
10
9
  }
11
10
 
12
11
  def heading
@@ -1,7 +1,4 @@
1
1
  module ExpressAdmin
2
2
  class SidebarRegion < LayoutComponent
3
- contains -> (&block) {
4
- block.call(self) if block
5
- }
6
3
  end
7
- end
4
+ end
@@ -1,7 +1,4 @@
1
1
  module ExpressAdmin
2
2
  class VBox < LayoutComponent
3
- contains -> (&block) {
4
- block.call(self) if block
5
- }
6
3
  end
7
4
  end
@@ -1,7 +1,4 @@
1
1
  module ExpressAdmin
2
- class MainRegion < ExpressTemplates::Components::Configurable
3
- contains -> (&block) {
4
- block.call(self) if block
5
- }
2
+ class MainRegion < ExpressTemplates::Components::Container
6
3
  end
7
4
  end
@@ -5,7 +5,7 @@ html {
5
5
  meta(name: "description", content: "#{helpers.description_meta_content}")
6
6
  meta(name: "viewport", content: "width=device-width, initial-scale=1.0")
7
7
  admin_javascript_and_css_includes
8
- yield(:page_css)
8
+ current_arbre_element.add_child yield(:page_css)
9
9
  csrf_meta_tags
10
10
  }
11
11
  body {
@@ -21,6 +21,6 @@ html {
21
21
  }
22
22
  }
23
23
  }
24
- yield(:page_javascript)
24
+ current_arbre_element.add_child yield(:page_javascript)
25
25
  }
26
- }
26
+ }
@@ -1,3 +1,3 @@
1
1
  module ExpressAdmin
2
- VERSION = "1.4.1"
2
+ VERSION = "1.4.2"
3
3
  end
Binary file
@@ -79,6 +79,8 @@ GEM
79
79
  mime-types (2.5)
80
80
  mini_portile (0.6.2)
81
81
  minitest (5.6.1)
82
+ minitest-line (0.6.3)
83
+ minitest (~> 5.0)
82
84
  minitest-reporters (1.0.10)
83
85
  ansi
84
86
  builder
@@ -149,6 +151,7 @@ DEPENDENCIES
149
151
  erubis (~> 2.7)
150
152
  express_templates!
151
153
  haml (~> 4.0)
154
+ minitest-line
152
155
  minitest-reporters
153
156
  pry (~> 0)
154
157
  pry-byebug
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
19
19
 
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
- s.add_dependency "arbre"
22
+ s.add_dependency "arbre", "~> 1.0"
23
23
  s.add_development_dependency "rails", "~> 4.2"
24
24
  s.add_development_dependency "pry", "~> 0"
25
25
  s.add_development_dependency "erubis", "~> 2.7"
@@ -27,4 +27,5 @@ Gem::Specification.new do |s|
27
27
  s.add_development_dependency "better_errors", "~> 2.0"
28
28
  s.add_development_dependency "binding_of_caller", "~> 0.7"
29
29
  s.add_development_dependency "pry-stack_explorer", "~> 0.4"
30
+ s.add_development_dependency "minitest-line"
30
31
  end
@@ -5,5 +5,6 @@ end
5
5
 
6
6
  require 'express_templates/components/base'
7
7
  require 'express_templates/components/configurable'
8
+ require 'express_templates/components/container'
8
9
  require 'express_templates/components/tree_for'
9
10
  require 'express_templates/components/forms'
@@ -71,6 +71,10 @@ module ExpressTemplates
71
71
  builder_method_and_class subclass.to_s.demodulize.underscore, subclass
72
72
  end
73
73
 
74
+ def self.descendants
75
+ ObjectSpace.each_object(Class).select { |klass| klass < self }
76
+ end
77
+
74
78
  protected
75
79
  def default_class_name
76
80
  self.class.name.demodulize.underscore.dasherize
@@ -0,0 +1,43 @@
1
+ module ExpressTemplates
2
+ module Components
3
+ class Container < Configurable
4
+
5
+ class_attribute :prepended_blocks
6
+ self.prepended_blocks = []
7
+
8
+ class_attribute :appended_blocks
9
+ self.appended_blocks = []
10
+
11
+ contains -> (&block) {
12
+ prepended
13
+ block.call(self) if block
14
+ appended
15
+ }
16
+
17
+ def prepended
18
+ prepended_blocks.each do |block_to_prepend|
19
+ call_block(block_to_prepend)
20
+ end
21
+ end
22
+
23
+ def appended
24
+ appended_blocks.each do |block_to_append|
25
+ call_block(block_to_append)
26
+ end
27
+ end
28
+
29
+ def call_block(block)
30
+ instance_exec &block
31
+ end
32
+
33
+ def self.prepends(proc = nil, &block)
34
+ self.prepended_blocks += [proc || block]
35
+ end
36
+
37
+ def self.appends(proc = nil, &block)
38
+ self.appended_blocks += [proc || block]
39
+ end
40
+
41
+ end
42
+ end
43
+ end
@@ -1,7 +1,7 @@
1
1
  module ExpressTemplates
2
2
  module Components
3
3
  module Forms
4
- class ExpressForm < Configurable
4
+ class ExpressForm < Container
5
5
  include ExpressTemplates::Components::Capabilities::Resourceful
6
6
 
7
7
  tag :form
@@ -9,13 +9,12 @@ module ExpressTemplates
9
9
  has_option :method, 'The form method', default: 'POST', attribute: true #, options: ['PUT', 'POST', 'GET', 'DELETE']
10
10
  has_option :action, 'The form action containing the resource path or url.'
11
11
 
12
- contains -> (&block) {
12
+ prepends -> {
13
13
  div(style: 'display:none') {
14
14
  add_child helpers.utf8_enforcer_tag
15
15
  add_child helpers.send(:method_tag, resource.persisted? ? :put : :post)
16
16
  helpers.send(:token_tag)
17
17
  }
18
- block.call(self) if block
19
18
  }
20
19
 
21
20
  before_build -> {
@@ -7,10 +7,10 @@ module ExpressTemplates
7
7
 
8
8
  before_build -> {
9
9
  set_attribute(:id, "#{resource_name}_#{field_name}_wrapper")
10
- add_class(config[:class])
10
+ add_class(config[:wrapper_class])
11
11
  }
12
12
 
13
- has_option :class, 'Override the class of the wrapping div of a form component', default: 'field-wrapper', attribute: true
13
+ has_option :wrapper_class, 'Override the class of the wrapping div of a form component', default: 'field-wrapper'
14
14
  has_option :label, 'Override the inferred label of a form component'
15
15
 
16
16
  # Lookup the resource_name from the parent ExpressForm.
@@ -1,3 +1,3 @@
1
1
  module ExpressTemplates
2
- VERSION = "0.8.0"
2
+ VERSION = "0.9.0"
3
3
  end
@@ -2440,3 +2440,1596 @@ ProcTest: test_.from_source_stores_source_of_a_dynamicly_built_proc_for_later_in
2440
2440
  -----------------------------------------------------------------------------------------
2441
2441
  ProcTest: test_.source_body_captures_full_body_when_parens_around_parameters_not_provided
2442
2442
  -----------------------------------------------------------------------------------------
2443
+ ------------------------------------------------------------------------------------
2444
+ InterpolatorTest: test_"{{some_{{thing}}_foo}}"_transforms_to_"#{some_#{thing}_foo}"
2445
+ ------------------------------------------------------------------------------------
2446
+ -------------------------------------------------------------------
2447
+ InterpolatorTest: test_"{{something}}"_transforms_to_"#{something}"
2448
+ -------------------------------------------------------------------
2449
+ ---------------------------------------------------------------------
2450
+ InterpolatorTest: test_'a_lot_of_{{something_"{{good}}"}}'_transforms
2451
+ ---------------------------------------------------------------------
2452
+ ---------------------------------------------------------------------
2453
+ InterpolatorTest: test_nested_with_multiple_nested_expressions_parses
2454
+ ---------------------------------------------------------------------
2455
+ ----------------------------------------------------
2456
+ InterpolatorTest: test_nested_with_outer_text_parses
2457
+ ----------------------------------------------------
2458
+ -------------------------------------------------------
2459
+ InterpolatorTest: test_nested_without_outer_text_parses
2460
+ -------------------------------------------------------
2461
+ ---------------------------------------------------------------------
2462
+ InterpolatorTest: test_simple_expression_with_surrounding_text_parses
2463
+ ---------------------------------------------------------------------
2464
+ -------------------------------------------------
2465
+ InterpolatorTest: test_simplest_expression_parses
2466
+ -------------------------------------------------
2467
+ ---------------------------------------------------------------------------------------------
2468
+ IndenterTest: test_.for(:name)_returns_current_indent_without_newline_when_block_is_not_given
2469
+ ---------------------------------------------------------------------------------------------
2470
+ -----------------------------------------------------------------
2471
+ IndenterTest: test_.for(:name)_takes_a_block_receiving_whitespace
2472
+ -----------------------------------------------------------------
2473
+ ------------------------------------------------------------------
2474
+ IndenterTest: test_nesting_blocks_increases_whitespace_accordingly
2475
+ ------------------------------------------------------------------
2476
+ ----------------------------------------------------------------
2477
+ SelectTest: test_select_collection_works_using_collection_select
2478
+ ----------------------------------------------------------------
2479
+ ------------------------------------------
2480
+ SelectTest: test_select_comes_with_a_label
2481
+ ------------------------------------------
2482
+ --------------------------------------------------
2483
+ SelectTest: test_select_defaults_can_be_overridden
2484
+ --------------------------------------------------
2485
+ -------------------------------------------------------
2486
+ SelectTest: test_select_defaults_to_include_blank:_true
2487
+ -------------------------------------------------------
2488
+ ------------------------------------------------------------------------------------
2489
+ SelectTest: test_select_generates_correct_options_when_values_are_specified_as_array
2490
+ ------------------------------------------------------------------------------------
2491
+ ------------------------------------------------------------------------
2492
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
2493
+ ------------------------------------------------------------------------
2494
+ --------------------------------------------------------------
2495
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
2496
+ --------------------------------------------------------------
2497
+ -----------------------------------------------------------------------------------------
2498
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
2499
+ -----------------------------------------------------------------------------------------
2500
+ ---------------------------------------------------
2501
+ SelectTest: test_select_requires_a_parent_component
2502
+ ---------------------------------------------------
2503
+ ---------------------------------------------------------------------------
2504
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
2505
+ ---------------------------------------------------------------------------
2506
+ -------------------------------------------------------------------------
2507
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
2508
+ -------------------------------------------------------------------------
2509
+ -----------------------------------------------------------------------------
2510
+ ConfigurableTest: test_.has_argument_adds_a_positional_configuration_argument
2511
+ -----------------------------------------------------------------------------
2512
+ ----------------------------------------------------------------------------------------
2513
+ ConfigurableTest: test_.has_argument_appends_supported_arguments_in_order_of_inheritence
2514
+ ----------------------------------------------------------------------------------------
2515
+ -------------------------------------------------------------------------------
2516
+ ConfigurableTest: test_.has_argument_as:_allows_overwrite_of_inherited_argument
2517
+ -------------------------------------------------------------------------------
2518
+ -----------------------------------------------------------------------------------------------------
2519
+ ConfigurableTest: test_.has_argument_makes_builder_arguments_accessible_by_name_according_to_position
2520
+ -----------------------------------------------------------------------------------------------------
2521
+ ---------------------------------------------------
2522
+ ConfigurableTest: test_default_values_are_supported
2523
+ ---------------------------------------------------
2524
+ ----------------------------------------------------------------------
2525
+ ConfigurableTest: test_default_values_for_attributes_can_be_overridden
2526
+ ----------------------------------------------------------------------
2527
+ ------------------------------------------------------------------------
2528
+ ConfigurableTest: test_does_not_pass_declared_options_as_html_attributes
2529
+ ------------------------------------------------------------------------
2530
+ -----------------------------------------------------------
2531
+ ConfigurableTest: test_has_no_id_attribute_if_not_specified
2532
+ -----------------------------------------------------------
2533
+ --------------------------------------------
2534
+ ConfigurableTest: test_options_are_inherited
2535
+ --------------------------------------------
2536
+ -------------------------------------------------------
2537
+ ConfigurableTest: test_renders_first_argument_as_dom_id
2538
+ -------------------------------------------------------
2539
+ ----------------------------------------------------
2540
+ ConfigurableTest: test_required_options_are_required
2541
+ ----------------------------------------------------
2542
+ --------------------------------------------------
2543
+ ConfigurableTest: test_supports_option_declaration
2544
+ --------------------------------------------------
2545
+ ---------------------------------------------------------------
2546
+ ConfigurableTest: test_unrecognized_options_raises_an_exception
2547
+ ---------------------------------------------------------------
2548
+ -------------------------------------
2549
+ BasicFieldsTest: test_all_fields_work
2550
+ -------------------------------------
2551
+ ---------------------------------------------------------------------------------
2552
+ BasicFieldsTest: test_hidden_field_passes_additional_html_options_to_rails_helper
2553
+ ---------------------------------------------------------------------------------
2554
+ ---------------------------------------------------------
2555
+ BasicFieldsTest: test_hidden_uses_rails_hidden_tag_helper
2556
+ ---------------------------------------------------------
2557
+ ---------------------------------------------------------
2558
+ BasicFieldsTest: test_passing_html_options_to_fields_work
2559
+ ---------------------------------------------------------
2560
+ -----------------------------------------------------------------------------
2561
+ BasicFieldsTest: test_textarea_passes_additional_html_options_to_rails_helper
2562
+ -----------------------------------------------------------------------------
2563
+ ----------------------------------------------------------
2564
+ BasicFieldsTest: test_textarea_uses_rails_text_area_helper
2565
+ ----------------------------------------------------------
2566
+ ------------------------------------------------------------
2567
+ TreeForTest: test_tree_for_accepts_block_with_custom_content
2568
+ ------------------------------------------------------------
2569
+ ---------------------------------------------------------------------------
2570
+ TreeForTest: test_tree_for_renders_correct_markup_with_node.name_as_default
2571
+ ---------------------------------------------------------------------------
2572
+ -----------------------------------------------------------------
2573
+ BaseTest: test_.contains_places_fragment_inside_the_enclosing_tag
2574
+ -----------------------------------------------------------------
2575
+ ---------------------------------------------------------
2576
+ BaseTest: test_.has_attributes_creates_default_attributes
2577
+ ---------------------------------------------------------
2578
+ -----------------------------------------------------
2579
+ BaseTest: test_.tag_name_determines_the_enclosing_tag
2580
+ -----------------------------------------------------
2581
+ --------------------------------------------------
2582
+ BaseTest: test_before_build_hook_runs_before_build
2583
+ --------------------------------------------------
2584
+ --------------------------------------------------------------
2585
+ BaseTest: test_class_name_is_dasherized_instead_of_underscored
2586
+ --------------------------------------------------------------
2587
+ -----------------------------------------------------------
2588
+ BaseTest: test_class_option_adds_a_class,_does_not_override
2589
+ -----------------------------------------------------------
2590
+ ----------------------------------------------------
2591
+ BaseTest: test_options_are_passed_to_html_attributes
2592
+ ----------------------------------------------------
2593
+ ---------------------------------------------------------------
2594
+ ExpressFormTest: test_express_form_contents_are_inside_the_form
2595
+ ---------------------------------------------------------------
2596
+ ---------------------------------------------------------
2597
+ ExpressFormTest: test_express_form_default_method_is_POST
2598
+ ---------------------------------------------------------
2599
+ -----------------------------------------------------
2600
+ ExpressFormTest: test_simplest_form_contains_form_tag
2601
+ -----------------------------------------------------
2602
+ ---------------------------------------------------------------
2603
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
2604
+ ---------------------------------------------------------------
2605
+ ---------------------------------------------------
2606
+ ExpressFormTest: test_simplest_form_contains_submit
2607
+ ---------------------------------------------------
2608
+ -------------------------------------------
2609
+ ExpressFormTest: test_simplest_form_renders
2610
+ -------------------------------------------
2611
+ -------------------------------------------------------------------
2612
+ ExpressFormTest: test_simplest_form_uses_form_action_for_the_action
2613
+ -------------------------------------------------------------------
2614
+ -----------------------------------------------------------
2615
+ ExpressFormTest: test_simplest_form_will_have_the_proper_id
2616
+ -----------------------------------------------------------
2617
+ -----------------------------------------------------------
2618
+ RadioTest: test_radio_has_correct_label_field_name_and_text
2619
+ -----------------------------------------------------------
2620
+ ------------------------------------------------------------------
2621
+ RadioTest: test_radio_options_from_collection_when_options_omitted
2622
+ ------------------------------------------------------------------
2623
+ ----------------------------------------------------------
2624
+ RadioTest: test_radio_options_may_be_specified_with_a_hash
2625
+ ----------------------------------------------------------
2626
+ --------------------------------------------------------
2627
+ RadioTest: test_radio_options_present_with_class_'radio'
2628
+ --------------------------------------------------------
2629
+ -------------------------------------------------
2630
+ RadioTest: test_radio_requires_a_parent_component
2631
+ -------------------------------------------------
2632
+ ------------------------------------------------------------
2633
+ RadioTest: test_radio_throws_error_if_given_improper_options
2634
+ ------------------------------------------------------------
2635
+ -----------------------------------------
2636
+ HelloControllerTest: test_should_get_show
2637
+ -----------------------------------------
2638
+ Processing by HelloController#show as HTML
2639
+ Rendered hello/show.html.et within layouts/application (0.7ms)
2640
+ Completed 200 OK in 127ms (Views: 127.1ms)
2641
+ -------------------------------------------------------------
2642
+ CheckboxTest: test_checkbox_places_the_label_before_the_input
2643
+ -------------------------------------------------------------
2644
+ -------------------------------------------------------
2645
+ CheckboxTest: test_checkbox_respects_label_after:_true_
2646
+ -------------------------------------------------------
2647
+ ---------------------------------------------------------------------
2648
+ ExpressTemplatesTest: test_ExpressTemplates.render_renders_a_template
2649
+ ---------------------------------------------------------------------
2650
+ -------------------------------------------
2651
+ ExpressTemplatesTest: test_we_have_a_module
2652
+ -------------------------------------------
2653
+ --------------------------------------------------------------------------------------------------
2654
+ ExpressTemplates::ResourcefulTest: test_#resource_class_returns_resource_class_option_if_specified
2655
+ --------------------------------------------------------------------------------------------------
2656
+ -----------------------------------------------------------------------------------------
2657
+ ExpressTemplates::ResourcefulTest: test_infers_a_namespace_and_no_prefix_within_an_engine
2658
+ -----------------------------------------------------------------------------------------
2659
+ ---------------------------------------------------------------------------------------------------
2660
+ ExpressTemplates::ResourcefulTest: test_infers_namespace_and_path_prefix_within_an_engine_and_scope
2661
+ ---------------------------------------------------------------------------------------------------
2662
+ ------------------------------------------------------------------------------------------------
2663
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_infers_prefix_within_a_scope_within_an_app
2664
+ ------------------------------------------------------------------------------------------------
2665
+ -----------------------------------------------------------------------------
2666
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_no_prefix_within_an_app
2667
+ -----------------------------------------------------------------------------
2668
+ ----------------------------------------------
2669
+ SubmitTest: test_submit_accepts_a_class_option
2670
+ ----------------------------------------------
2671
+ --------------------------------------------------------
2672
+ SubmitTest: test_submit_accepts_a_value_and_class_option
2673
+ --------------------------------------------------------
2674
+ ----------------------------------------------------
2675
+ SubmitTest: test_submit_takes_string_param_for_value
2676
+ ----------------------------------------------------
2677
+ ------------------------------------------------
2678
+ ProcTest: test_#source_body_handles_funky_bodies
2679
+ ------------------------------------------------
2680
+ ----------------------------------------------------------
2681
+ ProcTest: test_#source_body_raises_exception_for_arity_>_0
2682
+ ----------------------------------------------------------
2683
+ ------------------------------------------------------
2684
+ ProcTest: test_#source_body_returns_the_body_of_a_proc
2685
+ ------------------------------------------------------
2686
+ ----------------------------------------------
2687
+ ProcTest: test_#source_returns_a_proc's_source
2688
+ ----------------------------------------------
2689
+ ---------------------------------------------------------------
2690
+ ProcTest: test_#source_work_with_a_stabby_lambda_spanning_lines
2691
+ ---------------------------------------------------------------
2692
+ ------------------------------------------------------------
2693
+ ProcTest: test_#source_works_with_a_block_containing_a_block
2694
+ ------------------------------------------------------------
2695
+ --------------------------------------------
2696
+ ProcTest: test_#source_works_with_a_do_block
2697
+ --------------------------------------------
2698
+ -----------------------------------------------------
2699
+ ProcTest: test_#source_works_with_a_single_line_block
2700
+ -----------------------------------------------------
2701
+ -------------------------------------------------
2702
+ ProcTest: test_#source_works_with_a_stabby_lambda
2703
+ -------------------------------------------------
2704
+ ----------------------------------------------------------------------------------------
2705
+ ProcTest: test_.from_source_stores_source_of_a_dynamicly_built_proc_for_later_inspection
2706
+ ----------------------------------------------------------------------------------------
2707
+ -----------------------------------------------------------------------------------------
2708
+ ProcTest: test_.source_body_captures_full_body_when_parens_around_parameters_not_provided
2709
+ -----------------------------------------------------------------------------------------
2710
+ --------------------------------------------
2711
+ CompilerTest: test_.compile_returns_a_string
2712
+ --------------------------------------------
2713
+ --------------------------------------------------------------
2714
+ HandlerTest: test_helpers_returning_html_when_alone_in_a_block
2715
+ --------------------------------------------------------------
2716
+ ------------------------------------------------------------------------
2717
+ HandlerTest: test_helpers_returning_html_work_in_sequence_within_a_block
2718
+ ------------------------------------------------------------------------
2719
+ ----------------------------------------------------------
2720
+ HandlerTest: test_html_generates_<h1>Hello</h1>_by_default
2721
+ ----------------------------------------------------------
2722
+ -----------------------------
2723
+ HandlerTest: test_locals_work
2724
+ -----------------------------
2725
+ ------------------------------------------------------------
2726
+ HandlerTest: test_nesting_elements_with_ruby_block_structure
2727
+ ------------------------------------------------------------
2728
+ ----------------------------------
2729
+ HandlerTest: test_other_attributes
2730
+ ----------------------------------
2731
+ -------------------------------------------
2732
+ HandlerTest: test_our_handler_is_registered
2733
+ -------------------------------------------
2734
+ ---------------------------------------
2735
+ HandlerTest: test_string_in_block_works
2736
+ ---------------------------------------
2737
+ ------------------------------------------------------------------------------------
2738
+ StringTest: test_String#inspect_works_normally_when_#to_view_code_hasn't_been_called
2739
+ ------------------------------------------------------------------------------------
2740
+ --------------------------------------------------------------------------------
2741
+ StringTest: test_String#to_view_code_causes_subsequent_#inspect_to_remove_quotes
2742
+ --------------------------------------------------------------------------------
2743
+ -------------------------------------------------------
2744
+ StringTest: test_String#to_view_code_returns_the_string
2745
+ -------------------------------------------------------
2746
+ ---------------------------------------------------------------------
2747
+ ExpressTemplatesTest: test_ExpressTemplates.render_renders_a_template
2748
+ ---------------------------------------------------------------------
2749
+ -------------------------------------------
2750
+ ExpressTemplatesTest: test_we_have_a_module
2751
+ -------------------------------------------
2752
+ ------------------------------------------------------------------------------------
2753
+ InterpolatorTest: test_"{{some_{{thing}}_foo}}"_transforms_to_"#{some_#{thing}_foo}"
2754
+ ------------------------------------------------------------------------------------
2755
+ -------------------------------------------------------------------
2756
+ InterpolatorTest: test_"{{something}}"_transforms_to_"#{something}"
2757
+ -------------------------------------------------------------------
2758
+ ---------------------------------------------------------------------
2759
+ InterpolatorTest: test_'a_lot_of_{{something_"{{good}}"}}'_transforms
2760
+ ---------------------------------------------------------------------
2761
+ ---------------------------------------------------------------------
2762
+ InterpolatorTest: test_nested_with_multiple_nested_expressions_parses
2763
+ ---------------------------------------------------------------------
2764
+ ----------------------------------------------------
2765
+ InterpolatorTest: test_nested_with_outer_text_parses
2766
+ ----------------------------------------------------
2767
+ -------------------------------------------------------
2768
+ InterpolatorTest: test_nested_without_outer_text_parses
2769
+ -------------------------------------------------------
2770
+ ---------------------------------------------------------------------
2771
+ InterpolatorTest: test_simple_expression_with_surrounding_text_parses
2772
+ ---------------------------------------------------------------------
2773
+ -------------------------------------------------
2774
+ InterpolatorTest: test_simplest_expression_parses
2775
+ -------------------------------------------------
2776
+ ------------------------------------------------
2777
+ ProcTest: test_#source_body_handles_funky_bodies
2778
+ ------------------------------------------------
2779
+ ----------------------------------------------------------
2780
+ ProcTest: test_#source_body_raises_exception_for_arity_>_0
2781
+ ----------------------------------------------------------
2782
+ ------------------------------------------------------
2783
+ ProcTest: test_#source_body_returns_the_body_of_a_proc
2784
+ ------------------------------------------------------
2785
+ ----------------------------------------------
2786
+ ProcTest: test_#source_returns_a_proc's_source
2787
+ ----------------------------------------------
2788
+ ---------------------------------------------------------------
2789
+ ProcTest: test_#source_work_with_a_stabby_lambda_spanning_lines
2790
+ ---------------------------------------------------------------
2791
+ ------------------------------------------------------------
2792
+ ProcTest: test_#source_works_with_a_block_containing_a_block
2793
+ ------------------------------------------------------------
2794
+ --------------------------------------------
2795
+ ProcTest: test_#source_works_with_a_do_block
2796
+ --------------------------------------------
2797
+ -----------------------------------------------------
2798
+ ProcTest: test_#source_works_with_a_single_line_block
2799
+ -----------------------------------------------------
2800
+ -------------------------------------------------
2801
+ ProcTest: test_#source_works_with_a_stabby_lambda
2802
+ -------------------------------------------------
2803
+ ----------------------------------------------------------------------------------------
2804
+ ProcTest: test_.from_source_stores_source_of_a_dynamicly_built_proc_for_later_inspection
2805
+ ----------------------------------------------------------------------------------------
2806
+ -----------------------------------------------------------------------------------------
2807
+ ProcTest: test_.source_body_captures_full_body_when_parens_around_parameters_not_provided
2808
+ -----------------------------------------------------------------------------------------
2809
+ ----------------------------------------------
2810
+ SubmitTest: test_submit_accepts_a_class_option
2811
+ ----------------------------------------------
2812
+ --------------------------------------------------------
2813
+ SubmitTest: test_submit_accepts_a_value_and_class_option
2814
+ --------------------------------------------------------
2815
+ ----------------------------------------------------
2816
+ SubmitTest: test_submit_takes_string_param_for_value
2817
+ ----------------------------------------------------
2818
+ ---------------------------------------------------------------
2819
+ ExpressFormTest: test_express_form_contents_are_inside_the_form
2820
+ ---------------------------------------------------------------
2821
+ ---------------------------------------------------------
2822
+ ExpressFormTest: test_express_form_default_method_is_POST
2823
+ ---------------------------------------------------------
2824
+ -----------------------------------------------------
2825
+ ExpressFormTest: test_simplest_form_contains_form_tag
2826
+ -----------------------------------------------------
2827
+ ---------------------------------------------------------------
2828
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
2829
+ ---------------------------------------------------------------
2830
+ ---------------------------------------------------
2831
+ ExpressFormTest: test_simplest_form_contains_submit
2832
+ ---------------------------------------------------
2833
+ -------------------------------------------
2834
+ ExpressFormTest: test_simplest_form_renders
2835
+ -------------------------------------------
2836
+ -------------------------------------------------------------------
2837
+ ExpressFormTest: test_simplest_form_uses_form_action_for_the_action
2838
+ -------------------------------------------------------------------
2839
+ -----------------------------------------------------------
2840
+ ExpressFormTest: test_simplest_form_will_have_the_proper_id
2841
+ -----------------------------------------------------------
2842
+ -----------------------------------------------------------
2843
+ RadioTest: test_radio_has_correct_label_field_name_and_text
2844
+ -----------------------------------------------------------
2845
+ ------------------------------------------------------------------
2846
+ RadioTest: test_radio_options_from_collection_when_options_omitted
2847
+ ------------------------------------------------------------------
2848
+ ----------------------------------------------------------
2849
+ RadioTest: test_radio_options_may_be_specified_with_a_hash
2850
+ ----------------------------------------------------------
2851
+ --------------------------------------------------------
2852
+ RadioTest: test_radio_options_present_with_class_'radio'
2853
+ --------------------------------------------------------
2854
+ -------------------------------------------------
2855
+ RadioTest: test_radio_requires_a_parent_component
2856
+ -------------------------------------------------
2857
+ ------------------------------------------------------------
2858
+ RadioTest: test_radio_throws_error_if_given_improper_options
2859
+ ------------------------------------------------------------
2860
+ -----------------------------------------------------------------
2861
+ BaseTest: test_.contains_places_fragment_inside_the_enclosing_tag
2862
+ -----------------------------------------------------------------
2863
+ ---------------------------------------------------------
2864
+ BaseTest: test_.has_attributes_creates_default_attributes
2865
+ ---------------------------------------------------------
2866
+ -----------------------------------------------------
2867
+ BaseTest: test_.tag_name_determines_the_enclosing_tag
2868
+ -----------------------------------------------------
2869
+ --------------------------------------------------
2870
+ BaseTest: test_before_build_hook_runs_before_build
2871
+ --------------------------------------------------
2872
+ --------------------------------------------------------------
2873
+ BaseTest: test_class_name_is_dasherized_instead_of_underscored
2874
+ --------------------------------------------------------------
2875
+ -----------------------------------------------------------
2876
+ BaseTest: test_class_option_adds_a_class,_does_not_override
2877
+ -----------------------------------------------------------
2878
+ ----------------------------------------------------
2879
+ BaseTest: test_options_are_passed_to_html_attributes
2880
+ ----------------------------------------------------
2881
+ -------------------------------------
2882
+ BasicFieldsTest: test_all_fields_work
2883
+ -------------------------------------
2884
+ ---------------------------------------------------------------------------------
2885
+ BasicFieldsTest: test_hidden_field_passes_additional_html_options_to_rails_helper
2886
+ ---------------------------------------------------------------------------------
2887
+ ---------------------------------------------------------
2888
+ BasicFieldsTest: test_hidden_uses_rails_hidden_tag_helper
2889
+ ---------------------------------------------------------
2890
+ ---------------------------------------------------------
2891
+ BasicFieldsTest: test_passing_html_options_to_fields_work
2892
+ ---------------------------------------------------------
2893
+ -----------------------------------------------------------------------------
2894
+ BasicFieldsTest: test_textarea_passes_additional_html_options_to_rails_helper
2895
+ -----------------------------------------------------------------------------
2896
+ ----------------------------------------------------------
2897
+ BasicFieldsTest: test_textarea_uses_rails_text_area_helper
2898
+ ----------------------------------------------------------
2899
+ -------------------------------------------------------------
2900
+ CheckboxTest: test_checkbox_places_the_label_before_the_input
2901
+ -------------------------------------------------------------
2902
+ -------------------------------------------------------
2903
+ CheckboxTest: test_checkbox_respects_label_after:_true_
2904
+ -------------------------------------------------------
2905
+ ------------------------------------------------------------
2906
+ TreeForTest: test_tree_for_accepts_block_with_custom_content
2907
+ ------------------------------------------------------------
2908
+ ---------------------------------------------------------------------------
2909
+ TreeForTest: test_tree_for_renders_correct_markup_with_node.name_as_default
2910
+ ---------------------------------------------------------------------------
2911
+ --------------------------------------------------------------
2912
+ HandlerTest: test_helpers_returning_html_when_alone_in_a_block
2913
+ --------------------------------------------------------------
2914
+ ------------------------------------------------------------------------
2915
+ HandlerTest: test_helpers_returning_html_work_in_sequence_within_a_block
2916
+ ------------------------------------------------------------------------
2917
+ ----------------------------------------------------------
2918
+ HandlerTest: test_html_generates_<h1>Hello</h1>_by_default
2919
+ ----------------------------------------------------------
2920
+ -----------------------------
2921
+ HandlerTest: test_locals_work
2922
+ -----------------------------
2923
+ ------------------------------------------------------------
2924
+ HandlerTest: test_nesting_elements_with_ruby_block_structure
2925
+ ------------------------------------------------------------
2926
+ ----------------------------------
2927
+ HandlerTest: test_other_attributes
2928
+ ----------------------------------
2929
+ -------------------------------------------
2930
+ HandlerTest: test_our_handler_is_registered
2931
+ -------------------------------------------
2932
+ ---------------------------------------
2933
+ HandlerTest: test_string_in_block_works
2934
+ ---------------------------------------
2935
+ ------------------------------------------------------------------------------------
2936
+ StringTest: test_String#inspect_works_normally_when_#to_view_code_hasn't_been_called
2937
+ ------------------------------------------------------------------------------------
2938
+ --------------------------------------------------------------------------------
2939
+ StringTest: test_String#to_view_code_causes_subsequent_#inspect_to_remove_quotes
2940
+ --------------------------------------------------------------------------------
2941
+ -------------------------------------------------------
2942
+ StringTest: test_String#to_view_code_returns_the_string
2943
+ -------------------------------------------------------
2944
+ --------------------------------------------
2945
+ CompilerTest: test_.compile_returns_a_string
2946
+ --------------------------------------------
2947
+ -----------------------------------------------------------------------------
2948
+ ConfigurableTest: test_.has_argument_adds_a_positional_configuration_argument
2949
+ -----------------------------------------------------------------------------
2950
+ ----------------------------------------------------------------------------------------
2951
+ ConfigurableTest: test_.has_argument_appends_supported_arguments_in_order_of_inheritence
2952
+ ----------------------------------------------------------------------------------------
2953
+ -------------------------------------------------------------------------------
2954
+ ConfigurableTest: test_.has_argument_as:_allows_overwrite_of_inherited_argument
2955
+ -------------------------------------------------------------------------------
2956
+ -----------------------------------------------------------------------------------------------------
2957
+ ConfigurableTest: test_.has_argument_makes_builder_arguments_accessible_by_name_according_to_position
2958
+ -----------------------------------------------------------------------------------------------------
2959
+ ---------------------------------------------------
2960
+ ConfigurableTest: test_default_values_are_supported
2961
+ ---------------------------------------------------
2962
+ ----------------------------------------------------------------------
2963
+ ConfigurableTest: test_default_values_for_attributes_can_be_overridden
2964
+ ----------------------------------------------------------------------
2965
+ ------------------------------------------------------------------------
2966
+ ConfigurableTest: test_does_not_pass_declared_options_as_html_attributes
2967
+ ------------------------------------------------------------------------
2968
+ -----------------------------------------------------------
2969
+ ConfigurableTest: test_has_no_id_attribute_if_not_specified
2970
+ -----------------------------------------------------------
2971
+ --------------------------------------------
2972
+ ConfigurableTest: test_options_are_inherited
2973
+ --------------------------------------------
2974
+ -------------------------------------------------------
2975
+ ConfigurableTest: test_renders_first_argument_as_dom_id
2976
+ -------------------------------------------------------
2977
+ ----------------------------------------------------
2978
+ ConfigurableTest: test_required_options_are_required
2979
+ ----------------------------------------------------
2980
+ --------------------------------------------------
2981
+ ConfigurableTest: test_supports_option_declaration
2982
+ --------------------------------------------------
2983
+ ---------------------------------------------------------------
2984
+ ConfigurableTest: test_unrecognized_options_raises_an_exception
2985
+ ---------------------------------------------------------------
2986
+ ---------------------------------------------------------------------------------------------
2987
+ IndenterTest: test_.for(:name)_returns_current_indent_without_newline_when_block_is_not_given
2988
+ ---------------------------------------------------------------------------------------------
2989
+ -----------------------------------------------------------------
2990
+ IndenterTest: test_.for(:name)_takes_a_block_receiving_whitespace
2991
+ -----------------------------------------------------------------
2992
+ ------------------------------------------------------------------
2993
+ IndenterTest: test_nesting_blocks_increases_whitespace_accordingly
2994
+ ------------------------------------------------------------------
2995
+ -----------------------------------------
2996
+ HelloControllerTest: test_should_get_show
2997
+ -----------------------------------------
2998
+ Processing by HelloController#show as HTML
2999
+ Rendered hello/show.html.et within layouts/application (0.8ms)
3000
+ Completed 200 OK in 115ms (Views: 114.6ms)
3001
+ ----------------------------------------------------------------
3002
+ SelectTest: test_select_collection_works_using_collection_select
3003
+ ----------------------------------------------------------------
3004
+ ------------------------------------------
3005
+ SelectTest: test_select_comes_with_a_label
3006
+ ------------------------------------------
3007
+ --------------------------------------------------
3008
+ SelectTest: test_select_defaults_can_be_overridden
3009
+ --------------------------------------------------
3010
+ -------------------------------------------------------
3011
+ SelectTest: test_select_defaults_to_include_blank:_true
3012
+ -------------------------------------------------------
3013
+ ------------------------------------------------------------------------------------
3014
+ SelectTest: test_select_generates_correct_options_when_values_are_specified_as_array
3015
+ ------------------------------------------------------------------------------------
3016
+ ------------------------------------------------------------------------
3017
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
3018
+ ------------------------------------------------------------------------
3019
+ --------------------------------------------------------------
3020
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
3021
+ --------------------------------------------------------------
3022
+ -----------------------------------------------------------------------------------------
3023
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
3024
+ -----------------------------------------------------------------------------------------
3025
+ ---------------------------------------------------
3026
+ SelectTest: test_select_requires_a_parent_component
3027
+ ---------------------------------------------------
3028
+ ---------------------------------------------------------------------------
3029
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
3030
+ ---------------------------------------------------------------------------
3031
+ -------------------------------------------------------------------------
3032
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
3033
+ -------------------------------------------------------------------------
3034
+ --------------------------------------------------------------------------------------------------
3035
+ ExpressTemplates::ResourcefulTest: test_#resource_class_returns_resource_class_option_if_specified
3036
+ --------------------------------------------------------------------------------------------------
3037
+ -----------------------------------------------------------------------------------------
3038
+ ExpressTemplates::ResourcefulTest: test_infers_a_namespace_and_no_prefix_within_an_engine
3039
+ -----------------------------------------------------------------------------------------
3040
+ ---------------------------------------------------------------------------------------------------
3041
+ ExpressTemplates::ResourcefulTest: test_infers_namespace_and_path_prefix_within_an_engine_and_scope
3042
+ ---------------------------------------------------------------------------------------------------
3043
+ ------------------------------------------------------------------------------------------------
3044
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_infers_prefix_within_a_scope_within_an_app
3045
+ ------------------------------------------------------------------------------------------------
3046
+ -----------------------------------------------------------------------------
3047
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_no_prefix_within_an_app
3048
+ -----------------------------------------------------------------------------
3049
+ --------------------------------------------------------------------------------------------------
3050
+ ExpressTemplates::ResourcefulTest: test_#resource_class_returns_resource_class_option_if_specified
3051
+ --------------------------------------------------------------------------------------------------
3052
+ -----------------------------------------------------------------------------------------
3053
+ ExpressTemplates::ResourcefulTest: test_infers_a_namespace_and_no_prefix_within_an_engine
3054
+ -----------------------------------------------------------------------------------------
3055
+ ---------------------------------------------------------------------------------------------------
3056
+ ExpressTemplates::ResourcefulTest: test_infers_namespace_and_path_prefix_within_an_engine_and_scope
3057
+ ---------------------------------------------------------------------------------------------------
3058
+ ------------------------------------------------------------------------------------------------
3059
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_infers_prefix_within_a_scope_within_an_app
3060
+ ------------------------------------------------------------------------------------------------
3061
+ -----------------------------------------------------------------------------
3062
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_no_prefix_within_an_app
3063
+ -----------------------------------------------------------------------------
3064
+ ------------------------------------------------
3065
+ ProcTest: test_#source_body_handles_funky_bodies
3066
+ ------------------------------------------------
3067
+ ----------------------------------------------------------
3068
+ ProcTest: test_#source_body_raises_exception_for_arity_>_0
3069
+ ----------------------------------------------------------
3070
+ ------------------------------------------------------
3071
+ ProcTest: test_#source_body_returns_the_body_of_a_proc
3072
+ ------------------------------------------------------
3073
+ ----------------------------------------------
3074
+ ProcTest: test_#source_returns_a_proc's_source
3075
+ ----------------------------------------------
3076
+ ---------------------------------------------------------------
3077
+ ProcTest: test_#source_work_with_a_stabby_lambda_spanning_lines
3078
+ ---------------------------------------------------------------
3079
+ ------------------------------------------------------------
3080
+ ProcTest: test_#source_works_with_a_block_containing_a_block
3081
+ ------------------------------------------------------------
3082
+ --------------------------------------------
3083
+ ProcTest: test_#source_works_with_a_do_block
3084
+ --------------------------------------------
3085
+ -----------------------------------------------------
3086
+ ProcTest: test_#source_works_with_a_single_line_block
3087
+ -----------------------------------------------------
3088
+ -------------------------------------------------
3089
+ ProcTest: test_#source_works_with_a_stabby_lambda
3090
+ -------------------------------------------------
3091
+ ----------------------------------------------------------------------------------------
3092
+ ProcTest: test_.from_source_stores_source_of_a_dynamicly_built_proc_for_later_inspection
3093
+ ----------------------------------------------------------------------------------------
3094
+ -----------------------------------------------------------------------------------------
3095
+ ProcTest: test_.source_body_captures_full_body_when_parens_around_parameters_not_provided
3096
+ -----------------------------------------------------------------------------------------
3097
+ ---------------------------------------------------------------------
3098
+ ExpressTemplatesTest: test_ExpressTemplates.render_renders_a_template
3099
+ ---------------------------------------------------------------------
3100
+ -------------------------------------------
3101
+ ExpressTemplatesTest: test_we_have_a_module
3102
+ -------------------------------------------
3103
+ --------------------------------------------
3104
+ CompilerTest: test_.compile_returns_a_string
3105
+ --------------------------------------------
3106
+ ----------------------------------------------
3107
+ SubmitTest: test_submit_accepts_a_class_option
3108
+ ----------------------------------------------
3109
+ --------------------------------------------------------
3110
+ SubmitTest: test_submit_accepts_a_value_and_class_option
3111
+ --------------------------------------------------------
3112
+ ----------------------------------------------------
3113
+ SubmitTest: test_submit_takes_string_param_for_value
3114
+ ----------------------------------------------------
3115
+ -----------------------------------------------------------------------------
3116
+ ConfigurableTest: test_.has_argument_adds_a_positional_configuration_argument
3117
+ -----------------------------------------------------------------------------
3118
+ ----------------------------------------------------------------------------------------
3119
+ ConfigurableTest: test_.has_argument_appends_supported_arguments_in_order_of_inheritence
3120
+ ----------------------------------------------------------------------------------------
3121
+ -------------------------------------------------------------------------------
3122
+ ConfigurableTest: test_.has_argument_as:_allows_overwrite_of_inherited_argument
3123
+ -------------------------------------------------------------------------------
3124
+ -----------------------------------------------------------------------------------------------------
3125
+ ConfigurableTest: test_.has_argument_makes_builder_arguments_accessible_by_name_according_to_position
3126
+ -----------------------------------------------------------------------------------------------------
3127
+ ---------------------------------------------------
3128
+ ConfigurableTest: test_default_values_are_supported
3129
+ ---------------------------------------------------
3130
+ ----------------------------------------------------------------------
3131
+ ConfigurableTest: test_default_values_for_attributes_can_be_overridden
3132
+ ----------------------------------------------------------------------
3133
+ ------------------------------------------------------------------------
3134
+ ConfigurableTest: test_does_not_pass_declared_options_as_html_attributes
3135
+ ------------------------------------------------------------------------
3136
+ -----------------------------------------------------------
3137
+ ConfigurableTest: test_has_no_id_attribute_if_not_specified
3138
+ -----------------------------------------------------------
3139
+ --------------------------------------------
3140
+ ConfigurableTest: test_options_are_inherited
3141
+ --------------------------------------------
3142
+ -------------------------------------------------------
3143
+ ConfigurableTest: test_renders_first_argument_as_dom_id
3144
+ -------------------------------------------------------
3145
+ ----------------------------------------------------
3146
+ ConfigurableTest: test_required_options_are_required
3147
+ ----------------------------------------------------
3148
+ --------------------------------------------------
3149
+ ConfigurableTest: test_supports_option_declaration
3150
+ --------------------------------------------------
3151
+ ---------------------------------------------------------------
3152
+ ConfigurableTest: test_unrecognized_options_raises_an_exception
3153
+ ---------------------------------------------------------------
3154
+ ------------------------------------------------------------------------------------
3155
+ InterpolatorTest: test_"{{some_{{thing}}_foo}}"_transforms_to_"#{some_#{thing}_foo}"
3156
+ ------------------------------------------------------------------------------------
3157
+ -------------------------------------------------------------------
3158
+ InterpolatorTest: test_"{{something}}"_transforms_to_"#{something}"
3159
+ -------------------------------------------------------------------
3160
+ ---------------------------------------------------------------------
3161
+ InterpolatorTest: test_'a_lot_of_{{something_"{{good}}"}}'_transforms
3162
+ ---------------------------------------------------------------------
3163
+ ---------------------------------------------------------------------
3164
+ InterpolatorTest: test_nested_with_multiple_nested_expressions_parses
3165
+ ---------------------------------------------------------------------
3166
+ ----------------------------------------------------
3167
+ InterpolatorTest: test_nested_with_outer_text_parses
3168
+ ----------------------------------------------------
3169
+ -------------------------------------------------------
3170
+ InterpolatorTest: test_nested_without_outer_text_parses
3171
+ -------------------------------------------------------
3172
+ ---------------------------------------------------------------------
3173
+ InterpolatorTest: test_simple_expression_with_surrounding_text_parses
3174
+ ---------------------------------------------------------------------
3175
+ -------------------------------------------------
3176
+ InterpolatorTest: test_simplest_expression_parses
3177
+ -------------------------------------------------
3178
+ -------------------------------------
3179
+ BasicFieldsTest: test_all_fields_work
3180
+ -------------------------------------
3181
+ ---------------------------------------------------------------------------------
3182
+ BasicFieldsTest: test_hidden_field_passes_additional_html_options_to_rails_helper
3183
+ ---------------------------------------------------------------------------------
3184
+ ---------------------------------------------------------
3185
+ BasicFieldsTest: test_hidden_uses_rails_hidden_tag_helper
3186
+ ---------------------------------------------------------
3187
+ ---------------------------------------------------------
3188
+ BasicFieldsTest: test_passing_html_options_to_fields_work
3189
+ ---------------------------------------------------------
3190
+ -----------------------------------------------------------------------------
3191
+ BasicFieldsTest: test_textarea_passes_additional_html_options_to_rails_helper
3192
+ -----------------------------------------------------------------------------
3193
+ ----------------------------------------------------------
3194
+ BasicFieldsTest: test_textarea_uses_rails_text_area_helper
3195
+ ----------------------------------------------------------
3196
+ ------------------------------------------------------------
3197
+ TreeForTest: test_tree_for_accepts_block_with_custom_content
3198
+ ------------------------------------------------------------
3199
+ ---------------------------------------------------------------------------
3200
+ TreeForTest: test_tree_for_renders_correct_markup_with_node.name_as_default
3201
+ ---------------------------------------------------------------------------
3202
+ -----------------------------------------------------------------
3203
+ BaseTest: test_.contains_places_fragment_inside_the_enclosing_tag
3204
+ -----------------------------------------------------------------
3205
+ ---------------------------------------------------------
3206
+ BaseTest: test_.has_attributes_creates_default_attributes
3207
+ ---------------------------------------------------------
3208
+ -----------------------------------------------------
3209
+ BaseTest: test_.tag_name_determines_the_enclosing_tag
3210
+ -----------------------------------------------------
3211
+ --------------------------------------------------
3212
+ BaseTest: test_before_build_hook_runs_before_build
3213
+ --------------------------------------------------
3214
+ --------------------------------------------------------------
3215
+ BaseTest: test_class_name_is_dasherized_instead_of_underscored
3216
+ --------------------------------------------------------------
3217
+ -----------------------------------------------------------
3218
+ BaseTest: test_class_option_adds_a_class,_does_not_override
3219
+ -----------------------------------------------------------
3220
+ ----------------------------------------------------
3221
+ BaseTest: test_options_are_passed_to_html_attributes
3222
+ ----------------------------------------------------
3223
+ --------------------------------------------------------------
3224
+ HandlerTest: test_helpers_returning_html_when_alone_in_a_block
3225
+ --------------------------------------------------------------
3226
+ ------------------------------------------------------------------------
3227
+ HandlerTest: test_helpers_returning_html_work_in_sequence_within_a_block
3228
+ ------------------------------------------------------------------------
3229
+ ----------------------------------------------------------
3230
+ HandlerTest: test_html_generates_<h1>Hello</h1>_by_default
3231
+ ----------------------------------------------------------
3232
+ -----------------------------
3233
+ HandlerTest: test_locals_work
3234
+ -----------------------------
3235
+ ------------------------------------------------------------
3236
+ HandlerTest: test_nesting_elements_with_ruby_block_structure
3237
+ ------------------------------------------------------------
3238
+ ----------------------------------
3239
+ HandlerTest: test_other_attributes
3240
+ ----------------------------------
3241
+ -------------------------------------------
3242
+ HandlerTest: test_our_handler_is_registered
3243
+ -------------------------------------------
3244
+ ---------------------------------------
3245
+ HandlerTest: test_string_in_block_works
3246
+ ---------------------------------------
3247
+ ------------------------------------------------------------------------------------
3248
+ StringTest: test_String#inspect_works_normally_when_#to_view_code_hasn't_been_called
3249
+ ------------------------------------------------------------------------------------
3250
+ --------------------------------------------------------------------------------
3251
+ StringTest: test_String#to_view_code_causes_subsequent_#inspect_to_remove_quotes
3252
+ --------------------------------------------------------------------------------
3253
+ -------------------------------------------------------
3254
+ StringTest: test_String#to_view_code_returns_the_string
3255
+ -------------------------------------------------------
3256
+ ---------------------------------------------------------------------------------------------
3257
+ IndenterTest: test_.for(:name)_returns_current_indent_without_newline_when_block_is_not_given
3258
+ ---------------------------------------------------------------------------------------------
3259
+ -----------------------------------------------------------------
3260
+ IndenterTest: test_.for(:name)_takes_a_block_receiving_whitespace
3261
+ -----------------------------------------------------------------
3262
+ ------------------------------------------------------------------
3263
+ IndenterTest: test_nesting_blocks_increases_whitespace_accordingly
3264
+ ------------------------------------------------------------------
3265
+ -----------------------------------------------------------
3266
+ RadioTest: test_radio_has_correct_label_field_name_and_text
3267
+ -----------------------------------------------------------
3268
+ ------------------------------------------------------------------
3269
+ RadioTest: test_radio_options_from_collection_when_options_omitted
3270
+ ------------------------------------------------------------------
3271
+ ----------------------------------------------------------
3272
+ RadioTest: test_radio_options_may_be_specified_with_a_hash
3273
+ ----------------------------------------------------------
3274
+ --------------------------------------------------------
3275
+ RadioTest: test_radio_options_present_with_class_'radio'
3276
+ --------------------------------------------------------
3277
+ -------------------------------------------------
3278
+ RadioTest: test_radio_requires_a_parent_component
3279
+ -------------------------------------------------
3280
+ ------------------------------------------------------------
3281
+ RadioTest: test_radio_throws_error_if_given_improper_options
3282
+ ------------------------------------------------------------
3283
+ -------------------------------------------------------------
3284
+ CheckboxTest: test_checkbox_places_the_label_before_the_input
3285
+ -------------------------------------------------------------
3286
+ -------------------------------------------------------
3287
+ CheckboxTest: test_checkbox_respects_label_after:_true_
3288
+ -------------------------------------------------------
3289
+ ----------------------------------------------------------------
3290
+ SelectTest: test_select_collection_works_using_collection_select
3291
+ ----------------------------------------------------------------
3292
+ ------------------------------------------
3293
+ SelectTest: test_select_comes_with_a_label
3294
+ ------------------------------------------
3295
+ --------------------------------------------------
3296
+ SelectTest: test_select_defaults_can_be_overridden
3297
+ --------------------------------------------------
3298
+ -------------------------------------------------------
3299
+ SelectTest: test_select_defaults_to_include_blank:_true
3300
+ -------------------------------------------------------
3301
+ ------------------------------------------------------------------------------------
3302
+ SelectTest: test_select_generates_correct_options_when_values_are_specified_as_array
3303
+ ------------------------------------------------------------------------------------
3304
+ ------------------------------------------------------------------------
3305
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
3306
+ ------------------------------------------------------------------------
3307
+ --------------------------------------------------------------
3308
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
3309
+ --------------------------------------------------------------
3310
+ -----------------------------------------------------------------------------------------
3311
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
3312
+ -----------------------------------------------------------------------------------------
3313
+ ---------------------------------------------------
3314
+ SelectTest: test_select_requires_a_parent_component
3315
+ ---------------------------------------------------
3316
+ ---------------------------------------------------------------------------
3317
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
3318
+ ---------------------------------------------------------------------------
3319
+ -------------------------------------------------------------------------
3320
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
3321
+ -------------------------------------------------------------------------
3322
+ -----------------------------------------
3323
+ HelloControllerTest: test_should_get_show
3324
+ -----------------------------------------
3325
+ Processing by HelloController#show as HTML
3326
+ Rendered hello/show.html.et within layouts/application (0.9ms)
3327
+ Completed 200 OK in 114ms (Views: 114.2ms)
3328
+ ---------------------------------------------------------------
3329
+ ExpressFormTest: test_express_form_contents_are_inside_the_form
3330
+ ---------------------------------------------------------------
3331
+ ---------------------------------------------------------
3332
+ ExpressFormTest: test_express_form_default_method_is_POST
3333
+ ---------------------------------------------------------
3334
+ -----------------------------------------------------
3335
+ ExpressFormTest: test_simplest_form_contains_form_tag
3336
+ -----------------------------------------------------
3337
+ ---------------------------------------------------------------
3338
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
3339
+ ---------------------------------------------------------------
3340
+ ---------------------------------------------------
3341
+ ExpressFormTest: test_simplest_form_contains_submit
3342
+ ---------------------------------------------------
3343
+ -------------------------------------------
3344
+ ExpressFormTest: test_simplest_form_renders
3345
+ -------------------------------------------
3346
+ -------------------------------------------------------------------
3347
+ ExpressFormTest: test_simplest_form_uses_form_action_for_the_action
3348
+ -------------------------------------------------------------------
3349
+ -----------------------------------------------------------
3350
+ ExpressFormTest: test_simplest_form_will_have_the_proper_id
3351
+ -----------------------------------------------------------
3352
+ --------------------------------------------------------------
3353
+ HandlerTest: test_helpers_returning_html_when_alone_in_a_block
3354
+ --------------------------------------------------------------
3355
+ ------------------------------------------------------------------------
3356
+ HandlerTest: test_helpers_returning_html_work_in_sequence_within_a_block
3357
+ ------------------------------------------------------------------------
3358
+ ----------------------------------------------------------
3359
+ HandlerTest: test_html_generates_<h1>Hello</h1>_by_default
3360
+ ----------------------------------------------------------
3361
+ -----------------------------
3362
+ HandlerTest: test_locals_work
3363
+ -----------------------------
3364
+ ------------------------------------------------------------
3365
+ HandlerTest: test_nesting_elements_with_ruby_block_structure
3366
+ ------------------------------------------------------------
3367
+ ----------------------------------
3368
+ HandlerTest: test_other_attributes
3369
+ ----------------------------------
3370
+ -------------------------------------------
3371
+ HandlerTest: test_our_handler_is_registered
3372
+ -------------------------------------------
3373
+ ---------------------------------------
3374
+ HandlerTest: test_string_in_block_works
3375
+ ---------------------------------------
3376
+ ------------------------------------------------
3377
+ ProcTest: test_#source_body_handles_funky_bodies
3378
+ ------------------------------------------------
3379
+ ----------------------------------------------------------
3380
+ ProcTest: test_#source_body_raises_exception_for_arity_>_0
3381
+ ----------------------------------------------------------
3382
+ ------------------------------------------------------
3383
+ ProcTest: test_#source_body_returns_the_body_of_a_proc
3384
+ ------------------------------------------------------
3385
+ ----------------------------------------------
3386
+ ProcTest: test_#source_returns_a_proc's_source
3387
+ ----------------------------------------------
3388
+ ---------------------------------------------------------------
3389
+ ProcTest: test_#source_work_with_a_stabby_lambda_spanning_lines
3390
+ ---------------------------------------------------------------
3391
+ ------------------------------------------------------------
3392
+ ProcTest: test_#source_works_with_a_block_containing_a_block
3393
+ ------------------------------------------------------------
3394
+ --------------------------------------------
3395
+ ProcTest: test_#source_works_with_a_do_block
3396
+ --------------------------------------------
3397
+ -----------------------------------------------------
3398
+ ProcTest: test_#source_works_with_a_single_line_block
3399
+ -----------------------------------------------------
3400
+ -------------------------------------------------
3401
+ ProcTest: test_#source_works_with_a_stabby_lambda
3402
+ -------------------------------------------------
3403
+ ----------------------------------------------------------------------------------------
3404
+ ProcTest: test_.from_source_stores_source_of_a_dynamicly_built_proc_for_later_inspection
3405
+ ----------------------------------------------------------------------------------------
3406
+ -----------------------------------------------------------------------------------------
3407
+ ProcTest: test_.source_body_captures_full_body_when_parens_around_parameters_not_provided
3408
+ -----------------------------------------------------------------------------------------
3409
+ -----------------------------------------------------------------
3410
+ BaseTest: test_.contains_places_fragment_inside_the_enclosing_tag
3411
+ -----------------------------------------------------------------
3412
+ ---------------------------------------------------------
3413
+ BaseTest: test_.has_attributes_creates_default_attributes
3414
+ ---------------------------------------------------------
3415
+ -----------------------------------------------------
3416
+ BaseTest: test_.tag_name_determines_the_enclosing_tag
3417
+ -----------------------------------------------------
3418
+ --------------------------------------------------
3419
+ BaseTest: test_before_build_hook_runs_before_build
3420
+ --------------------------------------------------
3421
+ --------------------------------------------------------------
3422
+ BaseTest: test_class_name_is_dasherized_instead_of_underscored
3423
+ --------------------------------------------------------------
3424
+ -----------------------------------------------------------
3425
+ BaseTest: test_class_option_adds_a_class,_does_not_override
3426
+ -----------------------------------------------------------
3427
+ ----------------------------------------------------
3428
+ BaseTest: test_options_are_passed_to_html_attributes
3429
+ ----------------------------------------------------
3430
+ ----------------------------------------------------------------
3431
+ SelectTest: test_select_collection_works_using_collection_select
3432
+ ----------------------------------------------------------------
3433
+ ------------------------------------------
3434
+ SelectTest: test_select_comes_with_a_label
3435
+ ------------------------------------------
3436
+ --------------------------------------------------
3437
+ SelectTest: test_select_defaults_can_be_overridden
3438
+ --------------------------------------------------
3439
+ -------------------------------------------------------
3440
+ SelectTest: test_select_defaults_to_include_blank:_true
3441
+ -------------------------------------------------------
3442
+ ------------------------------------------------------------------------------------
3443
+ SelectTest: test_select_generates_correct_options_when_values_are_specified_as_array
3444
+ ------------------------------------------------------------------------------------
3445
+ ------------------------------------------------------------------------
3446
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
3447
+ ------------------------------------------------------------------------
3448
+ --------------------------------------------------------------
3449
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
3450
+ --------------------------------------------------------------
3451
+ -----------------------------------------------------------------------------------------
3452
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
3453
+ -----------------------------------------------------------------------------------------
3454
+ ---------------------------------------------------
3455
+ SelectTest: test_select_requires_a_parent_component
3456
+ ---------------------------------------------------
3457
+ ---------------------------------------------------------------------------
3458
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
3459
+ ---------------------------------------------------------------------------
3460
+ -------------------------------------------------------------------------
3461
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
3462
+ -------------------------------------------------------------------------
3463
+ --------------------------------------------------------------------------------------------------
3464
+ ExpressTemplates::ResourcefulTest: test_#resource_class_returns_resource_class_option_if_specified
3465
+ --------------------------------------------------------------------------------------------------
3466
+ -----------------------------------------------------------------------------------------
3467
+ ExpressTemplates::ResourcefulTest: test_infers_a_namespace_and_no_prefix_within_an_engine
3468
+ -----------------------------------------------------------------------------------------
3469
+ ---------------------------------------------------------------------------------------------------
3470
+ ExpressTemplates::ResourcefulTest: test_infers_namespace_and_path_prefix_within_an_engine_and_scope
3471
+ ---------------------------------------------------------------------------------------------------
3472
+ ------------------------------------------------------------------------------------------------
3473
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_infers_prefix_within_a_scope_within_an_app
3474
+ ------------------------------------------------------------------------------------------------
3475
+ -----------------------------------------------------------------------------
3476
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_no_prefix_within_an_app
3477
+ -----------------------------------------------------------------------------
3478
+ -------------------------------------
3479
+ BasicFieldsTest: test_all_fields_work
3480
+ -------------------------------------
3481
+ ---------------------------------------------------------------------------------
3482
+ BasicFieldsTest: test_hidden_field_passes_additional_html_options_to_rails_helper
3483
+ ---------------------------------------------------------------------------------
3484
+ ---------------------------------------------------------
3485
+ BasicFieldsTest: test_hidden_uses_rails_hidden_tag_helper
3486
+ ---------------------------------------------------------
3487
+ ---------------------------------------------------------
3488
+ BasicFieldsTest: test_passing_html_options_to_fields_work
3489
+ ---------------------------------------------------------
3490
+ -----------------------------------------------------------------------------
3491
+ BasicFieldsTest: test_textarea_passes_additional_html_options_to_rails_helper
3492
+ -----------------------------------------------------------------------------
3493
+ ----------------------------------------------------------
3494
+ BasicFieldsTest: test_textarea_uses_rails_text_area_helper
3495
+ ----------------------------------------------------------
3496
+ ---------------------------------------------------------------
3497
+ ExpressFormTest: test_express_form_contents_are_inside_the_form
3498
+ ---------------------------------------------------------------
3499
+ ---------------------------------------------------------
3500
+ ExpressFormTest: test_express_form_default_method_is_POST
3501
+ ---------------------------------------------------------
3502
+ -----------------------------------------------------
3503
+ ExpressFormTest: test_simplest_form_contains_form_tag
3504
+ -----------------------------------------------------
3505
+ ---------------------------------------------------------------
3506
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
3507
+ ---------------------------------------------------------------
3508
+ ---------------------------------------------------
3509
+ ExpressFormTest: test_simplest_form_contains_submit
3510
+ ---------------------------------------------------
3511
+ -------------------------------------------
3512
+ ExpressFormTest: test_simplest_form_renders
3513
+ -------------------------------------------
3514
+ -------------------------------------------------------------------
3515
+ ExpressFormTest: test_simplest_form_uses_form_action_for_the_action
3516
+ -------------------------------------------------------------------
3517
+ -----------------------------------------------------------
3518
+ ExpressFormTest: test_simplest_form_will_have_the_proper_id
3519
+ -----------------------------------------------------------
3520
+ ------------------------------------------------------------------------------------
3521
+ StringTest: test_String#inspect_works_normally_when_#to_view_code_hasn't_been_called
3522
+ ------------------------------------------------------------------------------------
3523
+ --------------------------------------------------------------------------------
3524
+ StringTest: test_String#to_view_code_causes_subsequent_#inspect_to_remove_quotes
3525
+ --------------------------------------------------------------------------------
3526
+ -------------------------------------------------------
3527
+ StringTest: test_String#to_view_code_returns_the_string
3528
+ -------------------------------------------------------
3529
+ --------------------------------------------
3530
+ CompilerTest: test_.compile_returns_a_string
3531
+ --------------------------------------------
3532
+ -----------------------------------------
3533
+ HelloControllerTest: test_should_get_show
3534
+ -----------------------------------------
3535
+ Processing by HelloController#show as HTML
3536
+ Rendered hello/show.html.et within layouts/application (0.6ms)
3537
+ Completed 200 OK in 116ms (Views: 115.8ms)
3538
+ ---------------------------------------------------------------------------------------------
3539
+ IndenterTest: test_.for(:name)_returns_current_indent_without_newline_when_block_is_not_given
3540
+ ---------------------------------------------------------------------------------------------
3541
+ -----------------------------------------------------------------
3542
+ IndenterTest: test_.for(:name)_takes_a_block_receiving_whitespace
3543
+ -----------------------------------------------------------------
3544
+ ------------------------------------------------------------------
3545
+ IndenterTest: test_nesting_blocks_increases_whitespace_accordingly
3546
+ ------------------------------------------------------------------
3547
+ ------------------------------------------------------------------------------------
3548
+ InterpolatorTest: test_"{{some_{{thing}}_foo}}"_transforms_to_"#{some_#{thing}_foo}"
3549
+ ------------------------------------------------------------------------------------
3550
+ -------------------------------------------------------------------
3551
+ InterpolatorTest: test_"{{something}}"_transforms_to_"#{something}"
3552
+ -------------------------------------------------------------------
3553
+ ---------------------------------------------------------------------
3554
+ InterpolatorTest: test_'a_lot_of_{{something_"{{good}}"}}'_transforms
3555
+ ---------------------------------------------------------------------
3556
+ ---------------------------------------------------------------------
3557
+ InterpolatorTest: test_nested_with_multiple_nested_expressions_parses
3558
+ ---------------------------------------------------------------------
3559
+ ----------------------------------------------------
3560
+ InterpolatorTest: test_nested_with_outer_text_parses
3561
+ ----------------------------------------------------
3562
+ -------------------------------------------------------
3563
+ InterpolatorTest: test_nested_without_outer_text_parses
3564
+ -------------------------------------------------------
3565
+ ---------------------------------------------------------------------
3566
+ InterpolatorTest: test_simple_expression_with_surrounding_text_parses
3567
+ ---------------------------------------------------------------------
3568
+ -------------------------------------------------
3569
+ InterpolatorTest: test_simplest_expression_parses
3570
+ -------------------------------------------------
3571
+ -----------------------------------------------------------------------------
3572
+ ConfigurableTest: test_.has_argument_adds_a_positional_configuration_argument
3573
+ -----------------------------------------------------------------------------
3574
+ ----------------------------------------------------------------------------------------
3575
+ ConfigurableTest: test_.has_argument_appends_supported_arguments_in_order_of_inheritence
3576
+ ----------------------------------------------------------------------------------------
3577
+ -------------------------------------------------------------------------------
3578
+ ConfigurableTest: test_.has_argument_as:_allows_overwrite_of_inherited_argument
3579
+ -------------------------------------------------------------------------------
3580
+ -----------------------------------------------------------------------------------------------------
3581
+ ConfigurableTest: test_.has_argument_makes_builder_arguments_accessible_by_name_according_to_position
3582
+ -----------------------------------------------------------------------------------------------------
3583
+ ---------------------------------------------------
3584
+ ConfigurableTest: test_default_values_are_supported
3585
+ ---------------------------------------------------
3586
+ ----------------------------------------------------------------------
3587
+ ConfigurableTest: test_default_values_for_attributes_can_be_overridden
3588
+ ----------------------------------------------------------------------
3589
+ ------------------------------------------------------------------------
3590
+ ConfigurableTest: test_does_not_pass_declared_options_as_html_attributes
3591
+ ------------------------------------------------------------------------
3592
+ -----------------------------------------------------------
3593
+ ConfigurableTest: test_has_no_id_attribute_if_not_specified
3594
+ -----------------------------------------------------------
3595
+ --------------------------------------------
3596
+ ConfigurableTest: test_options_are_inherited
3597
+ --------------------------------------------
3598
+ -------------------------------------------------------
3599
+ ConfigurableTest: test_renders_first_argument_as_dom_id
3600
+ -------------------------------------------------------
3601
+ ----------------------------------------------------
3602
+ ConfigurableTest: test_required_options_are_required
3603
+ ----------------------------------------------------
3604
+ --------------------------------------------------
3605
+ ConfigurableTest: test_supports_option_declaration
3606
+ --------------------------------------------------
3607
+ ---------------------------------------------------------------
3608
+ ConfigurableTest: test_unrecognized_options_raises_an_exception
3609
+ ---------------------------------------------------------------
3610
+ ---------------------------------------------------------------------
3611
+ ExpressTemplatesTest: test_ExpressTemplates.render_renders_a_template
3612
+ ---------------------------------------------------------------------
3613
+ -------------------------------------------
3614
+ ExpressTemplatesTest: test_we_have_a_module
3615
+ -------------------------------------------
3616
+ ----------------------------------------------
3617
+ SubmitTest: test_submit_accepts_a_class_option
3618
+ ----------------------------------------------
3619
+ --------------------------------------------------------
3620
+ SubmitTest: test_submit_accepts_a_value_and_class_option
3621
+ --------------------------------------------------------
3622
+ ----------------------------------------------------
3623
+ SubmitTest: test_submit_takes_string_param_for_value
3624
+ ----------------------------------------------------
3625
+ ------------------------------------------------------------
3626
+ TreeForTest: test_tree_for_accepts_block_with_custom_content
3627
+ ------------------------------------------------------------
3628
+ ---------------------------------------------------------------------------
3629
+ TreeForTest: test_tree_for_renders_correct_markup_with_node.name_as_default
3630
+ ---------------------------------------------------------------------------
3631
+ -----------------------------------------------------------
3632
+ RadioTest: test_radio_has_correct_label_field_name_and_text
3633
+ -----------------------------------------------------------
3634
+ ------------------------------------------------------------------
3635
+ RadioTest: test_radio_options_from_collection_when_options_omitted
3636
+ ------------------------------------------------------------------
3637
+ ----------------------------------------------------------
3638
+ RadioTest: test_radio_options_may_be_specified_with_a_hash
3639
+ ----------------------------------------------------------
3640
+ --------------------------------------------------------
3641
+ RadioTest: test_radio_options_present_with_class_'radio'
3642
+ --------------------------------------------------------
3643
+ -------------------------------------------------
3644
+ RadioTest: test_radio_requires_a_parent_component
3645
+ -------------------------------------------------
3646
+ ------------------------------------------------------------
3647
+ RadioTest: test_radio_throws_error_if_given_improper_options
3648
+ ------------------------------------------------------------
3649
+ -------------------------------------------------------------
3650
+ CheckboxTest: test_checkbox_places_the_label_before_the_input
3651
+ -------------------------------------------------------------
3652
+ -------------------------------------------------------
3653
+ CheckboxTest: test_checkbox_respects_label_after:_true_
3654
+ -------------------------------------------------------
3655
+ ----------------------------------------------------------------
3656
+ SelectTest: test_select_collection_works_using_collection_select
3657
+ ----------------------------------------------------------------
3658
+ ------------------------------------------
3659
+ SelectTest: test_select_comes_with_a_label
3660
+ ------------------------------------------
3661
+ --------------------------------------------------------------------------------------------------
3662
+ ExpressTemplates::ResourcefulTest: test_#resource_class_returns_resource_class_option_if_specified
3663
+ --------------------------------------------------------------------------------------------------
3664
+ -----------------------------------------------------------------------------------------
3665
+ ExpressTemplates::ResourcefulTest: test_infers_a_namespace_and_no_prefix_within_an_engine
3666
+ -----------------------------------------------------------------------------------------
3667
+ ---------------------------------------------------------------------------------------------------
3668
+ ExpressTemplates::ResourcefulTest: test_infers_namespace_and_path_prefix_within_an_engine_and_scope
3669
+ ---------------------------------------------------------------------------------------------------
3670
+ ------------------------------------------------------------------------------------------------
3671
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_infers_prefix_within_a_scope_within_an_app
3672
+ ------------------------------------------------------------------------------------------------
3673
+ -----------------------------------------------------------------------------
3674
+ ExpressTemplates::ResourcefulTest: test_no_namespace,_no_prefix_within_an_app
3675
+ -----------------------------------------------------------------------------
3676
+ -----------------------------------------------------------------------------
3677
+ ConfigurableTest: test_.has_argument_adds_a_positional_configuration_argument
3678
+ -----------------------------------------------------------------------------
3679
+ ----------------------------------------------------------------------------------------
3680
+ ConfigurableTest: test_.has_argument_appends_supported_arguments_in_order_of_inheritence
3681
+ ----------------------------------------------------------------------------------------
3682
+ -------------------------------------------------------------------------------
3683
+ ConfigurableTest: test_.has_argument_as:_allows_overwrite_of_inherited_argument
3684
+ -------------------------------------------------------------------------------
3685
+ -----------------------------------------------------------------------------------------------------
3686
+ ConfigurableTest: test_.has_argument_makes_builder_arguments_accessible_by_name_according_to_position
3687
+ -----------------------------------------------------------------------------------------------------
3688
+ ---------------------------------------------------
3689
+ ConfigurableTest: test_default_values_are_supported
3690
+ ---------------------------------------------------
3691
+ ----------------------------------------------------------------------
3692
+ ConfigurableTest: test_default_values_for_attributes_can_be_overridden
3693
+ ----------------------------------------------------------------------
3694
+ ------------------------------------------------------------------------
3695
+ ConfigurableTest: test_does_not_pass_declared_options_as_html_attributes
3696
+ ------------------------------------------------------------------------
3697
+ -----------------------------------------------------------
3698
+ ConfigurableTest: test_has_no_id_attribute_if_not_specified
3699
+ -----------------------------------------------------------
3700
+ --------------------------------------------
3701
+ ConfigurableTest: test_options_are_inherited
3702
+ --------------------------------------------
3703
+ -------------------------------------------------------
3704
+ ConfigurableTest: test_renders_first_argument_as_dom_id
3705
+ -------------------------------------------------------
3706
+ ----------------------------------------------------
3707
+ ConfigurableTest: test_required_options_are_required
3708
+ ----------------------------------------------------
3709
+ --------------------------------------------------
3710
+ ConfigurableTest: test_supports_option_declaration
3711
+ --------------------------------------------------
3712
+ ---------------------------------------------------------------
3713
+ ConfigurableTest: test_unrecognized_options_raises_an_exception
3714
+ ---------------------------------------------------------------
3715
+ ----------------------------------------------------------------
3716
+ SelectTest: test_select_collection_works_using_collection_select
3717
+ ----------------------------------------------------------------
3718
+ ------------------------------------------
3719
+ SelectTest: test_select_comes_with_a_label
3720
+ ------------------------------------------
3721
+ --------------------------------------------------
3722
+ SelectTest: test_select_defaults_can_be_overridden
3723
+ --------------------------------------------------
3724
+ -------------------------------------------------------
3725
+ SelectTest: test_select_defaults_to_include_blank:_true
3726
+ -------------------------------------------------------
3727
+ ------------------------------------------------------------------------------------
3728
+ SelectTest: test_select_generates_correct_options_when_values_are_specified_as_array
3729
+ ------------------------------------------------------------------------------------
3730
+ ------------------------------------------------------------------------
3731
+ SelectTest: test_select_generates_options_from_data_when_options_omitted
3732
+ ------------------------------------------------------------------------
3733
+ --------------------------------------------------------------
3734
+ SelectTest: test_select_multiple:_true_if_passed_multiple_true
3735
+ --------------------------------------------------------------
3736
+ -----------------------------------------------------------------------------------------
3737
+ SelectTest: test_select_multiple_gets_options_from_associated_has_many_through_collection
3738
+ -----------------------------------------------------------------------------------------
3739
+ ---------------------------------------------------
3740
+ SelectTest: test_select_requires_a_parent_component
3741
+ ---------------------------------------------------
3742
+ ---------------------------------------------------------------------------
3743
+ SelectTest: test_select_uses_options_from_collect..._when_field_is_relation
3744
+ ---------------------------------------------------------------------------
3745
+ -------------------------------------------------------------------------
3746
+ SelectTest: test_selected_option_is_omitted_selection_is_taken_from_model
3747
+ -------------------------------------------------------------------------
3748
+ -----------------------------------------
3749
+ HelloControllerTest: test_should_get_show
3750
+ -----------------------------------------
3751
+ Processing by HelloController#show as HTML
3752
+ Rendered hello/show.html.et within layouts/application (0.5ms)
3753
+ Completed 200 OK in 113ms (Views: 113.3ms)
3754
+ -----------------------------------------------------------------
3755
+ BaseTest: test_.contains_places_fragment_inside_the_enclosing_tag
3756
+ -----------------------------------------------------------------
3757
+ ---------------------------------------------------------
3758
+ BaseTest: test_.has_attributes_creates_default_attributes
3759
+ ---------------------------------------------------------
3760
+ -----------------------------------------------------
3761
+ BaseTest: test_.tag_name_determines_the_enclosing_tag
3762
+ -----------------------------------------------------
3763
+ --------------------------------------------------
3764
+ BaseTest: test_before_build_hook_runs_before_build
3765
+ --------------------------------------------------
3766
+ --------------------------------------------------------------
3767
+ BaseTest: test_class_name_is_dasherized_instead_of_underscored
3768
+ --------------------------------------------------------------
3769
+ -----------------------------------------------------------
3770
+ BaseTest: test_class_option_adds_a_class,_does_not_override
3771
+ -----------------------------------------------------------
3772
+ ----------------------------------------------------
3773
+ BaseTest: test_options_are_passed_to_html_attributes
3774
+ ----------------------------------------------------
3775
+ --------------------------------------------------------------
3776
+ HandlerTest: test_helpers_returning_html_when_alone_in_a_block
3777
+ --------------------------------------------------------------
3778
+ ------------------------------------------------------------------------
3779
+ HandlerTest: test_helpers_returning_html_work_in_sequence_within_a_block
3780
+ ------------------------------------------------------------------------
3781
+ ----------------------------------------------------------
3782
+ HandlerTest: test_html_generates_<h1>Hello</h1>_by_default
3783
+ ----------------------------------------------------------
3784
+ -----------------------------
3785
+ HandlerTest: test_locals_work
3786
+ -----------------------------
3787
+ ------------------------------------------------------------
3788
+ HandlerTest: test_nesting_elements_with_ruby_block_structure
3789
+ ------------------------------------------------------------
3790
+ ----------------------------------
3791
+ HandlerTest: test_other_attributes
3792
+ ----------------------------------
3793
+ -------------------------------------------
3794
+ HandlerTest: test_our_handler_is_registered
3795
+ -------------------------------------------
3796
+ ---------------------------------------
3797
+ HandlerTest: test_string_in_block_works
3798
+ ---------------------------------------
3799
+ -----------------------------------------------------------
3800
+ RadioTest: test_radio_has_correct_label_field_name_and_text
3801
+ -----------------------------------------------------------
3802
+ ------------------------------------------------------------------
3803
+ RadioTest: test_radio_options_from_collection_when_options_omitted
3804
+ ------------------------------------------------------------------
3805
+ ----------------------------------------------------------
3806
+ RadioTest: test_radio_options_may_be_specified_with_a_hash
3807
+ ----------------------------------------------------------
3808
+ --------------------------------------------------------
3809
+ RadioTest: test_radio_options_present_with_class_'radio'
3810
+ --------------------------------------------------------
3811
+ -------------------------------------------------
3812
+ RadioTest: test_radio_requires_a_parent_component
3813
+ -------------------------------------------------
3814
+ ------------------------------------------------------------
3815
+ RadioTest: test_radio_throws_error_if_given_improper_options
3816
+ ------------------------------------------------------------
3817
+ ----------------------------------------------
3818
+ SubmitTest: test_submit_accepts_a_class_option
3819
+ ----------------------------------------------
3820
+ --------------------------------------------------------
3821
+ SubmitTest: test_submit_accepts_a_value_and_class_option
3822
+ --------------------------------------------------------
3823
+ ----------------------------------------------------
3824
+ SubmitTest: test_submit_takes_string_param_for_value
3825
+ ----------------------------------------------------
3826
+ ------------------------------------------------------------
3827
+ TreeForTest: test_tree_for_accepts_block_with_custom_content
3828
+ ------------------------------------------------------------
3829
+ ---------------------------------------------------------------------------
3830
+ TreeForTest: test_tree_for_renders_correct_markup_with_node.name_as_default
3831
+ ---------------------------------------------------------------------------
3832
+ ---------------------------------------------------------------------
3833
+ ExpressTemplatesTest: test_ExpressTemplates.render_renders_a_template
3834
+ ---------------------------------------------------------------------
3835
+ -------------------------------------------
3836
+ ExpressTemplatesTest: test_we_have_a_module
3837
+ -------------------------------------------
3838
+ ------------------------------------------------------------------------------------
3839
+ InterpolatorTest: test_"{{some_{{thing}}_foo}}"_transforms_to_"#{some_#{thing}_foo}"
3840
+ ------------------------------------------------------------------------------------
3841
+ -------------------------------------------------------------------
3842
+ InterpolatorTest: test_"{{something}}"_transforms_to_"#{something}"
3843
+ -------------------------------------------------------------------
3844
+ ---------------------------------------------------------------------
3845
+ InterpolatorTest: test_'a_lot_of_{{something_"{{good}}"}}'_transforms
3846
+ ---------------------------------------------------------------------
3847
+ ---------------------------------------------------------------------
3848
+ InterpolatorTest: test_nested_with_multiple_nested_expressions_parses
3849
+ ---------------------------------------------------------------------
3850
+ ----------------------------------------------------
3851
+ InterpolatorTest: test_nested_with_outer_text_parses
3852
+ ----------------------------------------------------
3853
+ -------------------------------------------------------
3854
+ InterpolatorTest: test_nested_without_outer_text_parses
3855
+ -------------------------------------------------------
3856
+ ---------------------------------------------------------------------
3857
+ InterpolatorTest: test_simple_expression_with_surrounding_text_parses
3858
+ ---------------------------------------------------------------------
3859
+ -------------------------------------------------
3860
+ InterpolatorTest: test_simplest_expression_parses
3861
+ -------------------------------------------------
3862
+ -------------------------------------------------------------
3863
+ CheckboxTest: test_checkbox_places_the_label_before_the_input
3864
+ -------------------------------------------------------------
3865
+ -------------------------------------------------------
3866
+ CheckboxTest: test_checkbox_respects_label_after:_true_
3867
+ -------------------------------------------------------
3868
+ ---------------------------------------------------------------
3869
+ ExpressFormTest: test_express_form_contents_are_inside_the_form
3870
+ ---------------------------------------------------------------
3871
+ ---------------------------------------------------------
3872
+ ExpressFormTest: test_express_form_default_method_is_POST
3873
+ ---------------------------------------------------------
3874
+ -----------------------------------------------------
3875
+ ExpressFormTest: test_simplest_form_contains_form_tag
3876
+ -----------------------------------------------------
3877
+ ---------------------------------------------------------------
3878
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
3879
+ ---------------------------------------------------------------
3880
+ ---------------------------------------------------
3881
+ ExpressFormTest: test_simplest_form_contains_submit
3882
+ ---------------------------------------------------
3883
+ -------------------------------------------
3884
+ ExpressFormTest: test_simplest_form_renders
3885
+ -------------------------------------------
3886
+ -------------------------------------------------------------------
3887
+ ExpressFormTest: test_simplest_form_uses_form_action_for_the_action
3888
+ -------------------------------------------------------------------
3889
+ -----------------------------------------------------------
3890
+ ExpressFormTest: test_simplest_form_will_have_the_proper_id
3891
+ -----------------------------------------------------------
3892
+ -------------------------------------
3893
+ BasicFieldsTest: test_all_fields_work
3894
+ -------------------------------------
3895
+ ---------------------------------------------------------------------------------
3896
+ BasicFieldsTest: test_hidden_field_passes_additional_html_options_to_rails_helper
3897
+ ---------------------------------------------------------------------------------
3898
+ ---------------------------------------------------------
3899
+ BasicFieldsTest: test_hidden_uses_rails_hidden_tag_helper
3900
+ ---------------------------------------------------------
3901
+ ---------------------------------------------------------
3902
+ BasicFieldsTest: test_passing_html_options_to_fields_work
3903
+ ---------------------------------------------------------
3904
+ -----------------------------------------------------------------------------
3905
+ BasicFieldsTest: test_textarea_passes_additional_html_options_to_rails_helper
3906
+ -----------------------------------------------------------------------------
3907
+ ----------------------------------------------------------
3908
+ BasicFieldsTest: test_textarea_uses_rails_text_area_helper
3909
+ ----------------------------------------------------------
3910
+ --------------------------------------------
3911
+ CompilerTest: test_.compile_returns_a_string
3912
+ --------------------------------------------
3913
+ ------------------------------------------------------------------------------------
3914
+ StringTest: test_String#inspect_works_normally_when_#to_view_code_hasn't_been_called
3915
+ ------------------------------------------------------------------------------------
3916
+ --------------------------------------------------------------------------------
3917
+ StringTest: test_String#to_view_code_causes_subsequent_#inspect_to_remove_quotes
3918
+ --------------------------------------------------------------------------------
3919
+ -------------------------------------------------------
3920
+ StringTest: test_String#to_view_code_returns_the_string
3921
+ -------------------------------------------------------
3922
+ ---------------------------------------------------------------------------------------------
3923
+ IndenterTest: test_.for(:name)_returns_current_indent_without_newline_when_block_is_not_given
3924
+ ---------------------------------------------------------------------------------------------
3925
+ -----------------------------------------------------------------
3926
+ IndenterTest: test_.for(:name)_takes_a_block_receiving_whitespace
3927
+ -----------------------------------------------------------------
3928
+ ------------------------------------------------------------------
3929
+ IndenterTest: test_nesting_blocks_increases_whitespace_accordingly
3930
+ ------------------------------------------------------------------
3931
+ ------------------------------------------------
3932
+ ProcTest: test_#source_body_handles_funky_bodies
3933
+ ------------------------------------------------
3934
+ ----------------------------------------------------------
3935
+ ProcTest: test_#source_body_raises_exception_for_arity_>_0
3936
+ ----------------------------------------------------------
3937
+ ------------------------------------------------------
3938
+ ProcTest: test_#source_body_returns_the_body_of_a_proc
3939
+ ------------------------------------------------------
3940
+ ----------------------------------------------
3941
+ ProcTest: test_#source_returns_a_proc's_source
3942
+ ----------------------------------------------
3943
+ ---------------------------------------------------------------
3944
+ ProcTest: test_#source_work_with_a_stabby_lambda_spanning_lines
3945
+ ---------------------------------------------------------------
3946
+ ------------------------------------------------------------
3947
+ ProcTest: test_#source_works_with_a_block_containing_a_block
3948
+ ------------------------------------------------------------
3949
+ --------------------------------------------
3950
+ ProcTest: test_#source_works_with_a_do_block
3951
+ --------------------------------------------
3952
+ -----------------------------------------------------
3953
+ ProcTest: test_#source_works_with_a_single_line_block
3954
+ -----------------------------------------------------
3955
+ -------------------------------------------------
3956
+ ProcTest: test_#source_works_with_a_stabby_lambda
3957
+ -------------------------------------------------
3958
+ ----------------------------------------------------------------------------------------
3959
+ ProcTest: test_.from_source_stores_source_of_a_dynamicly_built_proc_for_later_inspection
3960
+ ----------------------------------------------------------------------------------------
3961
+ -----------------------------------------------------------------------------------------
3962
+ ProcTest: test_.source_body_captures_full_body_when_parens_around_parameters_not_provided
3963
+ -----------------------------------------------------------------------------------------
3964
+ ---------------------------------------------------------------
3965
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
3966
+ ---------------------------------------------------------------
3967
+ ---------------------------------------------------------------
3968
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
3969
+ ---------------------------------------------------------------
3970
+ ---------------------------------------------------------------
3971
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
3972
+ ---------------------------------------------------------------
3973
+ ---------------------------------------------------------------
3974
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
3975
+ ---------------------------------------------------------------
3976
+ ---------------------------------------------------------------
3977
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
3978
+ ---------------------------------------------------------------
3979
+ ---------------------------------------------------------------
3980
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
3981
+ ---------------------------------------------------------------
3982
+ ---------------------------------------------------------------
3983
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
3984
+ ---------------------------------------------------------------
3985
+ ---------------------------------------------------------------
3986
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
3987
+ ---------------------------------------------------------------
3988
+ ---------------------------------------------------------------
3989
+ ExpressFormTest: test_express_form_contents_are_inside_the_form
3990
+ ---------------------------------------------------------------
3991
+ ---------------------------------------------------------
3992
+ ExpressFormTest: test_express_form_default_method_is_POST
3993
+ ---------------------------------------------------------
3994
+ -----------------------------------------------------
3995
+ ExpressFormTest: test_simplest_form_contains_form_tag
3996
+ -----------------------------------------------------
3997
+ ---------------------------------------------------------------
3998
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
3999
+ ---------------------------------------------------------------
4000
+ ---------------------------------------------------
4001
+ ExpressFormTest: test_simplest_form_contains_submit
4002
+ ---------------------------------------------------
4003
+ -------------------------------------------
4004
+ ExpressFormTest: test_simplest_form_renders
4005
+ -------------------------------------------
4006
+ -------------------------------------------------------------------
4007
+ ExpressFormTest: test_simplest_form_uses_form_action_for_the_action
4008
+ -------------------------------------------------------------------
4009
+ -----------------------------------------------------------
4010
+ ExpressFormTest: test_simplest_form_will_have_the_proper_id
4011
+ -----------------------------------------------------------
4012
+ ---------------------------------------------------------------
4013
+ ExpressFormTest: test_express_form_contents_are_inside_the_form
4014
+ ---------------------------------------------------------------
4015
+ ---------------------------------------------------------
4016
+ ExpressFormTest: test_express_form_default_method_is_POST
4017
+ ---------------------------------------------------------
4018
+ -----------------------------------------------------
4019
+ ExpressFormTest: test_simplest_form_contains_form_tag
4020
+ -----------------------------------------------------
4021
+ ---------------------------------------------------------------
4022
+ ExpressFormTest: test_simplest_form_contains_rails_form_helpers
4023
+ ---------------------------------------------------------------
4024
+ ---------------------------------------------------
4025
+ ExpressFormTest: test_simplest_form_contains_submit
4026
+ ---------------------------------------------------
4027
+ -------------------------------------------
4028
+ ExpressFormTest: test_simplest_form_renders
4029
+ -------------------------------------------
4030
+ -------------------------------------------------------------------
4031
+ ExpressFormTest: test_simplest_form_uses_form_action_for_the_action
4032
+ -------------------------------------------------------------------
4033
+ -----------------------------------------------------------
4034
+ ExpressFormTest: test_simplest_form_will_have_the_proper_id
4035
+ -----------------------------------------------------------