Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add github-compare #140

Merged
merged 1 commit into from
Feb 13, 2018
Merged

Add github-compare #140

merged 1 commit into from
Feb 13, 2018

Conversation

Dhaulagiri
Copy link
Collaborator

Adds the ability to compare two commits:

this.get('store').queryRecord('github-compare', { repo: 'jimmay5469/old-hash', base: '1234', head: '5678' });

API docs

}
});

test('finding a comparison without authorization', function (assert) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

for consistency i included separate tests for authed/not authed but in general I'm not sure how useful constantly testing this difference. It seems like we could test this once at the adapter level or something and get rid of all of this from the acceptance tests as they aren't really testing that auth is working in any meaningful way unless I'm missing something

Copy link
Owner

Choose a reason for hiding this comment

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

Yea I don't have any strong preference on the auth/non-auth stuff.

@Dhaulagiri Dhaulagiri changed the title Add github-compare [WIP] Add github-compare Feb 12, 2018
@Dhaulagiri Dhaulagiri changed the title [WIP] Add github-compare Add github-compare Feb 12, 2018
@Dhaulagiri
Copy link
Collaborator Author

This should be good to go now

@Dhaulagiri Dhaulagiri merged commit 073b474 into master Feb 13, 2018
@Dhaulagiri Dhaulagiri deleted the br-compare branch February 13, 2018 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants