aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2013-02-04 09:48:21 +0100
committerYves Senn <yves.senn@gmail.com>2013-03-07 17:26:35 +0100
commitfa18c61153bea05e72e674e376d874d8ad7679ea (patch)
treec0176e7e5a9d7c62222e11e003b305a299ce04d8 /activerecord/test/fixtures
parentd3adfd6d3b6bb07f4e4d56b017eff1ff740523ff (diff)
downloadrails-fa18c61153bea05e72e674e376d874d8ad7679ea.tar.gz
rails-fa18c61153bea05e72e674e376d874d8ad7679ea.tar.bz2
rails-fa18c61153bea05e72e674e376d874d8ad7679ea.zip
test case for `serialize` default values.
Closes #9110
Diffstat (limited to 'activerecord/test/fixtures')
-rw-r--r--activerecord/test/fixtures/traffic_lights.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/traffic_lights.yml b/activerecord/test/fixtures/traffic_lights.yml
index 6dabd53474..81b4e47959 100644
--- a/activerecord/test/fixtures/traffic_lights.yml
+++ b/activerecord/test/fixtures/traffic_lights.yml
@@ -4,3 +4,7 @@ uk:
- Green
- Red
- Orange
+ long_state:
+ - "Green, go ahead"
+ - "Red, wait"
+ - "Orange, caution light is about to switch" \ No newline at end of file