Skip to content

Add github-compare#140

Merged
Dhaulagiri merged 1 commit into
masterfrom
br-compare
Feb 13, 2018
Merged

Add github-compare#140
Dhaulagiri merged 1 commit into
masterfrom
br-compare

Conversation

@Dhaulagiri

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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