 		@mocks = (getJSONFixture(name) for name in mockNames)
 
 	it 'should have loaded JSON fixtures correctly', ->
+		#Assert
+		expect(typeof @mocks).toBe(typeof [])
 		expect(@mocks[0]).toBeDefined()
 		expect(typeof @mocks[0]).toBe(typeof {})
 

			@ssr = new vtex.portalPlugins.SkuSelectorRenderer({}, {}, {})

		it 'should exist', ->
			expect(vtex.portalPlugins.SkuSelectorRenderer).toBeDefined()
		it 'should be instantiated', ->
			expect(@ssr instanceof vtex.portalPlugins.SkuSelectorRenderer).toBe(true)

		it 'should call updatePriceAvailable', ->
			sku = {available: true}
			spyOn(@ssr, 'updatePriceAvailable')
			@ssr.updatePrice(sku)

			expect(@ssr.updatePriceAvailable).toHaveBeenCalledWith(sku)

		it 'should call updatePriceUnavailable', ->
			sku = {available: false}
			spyOn(@ssr, 'updatePriceUnavailable')
			@ssr.updatePrice(sku)

			expect(@ssr.updatePriceUnavailable).toHaveBeenCalled()



			loadFixtures 'sku-selector.html'

		it 'should have jQuery', ->
			#Assert
			expect($).toBeDefined()

		it 'should exist', ->
			#Assert
			expect($.fn.skuSelector).toBeDefined()
			expect($.skuSelector).toBeDefined()

		it 'should have loaded HTML fixtures correctly', ->
			#Assert
			expect($('.sku-selector-container')).toExist()

		it 'should return a jQuery object, for chaining', ->
			#Arrange
			element = $('.sku-selector-container')

			#Act
			result = element.skuSelector(@mocks[0])

			#Assert
			expect(result).toBe(element)

