feedparser 0.2.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,28 +0,0 @@
1
- ###
2
- # to run use
3
- # ruby -I ./lib -I ./test test/test_atom_from_file.rb
4
- # or better
5
- # rake test
6
-
7
- require 'helper'
8
-
9
-
10
- class TestAtomFromFile < MiniTest::Test
11
-
12
- def test_googlegroup
13
- feed = parse_feed_from_file( 'googlegroups.atom' )
14
-
15
- assert_equal 'atom', feed.format
16
- assert_equal 'Google Groups', feed.generator
17
- assert_equal 'https://groups.google.com/d/forum/beerdb', feed.url
18
- end
19
-
20
- def test_googlegroup2
21
- feed = parse_feed_from_file( 'googlegroups2.atom' )
22
-
23
- assert_equal 'atom', feed.format
24
- assert_equal 'Google Groups (w/ leading n trailing newlines stripped)', feed.generator
25
- assert_equal 'https://groups.google.com/d/forum/beerdb', feed.url
26
- end
27
-
28
- end # class TestAtomFromFile