title: How to create a fixture ActsAsTaggableOn with FactoryGirl?
body: <p>How can i create a fixture for <a href="https://github.com/mbleigh/acts-as-taggable-on" rel="noreferrer">ActsAsTaggableOn::tag</a> Using FactoryGirl ?</p>
  
  <p>I tried :</p>
  
  <p>/spec/factories/tags.rb</p>
  
  <pre><code>Factory.define ActsAsTaggableOn::Tag do |f|
    f.sequence(:name) { |n| "titre#{n}" }
  end
  </code></pre>
  
  <p>/spec/controllers/books_controller.rb</p>
  
  <pre><code>it "should return 2 categories whith books" do
  
        fake_tag = Factory(:tag)
  ...
  
  end
  </code></pre>
  
  <p>I get :</p>
  
  <pre><code>Failure/Error: fake_tag = Factory(:tag)
       ArgumentError:
         Factory not registered: tag
  </code></pre>
  
  <p>Thanks for your help,
  Vincent</p>