Sha256: 9c138e9ef5353560b2eb16c20d2ff37514beac8b98de10bf5c06148fbae02dd2
Contents?: true
Size: 395 Bytes
Versions: 4
Compression:
Stored size: 395 Bytes
Contents
require "spec_helper" describe Yasf::Scraper do describe ".result" do it "raises without arguments" do lambda { Yasf::Scraper::result }.should raise_error(ArgumentError, "one symbol to return the value of this accessor") end it "Return a proc with two or more symbols" do Yasf::Scraper::result(:one, :tow, :three).should be_a(Proc) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
yasf-0.0.6 | spec/lib/yasf/scraper_spec.rb |
yasf-0.0.5 | spec/lib/yasf/scraper_spec.rb |
yasf-0.0.4 | spec/lib/yasf/scraper_spec.rb |
yasf-0.0.3 | spec/lib/yasf/scraper_spec.rb |