We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 362b0ae commit 8b62111Copy full SHA for 8b62111
1 file changed
spec/repository_spec.rb
@@ -39,6 +39,17 @@
39
it "respects the source branch" do
40
expect(repo.git_ref).to eql("master")
41
end
42
+ end
43
+
44
+ context "repository information" do
45
+ let(:nwo) { "jekyll/jekyll" }
46
+ let!(:stub) do
47
+ stub_api(
48
+ "/repos/#{nwo}/pages",
49
+ "repo",
50
+ "Accept" => "application/vnd.github.v3+json"
51
+ )
52
53
54
it "returns the stargazers_count" do
55
expect(repo.stargazers_count).to eq(22)
0 commit comments