~ubuntu-branches/ubuntu/raring/jruby/raring

« back to all changes in this revision

Viewing changes to test/externals/ruby1.9/rss/test_maker_xml-stylesheet.rb

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Delafond
  • Date: 2010-05-12 15:56:25 UTC
  • mfrom: (1.2.1 upstream) (4.1.1 maverick)
  • Revision ID: james.westby@ubuntu.com-20100512155625-sgdfaj1hn8k84090
Tags: 1.5.0~rc3-1
New upstream release (Closes: #581360).

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
      assert_equal(charset, xss.charset)
36
36
      assert_equal(alternate, xss.alternate)
37
37
 
38
 
      
 
38
 
39
39
      href = 'http://example.com/index.xsl'
40
40
      type = 'text/xsl'
41
41
      rss = RSS::Maker.make("1.0") do |maker|
55
55
    def test_not_valid_xml_stylesheet
56
56
      href = 'xss.XXX'
57
57
      type = "text/xsl"
58
 
      
 
58
 
59
59
      rss = RSS::Maker.make("1.0") do |maker|
60
60
        maker.xml_stylesheets.new_xml_stylesheet do |xss|
61
61
          # xss.href = href
78
78
      end
79
79
      assert(rss.xml_stylesheets.empty?)
80
80
    end
81
 
    
 
81
 
82
82
  end
83
83
end