aboutsummaryrefslogtreecommitdiff
path: root/test/getOptions.js
diff options
context:
space:
mode:
authorJosh Callender <[email protected]>2015-04-24 12:57:16 -0700
committerJosh Callender <[email protected]>2015-04-24 13:10:02 -0700
commitfba900513bb8653d8d83b7c35053be72d519d5d6 (patch)
treeba157de6de2f00555550050b92d8b4affc58706a /test/getOptions.js
parent45ef2a5508ed4485a0ee15354dcb1e3829fa9a6e (diff)
downloadnode-coveralls-fba900513bb8653d8d83b7c35053be72d519d5d6.tar.xz
node-coveralls-fba900513bb8653d8d83b7c35053be72d519d5d6.zip
CI_PULL_REQUEST is just the url for the entire PR, have to split it and
grab the number there. CIRCLE_PR_NUMBER is only defined for forks.
Diffstat (limited to 'test/getOptions.js')
-rw-r--r--test/getOptions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/getOptions.js b/test/getOptions.js
index 12505a1..05f9657 100644
--- a/test/getOptions.js
+++ b/test/getOptions.js
@@ -286,7 +286,7 @@ var testCircleCi = function(sut, done){
sut(function(err, options){
options.service_name.should.equal("circleci");
options.service_job_id.should.equal("1234");
- options.service_pull_request.should.equal('http://github.com/node-coveralls/pull/3');
+ options.service_pull_request.should.equal('3');
options.git.should.eql({ head:
{ id: 'e3e3e3e3e3e3e3e3e',
author_name: 'Unknown Author',