title: How to define an array / hash in factory_bot?
body: <p>I am trying to write a test that simulates some return values from Dropbox's REST service that gives me back data in an Array, with a nested hash.</p>
  
  <p>I am having trouble figuring out how to code my Factory since the return result is an array with a has inside.  What would go here?</p>
  
  <pre><code>Factory.define :dropbox_hash do
   ??
  end
  </code></pre>
  
  <p>Dropbox data looks like this:</p>
  
  <pre><code> ["/home", {"revision"=&gt;48, "rev"=&gt;"30054214dc", "thumb_exists"=&gt;false, "bytes"=&gt;0, "modified"=&gt;"Thu, 29 Dec 2011 01:53:26 +0000", "path"=&gt;"/Home", "is_dir"=&gt;true, "icon"=&gt;"folder_app", "root"=&gt;"app_folder", "size"=&gt;"0 bytes"}] 
  </code></pre>
  
  <p>And I'd like a factory call like this in my RSpec:</p>
  
  <pre><code>Factory.create(:dropbox_hash)
  </code></pre>