title: Attach file Fixtures Minitest
body: <p>I'm trying to attach a image in a fixure model following <a href="https://edgeguides.rubyonrails.org/testing.html#file-attachment-fixtures" rel="nofollow noreferrer">this guide</a>, but all my tests are failing due the following error</p>
  <pre><code>NameError: uninitialized constant ActiveStorage::FixtureSet
  test/fixtures/active_storage/blobs.yml:1:in `get_binding'
  </code></pre>
  <p>I couldn't find anyone who have unintializer the ActiveStorage::FixtureSet</p>
  <p>my blob fixture</p>
  <pre><code>cafe_blob: &lt;%= ActiveStorage::FixtureSet.blob( 
    filename: &quot;cafe.jpg&quot;, 
  ) %&gt;
  soda_blob: &lt;%= ActiveStorage::FixtureSet.blob( 
    filename: &quot;soda.jpg&quot;, 
  ) %&gt;
  </code></pre>