title: Rails Testing: Failing "Create" specs with deadlocked controllers
body: <p>I have controllers - Survey, Questions and Options. 
  I cannot save Survey without creating Questions first. And in turn Questions cannot be created  creating Options first. How to get "create" specs pass for Survey controller...
  Surveys_Controller_spec.rb</p>
  
  <pre><code>describe "POST 'create'" do
  before(:each) do
    @user = FactoryGirl.create(:activated_user)
    login_user(@user)
  end
  
  context "with valid parameters" do      
    let(:parameters) { { :title =&gt; "Title of the Survey", :description =&gt; "description", :activated      =&gt; "false", :participant_info =&gt; "0", :is_draft =&gt; "true",  :thank_you_message =&gt; "Thank You", :user_id =&gt; @user.id } }
  
    it "creates a new survey" do
      expect { post :create, :survey =&gt; parameters }.to change(Survey, :count).by(1)
    end
  </code></pre>
  
  <p>Surveys_Controller.rb</p>
  
  <pre><code>def create
    @survey = convert_enums(current_user.surveys.new(params[:survey]), params)
    respond_to do |format|
    if @survey.save
      format.html { redirect_to dashboard_path, :notice =&gt; "Survey was successfully created!"}
    else
      format.html { render :new }
    end
   end
  </code></pre>