title: Correct way to test lib folder with rspec?
body: <p>I have a test that tries to test a class located in lib folder.</p>
  
  <p>Right now I do this in my parser_spec.rb</p>
  
  <pre><code>require 'spec_helper'
  require 'parser' --&gt; Because my class is /lib/parser.rb
  
  describe "parser" do
    it "needs a url to initialize" do
      expect { Parser.new }.to raise_error(ArgumentError)
    end
  end
  </code></pre>
  
  <p>What would be the correct way to include all the lib files, so that they are in the scope of the rspec tests?</p>