Skip to content

Commit

Permalink
Merge pull request #57 from collectrium/remove_deprecation
Browse files Browse the repository at this point in the history
Remove deprecation
  • Loading branch information
vvscode authored Mar 20, 2017
2 parents a17d348 + 7b28961 commit 5c60161
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addon/adapters/socket.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ export default DS.RESTAdapter.extend({
* @param query
* @returns {Ember.RSVP.Promise}
*/
findQuery: function(store, type, query) {
query: function(store, type, query) {
return this.send(type, 'READ_LIST', query);
},

Expand Down
2 changes: 1 addition & 1 deletion tests/integration/socket-adapter-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ test('Find All Posts without options', function(assert) {
test('Find Posts with meta', function(assert) {
assert.expect(2);
run(() => {
all([store.findQuery('post', { limit: 1 }), store.findQuery('post', { limit: 2 })]).then((response) => {
all([store.query('post', { limit: 1 }), store.findQuery('post', { limit: 2 })]).then((response) => {
assert.equal(get(response[0], 'meta.total'), 1, 'meta.total in first query should be equal 1');
assert.equal(get(response[1], 'meta.total'), 2, 'meta.total in first query should be equal 2');
});
Expand Down

0 comments on commit 5c60161

Please sign in to comment.