
However, saving track's position is broken. Some are still there because of problems I don't know how to solve, e.g. circular dependency between notifications and player. Uses the queue controller for the sidebar queue. Moves loadTrackPosition to the main controller.
30 lines
900 B
JavaScript
30 lines
900 B
JavaScript
describe("Main controller", function() {
|
|
'use strict';
|
|
|
|
describe("updateFavorite -", function() {
|
|
|
|
it("when starring a song, it notifies the user that the star was saved", function() {
|
|
|
|
});
|
|
|
|
it("when starring an album, it notifies the user that the star was saved", function() {
|
|
|
|
});
|
|
|
|
it("when starring an artist, it notifies the user that the star was saved", function() {
|
|
|
|
});
|
|
|
|
it("given that the Subsonic server returns an error, when starring something, it notifies the user with the error message", function() {
|
|
//TODO: move to higher level
|
|
});
|
|
|
|
it("given that the Subsonic server is unreachable, when starring something, it notifies the user with the HTTP error code", function() {
|
|
//TODO: move to higher level
|
|
});
|
|
});
|
|
|
|
describe("toggleSetting -", function() {
|
|
|
|
});
|
|
});
|