Sha256: 296927c2dc708f55ea01e8ab634407dae5f2d7a6c8c801860404dd6385cad021

Contents?: true

Size: 406 Bytes

Versions: 3

Compression:

Stored size: 406 Bytes

Contents

require File.dirname(__FILE__) + '/spec_helper'

describe Anemone do
  
  it "should have a version" do
    Anemone.const_defined?('VERSION').should == true
  end

  it "should return a Anemone::Core from the crawl, which has a PageHash" do
    result = Anemone.crawl(SPEC_DOMAIN)
    result.should be_an_instance_of(Anemone::Core)
    result.pages.should be_an_instance_of(Anemone::PageHash)
  end
  
end

Version data entries

3 entries across 3 versions & 3 rubygems

Version Path
spk-anemone-0.2.4 spec/anemone_spec.rb
shingara-anemone-0.2.4 spec/anemone_spec.rb
anemone-0.2.3 spec/anemone_spec.rb