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

Fix TFS checks and add more fixtures/tests #22

Merged
merged 5 commits into from
Nov 16, 2017

Conversation

dhollinger
Copy link
Member

  • Fixed TFS check
  • Added TFS deleted? check
  • Added fixtures and tests for:
    • Github
    • Gitlab
    • Bibucket.org
    • Microsoft TFS

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling a1865eb on dhollinger:add_more_fixtures into ** on voxpupuli:master**.

Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

repo_name: 'puppet-r10k'
)
end
it 'doesn\'t populate repo_user' do
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you cn also write it 'doesn\'t pupulate repo_user', unless: service =~ %r{github|gitlab} do

@@ -78,7 +78,8 @@ def branch
when 'stash'
@data['refChanges'][0]['refId'].sub('refs/heads/', '')
when 'bitbucket'
@data['push']['changes'][0]['new']['name']
return @data['push']['changes'][0]['new']['name'] unless deleted?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, unless deleted? did work! :)

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 2aaa2a7 on dhollinger:add_more_fixtures into ** on voxpupuli:master**.

@dhollinger dhollinger merged commit 45ded79 into voxpupuli:master Nov 16, 2017
@dhollinger dhollinger deleted the add_more_fixtures branch November 16, 2017 19:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants