Sha256: 747c5ca02060dff31847a14c7032028eb1558d0811abb706e600850f37f901ee
Contents?: true
Size: 537 Bytes
Versions: 1
Compression:
Stored size: 537 Bytes
Contents
require 'spec_helper' describe Instascraper do it 'should download all your bookmarks' do i = Instascraper.new('andrewnez+instascraper@gmail.com', 'test') bookmarks = i.bookmarks bookmarks.class.should eql(Array) bookmarks.first.class.should eql(Instascraper::Bookmark) bookmarks.first.title.should match /Teabass.com/ bookmarks.first.link.should match /http:\/\/teabass.com/ bookmarks.first.text.should match /http:\/\/www.instapaper.com\/text\?u=http%3A%2F%2Fteabass.com&article=193664503/ end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
instascraper-0.0.2 | spec/instascraper_spec.rb |