require File.join(File.dirname(__FILE__), 'helper')

class NovellPlugin_test < Test::Unit::TestCase

  def test_urls_are_correct
    client = Bicho::Client.new('https://bugzilla.novell.com')

    assert_raises NoMethodError do
      client.url
    end

    assert_equal 'https://apibugzilla.novell.com/tr_xmlrpc.cgi', "#{client.api_url.scheme}://#{client.api_url.host}#{client.api_url.path}"
    assert_equal 'https://bugzilla.novell.com', "#{client.site_url.scheme}://#{client.site_url.host}#{client.site_url.path}"

  end

end

Add test for Novell bugzilla plugin
Add test for Novell bugzilla plugin
