Methods
- T
-
- test_initialize_takes_class,
- test_load_doesnt_handle_undefined_class_or_module,
- test_load_doesnt_swallow_yaml_exceptions,
- test_load_handles_other_classes,
- test_nil_is_ok,
- test_returns_new_with_different_class,
- test_returns_string_unless_starts_with_dash,
- test_type_mismatch_on_different_classes,
- test_type_mismatch_on_different_classes_on_dump
Instance Public methods
test_initialize_takes_class()
Link
test_load_doesnt_handle_undefined_class_or_module()
Link
# File activerecord/test/cases/coders/yaml_column_test.rb, line 54 def test_load_doesnt_handle_undefined_class_or_module coder = YAMLColumn.new missing_class_yaml = '--- !ruby/object:DoesNotExistAndShouldntEver {}\n' assert_raises(ArgumentError) do coder.load(missing_class_yaml) end end
test_load_doesnt_swallow_yaml_exceptions()
Link
test_load_handles_other_classes()
Link
test_nil_is_ok()
Link
test_returns_new_with_different_class()
Link
test_returns_string_unless_starts_with_dash()
Link
test_type_mismatch_on_different_classes()
Link