Sha256: d3902d9e621b6438817a6854fb30975428acef698866fc89f0e58114a112c378

Contents?: true

Size: 364 Bytes

Versions: 1

Compression:

Stored size: 364 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
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lookup-1.0.0.beta3 spec/regressions_spec.rb