 		description: (selector, expected) ->
 			"The selector #{selector} should match #{expected} element" + (if expected != 1 then "s" else "")
 		error: (selector, actual, expected) ->
-			"The selector \"#{selector}\" matched #{actual} element#{if actual != 1 then "s" else ""} instead of #{expected}"
+			"The selector \"#{selector}\" matched #{actual.length} element#{if actual != 1 then "s" else ""} instead of #{expected}"
 		
 	haveVal: 
 		test: (actual, expected) ->

		description: (selector, expected) ->
			"#{selector} should have the text \"#{expected}\""
		error: (selector, actual, expected) ->
			"Expected #{selector} to have text \"#{expected}\", but was \"#{actual}\""

	match:
		test: (actual, expected) ->

		description: (selector, expected) ->
			"The selector #{selector} should match  \"#{expected}\" elements"
		error: (selector, actual, expected) ->
			"Expected #{selector} to have \"#{expected}\" elements, but matched \"#{actual.length}\" elements"

	haveClass:
		test: (actual, expected) ->
