mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-04-14 19:47:03 +00:00
Add test for shouldShow function
This commit is contained in:
parent
26b3ab1f9a
commit
061e6dbfa5
1 changed files with 6 additions and 0 deletions
|
|
@ -183,6 +183,12 @@ describe('Challenges Controller', function() {
|
|||
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() {
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue