test/test_configure.rb in kanoko-0.0.3 vs test/test_configure.rb in kanoko-0.0.4
- old
+ new
@@ -4,22 +4,9 @@
class TestKanokoConfigure < Minitest::Test
def setup
@config = Kanoko::Configure.new
end
- def test_kanoko_host
- assert_raises(Kanoko::ConfigureError) { @config.kanoko_host = "/example.com" }
-
- @config.kanoko_host = "example.com"
- assert_equal "http://example.com", @config.kanoko_host
-
- @config.kanoko_host = "http://example.com"
- assert_equal "http://example.com", @config.kanoko_host
-
- @config.kanoko_host = "https://example.com"
- assert_equal "https://example.com", @config.kanoko_host
- end
-
def test_hash_proc_by_default_error
@config.digest_func = nil
@config.secret_key = nil
assert_raises(Kanoko::ConfigureError){ @config.hash_proc.call }