Skip to content

Commit 0d149e9

Browse files
authored
Merge pull request #921 from github/regex
Fix improperly bound regex
2 parents 43aa23e + fdf1e16 commit 0d149e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/spec_helper.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
# Stub all GitHub API requests so they come back empty.
1818
config.before(:each) do
19-
stub_request(:get, /api.github.com/)
19+
stub_request(:get, /api\.github\.com/)
2020
.to_return(:status => 200, :body => "{}", :headers => {})
2121
end
2222
end

0 commit comments

Comments
 (0)