Class: ActionView::TestCase

Inherits:
ActiveSupport::TestCase show all
Includes:
Behavior
Defined in:
actionview/lib/action_view/test_case.rb

Overview

Action View Test Case

Defined Under Namespace

Modules: Behavior Classes: TestController

Constant Summary

Constants included from RecordIdentifier

RecordIdentifier::JOIN, RecordIdentifier::NEW

Constants included from Helpers::UrlHelper

Helpers::UrlHelper::BUTTON_TAG_METHOD_VERBS

Constants included from Helpers::TagHelper

Helpers::TagHelper::BOOLEAN_ATTRIBUTES, Helpers::TagHelper::PRE_CONTENT_STRINGS

Constants included from Helpers::JavaScriptHelper

Helpers::JavaScriptHelper::JS_ESCAPE_MAP

Constants included from Helpers::AssetUrlHelper

Helpers::AssetUrlHelper::ASSET_EXTENSIONS, Helpers::AssetUrlHelper::ASSET_PUBLIC_DIRECTORIES, Helpers::AssetUrlHelper::URI_REGEXP

Constants included from ActionDispatch::Assertions

ActionDispatch::Assertions::NO_STRIP

Constants inherited from ActiveSupport::TestCase

ActiveSupport::TestCase::Assertion

Instance Attribute Summary

Attributes included from Behavior

#controller, #output_buffer, #rendered

Attributes included from Context

#output_buffer, #view_flow

Method Summary

Methods included from Behavior

#config, #render, #rendered_views, #setup_with_controller

Methods included from ActiveSupport::Concern

#append_features, extended, #included

Methods included from RoutingUrlFor

#url_for, #url_options

Methods included from RecordIdentifier

#dom_class, #dom_id

Methods included from ModelNaming

#convert_to_model, #model_name_from_record_or_class

Methods included from ActiveSupport::Autoload

#autoload, #autoload_at, #autoload_under, #autoloads, #eager_autoload, #eager_load!, extended

Methods included from Helpers::UrlHelper

#button_to, #current_page?, #link_to, #link_to_if, #link_to_unless, #link_to_unless_current, #mail_to, #url_for

Methods included from Helpers::TagHelper

#cdata_section, #content_tag, #escape_once, #tag

Methods included from Helpers::CaptureHelper

#capture, #content_for, #content_for?, #flush_output_buffer, #provide, #with_output_buffer

Methods included from Helpers::TranslationHelper

#localize, #translate

Methods included from Helpers::TextHelper

#concat, #current_cycle, #cycle, #excerpt, #highlight, #pluralize, #reset_cycle, #safe_concat, #simple_format, #truncate, #word_wrap

Methods included from Helpers::SanitizeHelper

#sanitize, #sanitize_css, #strip_links, #strip_tags

Methods included from Helpers::RenderingHelper

#_layout_for, #render

Methods included from Helpers::RecordTagHelper

#content_tag_for, #div_for

Methods included from Helpers::OutputSafetyHelper

#raw, #safe_join

Methods included from Helpers::NumberHelper

#number_to_currency, #number_to_human, #number_to_human_size, #number_to_percentage, #number_to_phone, #number_with_delimiter, #number_with_precision

Methods included from Helpers::JavaScriptHelper

#escape_javascript, #javascript_cdata_section, #javascript_tag

Methods included from Helpers::FormTagHelper

#button_tag, #check_box_tag, #color_field_tag, #date_field_tag, #datetime_field_tag, #datetime_local_field_tag, #email_field_tag, #field_set_tag, #file_field_tag, #form_tag, #hidden_field_tag, #image_submit_tag, #label_tag, #month_field_tag, #number_field_tag, #password_field_tag, #radio_button_tag, #range_field_tag, #search_field_tag, #select_tag, #submit_tag, #telephone_field_tag, #text_area_tag, #text_field_tag, #time_field_tag, #url_field_tag, #utf8_enforcer_tag, #week_field_tag

Methods included from Helpers::FormOptionsHelper

#collection_check_boxes, #collection_radio_buttons, #collection_select, #grouped_collection_select, #grouped_options_for_select, #option_groups_from_collection_for_select, #options_for_select, #options_from_collection_for_select, #select, #time_zone_options_for_select, #time_zone_select

Methods included from Helpers::FormHelper

#check_box, #color_field, #date_field, #datetime_field, #datetime_local_field, #email_field, #fields_for, #file_field, #form_for, #hidden_field, #label, #month_field, #number_field, #password_field, #radio_button, #range_field, #search_field, #telephone_field, #text_area, #text_field, #time_field, #url_field, #week_field

Methods included from Helpers::DebugHelper

#debug

Methods included from Helpers::DateHelper

#date_select, #datetime_select, #distance_of_time_in_words, #select_date, #select_datetime, #select_day, #select_hour, #select_minute, #select_month, #select_second, #select_time, #select_year, #time_ago_in_words, #time_select, #time_tag

Methods included from Helpers::CsrfHelper

#csrf_meta_tags

Methods included from Helpers::ControllerHelper

#assign_controller, #logger

Methods included from Helpers::CacheHelper

#cache, #cache_fragment_name, #cache_if, #cache_unless

Methods included from Helpers::AtomFeedHelper

#atom_feed

Methods included from Helpers::AssetUrlHelper

#asset_path, #asset_url, #audio_path, #audio_url, #compute_asset_extname, #compute_asset_host, #compute_asset_path, #font_path, #font_url, #image_path, #image_url, #javascript_path, #javascript_url, #stylesheet_path, #stylesheet_url, #video_path, #video_url

Methods included from Helpers::AssetTagHelper

#audio_tag, #auto_discovery_link_tag, #favicon_link_tag, #image_alt, #image_tag, #javascript_include_tag, #stylesheet_link_tag, #video_tag

Methods included from ActiveSupport::Benchmarkable

#benchmark

Methods included from ActionDispatch::Routing::PolymorphicRoutes

#polymorphic_path, #polymorphic_url

Methods included from ActionController::ModelNaming

#convert_to_model, #model_name_from_record_or_class

Methods included from Context

#_layout_for, #_prepare_context

Methods included from ActionController::TemplateAssertions

#assert_template, #process, #setup_subscriptions, #teardown_subscriptions

Methods included from ActionDispatch::Assertions::TagAssertions

#assert_no_tag, #assert_tag, #find_all_tag, #find_tag, #html_document

Methods included from ActionDispatch::Assertions::SelectorAssertions

#assert_select, #assert_select_email, #assert_select_encoded, #count_description, #css_select

Methods included from ActionDispatch::Assertions::RoutingAssertions

#assert_generates, #assert_recognizes, #assert_routing, #method_missing, #with_routing

Methods included from ActionDispatch::Assertions::ResponseAssertions

#assert_redirected_to, #assert_response

Methods included from ActionDispatch::Assertions::DomAssertions

#assert_dom_equal, #assert_dom_not_equal

Methods included from ActionDispatch::TestProcess

#assigns, #cookies, #fixture_file_upload, #flash, #redirect_to_url, #session

Methods inherited from ActiveSupport::TestCase

#assert_nothing_raised, for_tag, test_order

Methods included from ActiveSupport::Testing::Declarative

extended, #test

Methods included from ActiveRecord::TestFixtures

#after_teardown, #before_setup, #enlist_fixture_connections, #run_in_transaction?, #setup_fixtures, #teardown_fixtures

Methods included from ActiveSupport::Testing::Deprecation

#assert_deprecated, #assert_not_deprecated

Methods included from ActiveSupport::Testing::Assertions

#assert_difference, #assert_no_difference, #assert_not

Methods included from ActiveSupport::Testing::SetupAndTeardown

#after_teardown, #before_setup

Methods included from ActiveSupport::Testing::TaggedLogging

#before_setup

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ActionView::TestCase::Behavior