test/repo_finder_test.rb in gemdiff-0.4.0 vs test/repo_finder_test.rb in gemdiff-0.4.1

- old
+ new

@@ -17,9 +17,13 @@ it "returns nil when not found" do RepoFinder.stubs octokit_client: mock_octokit(nil) RepoFinder.stubs find_homepage_in_spec: "" assert_nil RepoFinder.github_url("not_found") end + + it "returns exception url" do + assert_equal "http://github.com/rails/rails", RepoFinder.github_url('activerecord') + end end private def mock_octokit(full_name)