fbe 0.0.70 → 0.0.71
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fbe/github_graph.rb +4 -0
- data/lib/fbe.rb +1 -1
- data/test/fbe/test_github_graph.rb +6 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d3d98cff29df2eb4e4260d8806bef3fa8248d23f817fc4b9ef346053e05fbd17
|
4
|
+
data.tar.gz: 4519dd55fb5c4f17e3055bbf3d4958ae345f102a6a79c4fdb5b3c2d4b9bd3367
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f423fa6c81d2ccd42a5d39f8395a307645d42a4f14a23a8454141c0eeabb346e3ceb3c332f7588ab8bed154e3d93900b0d213381fd5e75698d352f8ed7b0a5a9
|
7
|
+
data.tar.gz: 48152236cb7e1c9f7935c7bac2161b1030fd00b411c41f1ea47371d5ac7aa2b776323114a1ffd227be3929a448e8f7e22a8a6bdd6be66e10d4661b69cb3b778b
|
data/lib/fbe/github_graph.rb
CHANGED
data/lib/fbe.rb
CHANGED
@@ -131,4 +131,10 @@ class TestGitHubGraph < Minitest::Test
|
|
131
131
|
assert_equal(23, result['issues'])
|
132
132
|
assert_equal(19, result['pulls'])
|
133
133
|
end
|
134
|
+
|
135
|
+
def test_fake_total_commits
|
136
|
+
WebMock.disable_net_connect!
|
137
|
+
graph = Fbe.github_graph(options: Judges::Options.new('testing' => true), loog: Loog::NULL, global: {})
|
138
|
+
assert_equal(1484, graph.total_commits('zerocracy', 'fbe', 'master'))
|
139
|
+
end
|
134
140
|
end
|