mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 01:21:23 +08:00
Revert "Revert Ember 2.10+ for a short while"
This reverts commit 21682fd60b92414348a0e4aecdab1bc5278e14e6.
This commit is contained in:
@ -15,7 +15,7 @@ test('defaults', function() {
|
||||
|
||||
test('pagination support', function() {
|
||||
const store = createStore();
|
||||
store.findAll('widget').then(function(rs) {
|
||||
return store.findAll('widget').then(function(rs) {
|
||||
equal(rs.get('length'), 2);
|
||||
equal(rs.get('totalRows'), 4);
|
||||
ok(rs.get('loadMoreUrl'), 'has a url to load more');
|
||||
@ -36,7 +36,7 @@ test('pagination support', function() {
|
||||
|
||||
test('refresh support', function() {
|
||||
const store = createStore();
|
||||
store.findAll('widget').then(function(rs) {
|
||||
return store.findAll('widget').then(function(rs) {
|
||||
equal(rs.get('refreshUrl'), '/widgets?refresh=true', 'it has the refresh url');
|
||||
|
||||
const promise = rs.refresh();
|
||||
|
Reference in New Issue
Block a user