From 10ac7ea7a67b7a15146ae7c9c0ba9ba74876df81 Mon Sep 17 00:00:00 2001 From: Felix Yan Date: Wed, 4 Nov 2015 20:18:37 +0800 Subject: [PATCH] Add a testcase for RubyGems --- tests/test_gems.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/test_gems.py diff --git a/tests/test_gems.py b/tests/test_gems.py new file mode 100644 index 0000000..1ea2fa3 --- /dev/null +++ b/tests/test_gems.py @@ -0,0 +1,6 @@ +from tests.helper import ExternalVersionTestCase + + +class RubyGemsTest(ExternalVersionTestCase): + def test_gems(self): + self.assertEqual(self.sync_get_version("example", {"gems": None}), "1.0.2")