Fix starring songs in the playing queue

This commit is contained in:
Hyzual 2015-07-20 23:31:27 +02:00
parent fa1dec8e34
commit 9804561ebd
3 changed files with 72 additions and 10 deletions

View file

@ -208,7 +208,7 @@ describe("Main controller", function () {
expect(notifications.updateMessage).toHaveBeenCalledWith('Favorite Updated!', true);
});
it("Given a song that was starred, when I toggle its star, then subsonic service will be called, the song will be starred and a notification will be displayed", function () {
it("Given a song that was starred, when I toggle its star, then subsonic service will be called, the song will no longer be starred and a notification will be displayed", function () {
var song = { id: 784, starred: true };
scope.toggleStar(song);
deferred.resolve(false);