require File.join(File.dirname(__FILE__), '..', 'CONFIG.rb') require 'test/unit' require 'nitro/helper/xhtml' class TC_XhtmlHelper < Test::Unit::TestCase # :nodoc: all include Nitro include XhtmlHelper def test_all end def test_popup res = popup :text => 'Pop', :url => 'add-comment', :scrollbars => true exp = %{Pop} assert_equal exp, res end end