describe("Allows cache-busting suffixes", function(){

	var emoji = new EmojiConvertor();

	emoji.img_set = 'apple';
	emoji.img_sets.apple.path = '/';
	emoji.img_sets.apple.sheet = '/sheet.png';
	emoji.colons_mode = false;
	emoji.text_mode = false;
	emoji.include_title = false;
	emoji.allow_native = false;
	emoji.avoid_ms_emoji = true;

	emoji.supports_css = false;
	emoji.use_sheet = false;
	emoji.use_css_imgs = false;

	it("For individual images", function(){

		emoji.img_suffix = '';
		expect(emoji.replace_colons(':cloud:')).toBe('<img src="/2601.png" class="emoji" data-codepoints="2601" />');

		emoji.img_suffix = '?FOO';
		expect(emoji.replace_colons(':cloud:')).toBe('<img src="/2601.png?FOO" class="emoji" data-codepoints="2601" />');
	});

});


@@ -600,146 +600,432 @@
 ');%0A
-%0A%09%09emoji.img_suffix = '?FOO';%0A%09%09expect(emoji.replace_colons(':cloud:')).toBe('%3Cimg src=%22/2601.png?FOO%22 class=%22emoji%22 data-codepoints=%222601
+%09%09expect(emoji.replace_colons(':swimmer::skin-tone-6:')).toBe('%3Cimg src=%22/1f3ca-1f3ff.png%22 class=%22emoji%22 data-codepoints=%221f3ca-1f3ff%22 /%3E');%0A%0A%09%09emoji.img_suffix = '?FOO';%0A%09%09expect(emoji.replace_colons(':cloud:')).toBe('%3Cimg src=%22/2601.png?FOO%22 class=%22emoji%22 data-codepoints=%222601%22 /%3E');%0A%09%09expect(emoji.replace_colons(':swimmer::skin-tone-6:')).toBe('%3Cimg src=%22/1f3ca-1f3ff.png?FOO%22 class=%22emoji%22 data-codepoints=%221f3ca-1f3ff
 %22 /%3E

test skin-tone variations for suffixes (was broken)