Sha256: 55a55c5be5eac632de4c91721188d7cbc3bec13dab7ee6a95043441e0a8d32bd
Contents?: true
Size: 486 Bytes
Versions: 6
Compression:
Stored size: 486 Bytes
Contents
require File.dirname(__FILE__) + '/spec_helper' describe "testing for regressions" do it "should not fail if an initial hash is specified" do lambda { Lookup.search("v2.3.8 #today?") }.should_not raise_error end it "must have an API specified" do lambda { Lookup.search("ActiveRecord::Base") }.should raise_error(Lookup::APINotFound) end it "must have a valid URL" do Lookup.search("1.9 Array#shuffle").first.url.scan("http").size.should eql(1) end end
Version data entries
6 entries across 6 versions & 1 rubygems