title: How do I test for the value of a variable in serverspec
body: <p>I have a fairly simple task to complete. I'm writing a number of tests for a Chef project I'm working on. Serverspec gives you resources such as <code>command</code>, <code>file</code>, etc. What I want to do is simply check for the value of a variable, ie:</p>
  
  <pre><code>someVar = "some value dynamically determined"
  describe someVar do
     someVar.nil?
  end
  </code></pre>
  
  <p>I'm sort of new to ruby, and I'm not exactly sure how to proceed.</p>