title: How to run an RSpec test after a specified length of time?
body: <p>I am working on RSpec smoke tests. The project that I need to test makes asynchronous calls, so I need to do some test cases after a specified length of time. </p>
  
  <p>Example: </p>
  
  <pre><code>describe "Whatever Test Automation" do
    context "When logged in .." do
      it "does specific things" do
        bla bla ..
      end
  
      it "does specific things 2" do
        bla bla ..
      end
  
    end
  end
  </code></pre>
  
  <p>How can I run the second test after a specified length of time, let`s say 20 minutes? If it is not possible to do that in code, Is there any configuration in Jenkins?</p>