title: How to find a variable with rspec tests using page.find
body: <p>I have a test case, most of my other pages have at least one field that is just straight text and can be found using:</p>
  
  <pre><code>page.find("tr", text: "What I filled in").find("a.tick").click
  </code></pre>
  
  <p>This page all of the options are drop down selects, so how do I find a variable?
  The rest of the syntax looks like this:</p>
  
  <pre><code>it "edits person job and redirects to index" do
      expect(p = FactoryGirl.create(:person)).to be_valid()
      expect(j = FactoryGirl.create(:job)).to be_valid()
      visit new_job_path
      select p.name, from: "person_job_person_id"
      select p.name, from: "person_job_job_id"
      click_button "create person job"
      page.find("tr", p).find("a.tick").click
  end
  </code></pre>
  
  <p>it is unable to find the p to click?</p>