Edge Rails の assertion

爆発的に増えてる!

assert_assigned_equal (Test::Unit::Assertions)
assert_cookie_equal (Test::Unit::Assertions)
assert_deprecated (ActiveSupport::Deprecation::Assertions)
assert_dom_equal (Test::Unit::Assertions)
assert_dom_not_equal (Test::Unit::Assertions)
assert_existence_of_template_file (ActionController::SessionOverflowError::Base)
assert_flash_empty (Test::Unit::Assertions)
assert_flash_equal (Test::Unit::Assertions)
assert_flash_exists (Test::Unit::Assertions)
assert_flash_has (Test::Unit::Assertions)
assert_flash_has_no (Test::Unit::Assertions)
assert_flash_not_empty (Test::Unit::Assertions)
assert_flash_not_exists (Test::Unit::Assertions)
assert_generates (Test::Unit::Assertions)
assert_invalid_column_on_record (Test::Unit::Assertions)
assert_invalid_record (Test::Unit::Assertions)
assert_no_cookie (Test::Unit::Assertions)
assert_no_tag (Test::Unit::Assertions)
assert_not_deprecated (ActiveSupport::Deprecation::Assertions)
assert_recognizes (Test::Unit::Assertions)
assert_redirect (Test::Unit::Assertions)
assert_redirect_url (Test::Unit::Assertions)
assert_redirect_url_match (Test::Unit::Assertions)
assert_redirected_to (Test::Unit::Assertions)
assert_rendered_file (Test::Unit::Assertions)
assert_response (Test::Unit::Assertions)
assert_routing (Test::Unit::Assertions)
assert_session_equal (Test::Unit::Assertions)
assert_session_has (Test::Unit::Assertions)
assert_session_has_no (Test::Unit::Assertions)
assert_success (Test::Unit::Assertions)
assert_tag (Test::Unit::Assertions)
assert_template (Test::Unit::Assertions)
assert_template_equal (Test::Unit::Assertions)
assert_template_has (Test::Unit::Assertions)
assert_template_has_no (Test::Unit::Assertions)
assert_template_xpath_match (Test::Unit::Assertions)
assert_unique_migration_version (ActiveRecord::Migrator)
assert_valid (Test::Unit::Assertions)
assert_valid_column_on_record (Test::Unit::Assertions)
assert_valid_keys (ActiveSupport::CoreExtensions::Hash::Keys)
assert_valid_record (Test::Unit::Assertions)

と思ったらkekkoな数が deprecated_assertions.rb だったん。


grep した。

assert_dom_equal(expected, actual, message="")
assert_dom_not_equal(expected, actual, message="")
assert_valid(record)
assert_response(type, message = nil)
assert_redirected_to(options = {}, message=nil)
assert_template(expected = nil, message=nil)
assert_recognizes(expected_options, path, extras={}, message=nil)
assert_generates(expected_path, options, defaults={}, extras = {}, message=nil)
assert_routing(path, options, defaults={}, extras={}, message=nil)
assert_select(*args, &block)
assert_select_rjs(*args, &block)
assert_select_encoded(element = nil, &block)
assert_select_email(&block)
assert_tag(*opts)
assert_no_tag(*opts)

これだけかな?