+
Skip to content

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

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载