Sha256: 26ca495eb5b54c11f21b3ff55a898f113a784778a0bb099de2bcf13ee9f6b27a
Contents?: true
Size: 386 Bytes
Versions: 1
Compression:
Stored size: 386 Bytes
Contents
require 'spec_helper' describe 'Feed' do before do @feed_uri = File.expand_path(File.dirname(__FILE__) + '/data/feed.rss') @feed = Feed2Mail::Feed.new(@feed_uri) end context '#new' do it 'has an URI when created' do @feed.uri.should == @feed_uri end end context 'feeds' do it 'load all items' do @feed.should have(2).items end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
feed2mail-0.0.1 | spec/feed_spec.rb |