/**
*	com.spinal.ioc.plugins.ThemePlugin Class Tests
*	@author Patricio Ferreira <3dimentionar@gmail.com>
**/
define(['ioc/plugins/theme'], function(ThemePlugin) {

	describe('com.spinal.ioc.plugins.ThemePlugin', function() {

		before(function() {

		});

		after(function() {

		});

		describe('#new()', function() {

		});

	});

});

@@ -234,32 +234,54 @@
 re(function() %7B%0A
+%09%09%09this.plugin = null;
 %0A%09%09%7D);%0A%0A%09%09after(
@@ -285,32 +285,54 @@
 er(function() %7B%0A
+%09%09%09delete this.plugin;
 %0A%09%09%7D);%0A%0A%09%09descri
@@ -358,16 +358,1540 @@
 on() %7B%0A%0A
+%09%09%09it('Should return an instance of ThemePlugin');%0A%0A%09%09%7D);%0A%0A%09%09describe('#parse()', function() %7B%0A%0A%09%09%09it('Should parse themes from specified on a given spec');%0A%0A%09%09%7D);%0A%0A%09%09describe('#currentTheme()', function() %7B%0A%0A%09%09%09it('Should return the current theme');%0A%0A%09%09%7D);%0A%0A%09%09describe('#useBootstrap()', function() %7B%0A%0A%09%09%09it('Should inject bootstrap-core and bootstrap-theme');%0A%0A%09%09%09it('Should inject only bootstrap-core');%0A%0A%09%09%09it('Should inject only bootstrap-theme');%0A%0A%09%09%7D);%0A%0A%09%09describe('#useDefault()', function() %7B%0A%0A%09%09%09it('Should inject theme flagged as default');%0A%0A%09%09%7D);%0A%0A%09%09describe('#validate()', function() %7B%0A%0A%09%09%09it('Should return false: theme name is not a String');%0A%0A%09%09%09it('Should return false: theme is not registered');%0A%0A%09%09%09it('Should return false: current theme is the same as the one being validated');%0A%0A%09%09%7D);%0A%0A%09%09describe('#applyTheme()', function() %7B%0A%0A%09%09%09it('Should inject a given theme');%0A%0A%09%09%7D);%0A%0A%09%09describe('#removeTheme()', function() %7B%0A%0A%09%09%09it('Should remove all themes except for bootstrap core and theme');%0A%0A%09%09%7D);%0A%0A%09%09describe('#resolveURI()', function() %7B%0A%0A%09%09%09it('Should resolve theme URI for a given theme path');%0A%0A%09%09%7D);%0A%0A%09%09describe('#getTheme()', function() %7B%0A%0A%09%09%09it('Should retrieve a theme object registered given a theme name');%0A%0A%09%09%09it('Should NOT retrieve a theme object registered given a theme name');%0A%0A%09%09%7D);%0A%0A%09%09describe('#changeTheme()', function() %7B%0A%0A%09%09%09it('Should change the current theme with another one given a theme name');%0A%0A%09%09%7D);%0A%0A%09%09describe('#run()', function() %7B%0A%0A%09%09%09it('Should executes plugin logic');%0A%0A
 %09%09%7D);%0A%0A%09

Test cases for ThemePlugin Class added to the unit test file.