title: Using factory girl, Rspec2 and Rails 3.1.0
body: <p>Currently I'm trying to integrate factory girl for my testing framework. I was successfully  able to integrate factory girl with my rails 3.1.0 app and its working fine. </p>
  
  <p>I'm using </p>
  
  <ul>
  <li>rspec2</li>
  <li>factory girl</li>
  <li>rails 3.1.0</li>
  </ul>
  
  <p>Following are the references I had</p>
  
  <p><a href="http://www.pmamediagroup.com/2009/04/tutorial-install-rspec-rails-factory-girl/" rel="nofollow noreferrer">http://www.pmamediagroup.com/2009/04/tutorial-install-rspec-rails-factory-girl/</a></p>
  
  <p><a href="https://github.com/thoughtbot/factory_girl/wiki" rel="nofollow noreferrer">https://github.com/thoughtbot/factory_girl/wiki</a></p>
  
  <p><a href="http://rdoc.info/github/thoughtbot/factory_girl/master" rel="nofollow noreferrer">http://rdoc.info/github/thoughtbot/factory_girl/master</a></p>
  
  <p><a href="http://www.deploymentzone.com/2011/05/19/factory_girl-rspec-2-and-rails-3/" rel="nofollow noreferrer">http://www.deploymentzone.com/2011/05/19/factory_girl-rspec-2-and-rails-3/</a></p>
  
  <p><a href="http://www.codethinked.com/rails-3-baby-steps-part-3" rel="nofollow noreferrer">http://www.codethinked.com/rails-3-baby-steps-part-3</a></p>
  
  <p>And i could write some test cases like</p>
  
  <pre><code>it "user should valid with name" do
      user = Factory.build(:with_name)
      user.should be_valid
  end
  </code></pre>
  
  <p>So as I can see there are commands like <code>'should be_valid'</code>, My question is , is there any place I can get all the commands in one place, so that I can see what are the commands I can use, like <code>should be_valid</code>.</p>
  
  <p>I have gone through the factorygirl documentation, but couldn't find any place like that.</p>