+
Skip to content

Conversation

jmar910
Copy link
Contributor

@jmar910 jmar910 commented Apr 16, 2018

We found a candidate model on the Heroku Dashboard for something that could live inside this addon

@elwayman02
Copy link
Owner

This looks great! @Dhaulagiri feel free to roll this out on a schedule that is convenient for your app, if this is good to go.

Copy link
Collaborator

@Dhaulagiri Dhaulagiri left a comment

Choose a reason for hiding this comment

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

Looks great! Left a few cleanup comments.


test('retrieving github repository contents', function(assert) {
assert.expect(4);
server.logging = true;
Copy link
Collaborator

Choose a reason for hiding this comment

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

this can be removed

file: 'app.json'
}).then((content) => {
assert.githubRepositoryContentsOk(content);
assert.equal(store.peekAll('githubRepositoryContents').get('length'), 1);
Copy link
Collaborator

Choose a reason for hiding this comment

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

can you add a 3rd parameter for this assert loads 1 repository contents?

@@ -0,0 +1,12 @@
import GitHubAdapter from './github';
Copy link
Collaborator

Choose a reason for hiding this comment

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

I prefer to explicit on these imports so that any file moves don't surprise us. Could you update this and all other new imports to have ember-data-github/<thing>/<name> in them

@jmar910
Copy link
Contributor Author

jmar910 commented Apr 16, 2018

thanks @elwayman02 & @Dhaulagiri !

@jmar910 jmar910 force-pushed the jm-add-github-repo-content branch from 7334db5 to fdd0f50 Compare April 16, 2018 21:07
@jmar910
Copy link
Contributor Author

jmar910 commented Apr 16, 2018

@Dhaulagiri done and done

Copy link
Collaborator

@Dhaulagiri Dhaulagiri left a comment

Choose a reason for hiding this comment

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

Thanks!!

@Dhaulagiri Dhaulagiri merged commit 29c67ca into elwayman02:master Apr 17, 2018
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.

3 participants

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