mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +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});
|
||||
}));
|
||||
|
||||
it('defaults scope.order to name', () => {
|
||||
expect(scope.order).to.eql('text()')
|
||||
it('defaults scope.order to set', () => {
|
||||
expect(scope.order).to.eql('set')
|
||||
});
|
||||
|
||||
describe('#setOrder', () => {
|
||||
@@ -19,7 +19,6 @@ describe('Sortable Inventory Controller', () => {
|
||||
'intelligence',
|
||||
'perception',
|
||||
'strength',
|
||||
'name',
|
||||
'set'
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user