serialize :file_names, Array フィールドを持つRailsのActiveRecordがあります
私のキュウリの details.feature には、次のようなものがあります。
Given the following dist_details exist
| effective_date | company_id | file_names | sent_at |
| 2012-03-01 | 1 | test1.pdf,test2.pdf | 2012-04-01 13:00:00 |
| 2012-04-01 | 2 | test3.pdf,test4.pdf | 2012-04-01 14:00:00 |
きゅうりのテストを実行すると、次のエラーが表示されます。
Attribute was supposed to be a Array, but was a String
(ActiveRecord::SerializationTypeMismatch)
./features/step_definitions/pickle_steps.rb:15:in `/^the following ((
file_names test1.pdf、test2.pdfの配列値を自動入力する方法??