Skip to content
This repository has been archived by the owner on Jan 29, 2022. It is now read-only.

Commit

Permalink
Clean up repo_user test
Browse files Browse the repository at this point in the history
  • Loading branch information
David Hollinger committed Nov 16, 2017
1 parent a1865eb commit 2aaa2a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/unit/parsers/webhook_json_parser_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
repo_name: 'puppet-r10k'
)
end
it 'doesn\'t populate repo_user' do
it 'does not populate repo_user', unless: service =~ %r{github|gitlab} do
# The stash payload doesn't contain anything we could use for repo_user
expect(result).not_to include(:repo_user) unless service =~ %r{github|gitlab}
expect(result).not_to include(:repo_user)
end
end
context 'payload is for a delete' do
Expand Down

0 comments on commit 2aaa2a7

Please sign in to comment.