Skip to content

Instantly share code, notes, and snippets.

@timrchavez
Created October 16, 2017 21:42
Show Gist options
  • Save timrchavez/3ab1e940435543817280e34048b9d2a5 to your computer and use it in GitHub Desktop.
Save timrchavez/3ab1e940435543817280e34048b9d2a5 to your computer and use it in GitHub Desktop.
...............................I, [2017-10-16T21:35:53.403421 #9567] INFO -- : puffing-billy: Proxy listening on http://localhost:42269
I, [2017-10-16T21:35:53.736285 #9567] INFO -- : puffing-billy: STUB GET for 'https://test.example.com:443/repos/jtarchie/test/pulls?direction=asc&per_page=100&sort=updated&state=open'
.I, [2017-10-16T21:35:53.741308 #9567] INFO -- : puffing-billy: Proxy listening on http://localhost:33449
fatal: Not a git repository (or any of the parent directories): .git
FI, [2017-10-16T21:35:53.790151 #9567] INFO -- : puffing-billy: Proxy listening on http://localhost:37315
F
Failures:
1) get for every PR that is checked out checks out the pull request to dest_dir
Failure/Error: expect(@ref).to eq git('log --format=format:%H HEAD', dest_dir)
expected: ""
got: "e20d9a4b5c1c3f1b80c8c4b54584382d5437607f"
(compared using ==)
# ./spec/integration/in_spec.rb:43:in `block (3 levels) in <top (required)>'
2) out when the git repo has no pull request meta information sets the status just on the SHA
Failure/Error:
expect(output).to eq('version' => { 'ref' => @sha },
'metadata' => [
{ 'name' => 'status', 'value' => 'pending' }
])
expected: {"version"=>{"ref"=>"8bee6a6f5d3dfa183181028cd1b6c7a816fc4296"}, "metadata"=>[{"name"=>"status", "value"=>"pending"}]}
got: nil
(compared using ==)
# ./spec/integration/out_spec.rb:46:in `block (3 levels) in <top (required)>'
Finished in 2.43 seconds (files took 0.41649 seconds to load)
66 examples, 2 failures
Failed examples:
rspec ./spec/integration/in_spec.rb:41 # get for every PR that is checked out checks out the pull request to dest_dir
rspec ./spec/integration/out_spec.rb:42 # out when the git repo has no pull request meta information sets the status just on the SHA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment