mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
Update tests to us set by default
This commit is contained in:
@@ -6,8 +6,8 @@ describe('Sortable Inventory Controller', () => {
|
|||||||
$controller('SortableInventoryController', {$scope: scope});
|
$controller('SortableInventoryController', {$scope: scope});
|
||||||
}));
|
}));
|
||||||
|
|
||||||
it('defaults scope.order to name', () => {
|
it('defaults scope.order to set', () => {
|
||||||
expect(scope.order).to.eql('text()')
|
expect(scope.order).to.eql('set')
|
||||||
});
|
});
|
||||||
|
|
||||||
describe('#setOrder', () => {
|
describe('#setOrder', () => {
|
||||||
@@ -19,7 +19,6 @@ describe('Sortable Inventory Controller', () => {
|
|||||||
'intelligence',
|
'intelligence',
|
||||||
'perception',
|
'perception',
|
||||||
'strength',
|
'strength',
|
||||||
'name',
|
|
||||||
'set'
|
'set'
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user