title: Puppet Rspec: class has not been evaluated
body: <p>I am writing an rspec test for a puppet module which makes the following call:</p>
  
  <pre><code>lookupvar('services::service')
  </code></pre>
  
  <p>When I run the test I get the following warning:
  <code>Could not look up qualified variable 'services::service'; class services has not been evaluated</code></p>
  
  <p>I can work around the problem by including <em>services</em> module in my init.pp. However, is there a way to require <em>services</em> module from my test, e.g. spec_helper.rb or the test case itself?</p>