Sha256: c60b9a107e8c298e3831471c24501129bc20d0b32860405d34ef48f278b37c78
Contents?: true
Size: 444 Bytes
Versions: 1
Compression:
Stored size: 444 Bytes
Contents
require 'spec_helper' module Rea describe DBLP, "search" do def search(x) DBLP.search(x) end it 'works with a title' do search(:title => "Generating Annotated Behavior Models").should be_a(Alf::Relation) end it 'raises an NotImplementedError if no title' do lambda{ search(:author => "Lambeau") }.should raise_error(NotImplementedError, /Lambeau/) end end # describe DBLP#grab end # module Rea
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rea-0.0.1 | spec/rea-dblp/test_search.rb |