mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 07:37:25 +01:00
Add test for shouldShow function
This commit is contained in:
@@ -183,6 +183,12 @@ describe('Challenges Controller', function() {
|
|||||||
it('selects no groups');
|
it('selects no groups');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
describe('shouldShow', function() {
|
||||||
|
it('overrides task controller function by always returning true', function() {
|
||||||
|
expect(scope.shouldShow()).to.eq(true);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
describe("save challenge", function() {
|
describe("save challenge", function() {
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user