フィクスチャを一連の ActionController::Parameters に変換する方法はありますか?
例えば:
# contacts.yml
dan:
first_name: Dan
last_name: Gebhardt
email: dan@example.com
notes: Writes sample code without tests :/
joe:
first_name: Joe
last_name: Blow
email: joe@example.com
notes: Lousy plumber
# contacts_test.rb
@dan = contacts(:dan)
# create params that represent Dan?
@dan_as_params = ActionController::Parameters.new(???)
ありとあらゆる助けをいただければ幸いです。