test/repomen/repo/service/git_hub_test.rb in repomen-0.2.0 vs test/repomen/repo/service/git_hub_test.rb in repomen-0.2.1

- old
+ new

@@ -24,6 +24,14 @@ service = described_class.new(url) assert service.applicable? assert_equal "octocat", service.user_name assert_equal "Hello-World", service.repo_name end + + it "should recognize a Github URL via https w/o .git extension" do + url = "https://github.com/octocat/Hello-World" + service = described_class.new(url) + assert service.applicable? + assert_equal "octocat", service.user_name + assert_equal "Hello-World", service.repo_name + end end