~ubuntu-branches/ubuntu/intrepid/ruby1.9/intrepid-updates

« back to all changes in this revision

Viewing changes to test/rss/test_inherit.rb

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-09-04 16:01:17 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20070904160117-i15zckg2nhxe9fyw
Tags: 1.9.0+20070830-2ubuntu1
* Sync from Debian; remaining changes:
  - Add -g to CFLAGS.
* Fixes build failure on ia64.
* Fixes build failure with gcc-4.2 on lpia.
* Robustify check for target_os, fixing build failure on lpia.
* Set Ubuntu maintainer address.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
      def self.indent_size; 1; end
10
10
      def self.tag_name; 'image'; end
11
11
    end
12
 
    
 
12
 
13
13
    def setup
14
14
      @rss = make_RDF(<<-EOR)
15
15
#{make_channel}
18
18
#{make_textinput}
19
19
EOR
20
20
    end
21
 
    
 
21
 
22
22
    def test_inherit
23
23
      rss = RSS::Parser.parse(@rss)
24
24
      orig_image = rss.image
36
36
      assert_equal("#{prefix} #{orig_image.url}", new_image.url)
37
37
      assert_equal("#{prefix} #{orig_image.link}", new_image.link)
38
38
    end
39
 
    
40
39
  end
41
40
end