require 'spec_helper' describe Earl do describe '#parse' do it 'should return an Earl::URL' do Earl.parse( 'www.foo.com' ).should be_an( Earl::URL ) end end end