<commit_before>
buster.testCase('View#classes()', {
  "setUp": helpers.createView,

  "tearDown": helpers.destroyView
});<commit_msg>Added tests<commit_after>
buster.testCase('View#classes()', {

	"Should be able to define classes at on the base class": function() {
		var View = FruitMachine.define({
			classes: ['foo', 'bar']
		});

		var view = new View()
			.render();

		assert.isTrue(!!~view.el.className.indexOf('foo'));
		assert.isTrue(!!~view.el.className.indexOf('bar'));
	},

	"Should be able to manipulate the classes array at any time": function() {
		var apple = new helpers.Views.Apple();

		apple.classes.push('foo');
		apple.render();

		assert.isTrue(!!~apple.el.className.indexOf('foo'));
	},

	"Should be able to define classes at instnatiation": function() {
		var apple = new helpers.Views.Apple({
			classes: ['foo', 'bar']
		});

		apple.render();

		assert.isTrue(!!~apple.el.className.indexOf('foo'));
		assert.isTrue(!!~apple.el.className.indexOf('bar'));
	}
});
{'fraction_non_alphanumeric': 0.19292929292929292, 'fraction_numerical': 0.0, 'mean_word_length': 4.567415730337078, 'pattern_counts': {'":': 5, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7028513', 'n_tokens_mistral': 361, 'n_tokens_neox': 325, 'n_words': 72}