<commit_before>﻿# reference "../witness/dsl/describe.coffee"
# reference "../witness/Specification.coffee"

describe "Specification",
{
	given: ->
		@specification = new Witness.Specification(
			"specification description"
			[ new Witness.Scenario([],[],[],[]), new Witness.Scenario([],[],[],[]) ]
		)

	then: [
		-> @specification.description == "specification description"
		-> @specification.scenarios.length == 2
	]
}<commit_msg>Convert Specification scenarios to use should.<commit_after>﻿# reference "../witness/dsl/describe.coffee"
# reference "../witness/Specification.coffee"

describe "Specification",
{
	given: ->
		@specification = new Witness.Specification(
			"specification description"
			[ new Witness.Scenario([],[],[],[]), new Witness.Scenario([],[],[],[]) ]
		)

	then:
		specification:
			description: should.be "specification description"
			scenarios: length: should.be 2
}
{'fraction_non_alphanumeric': 0.17456896551724138, 'fraction_numerical': 0.0021551724137931034, 'mean_word_length': 4.021621621621621, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '2004165', 'n_tokens_mistral': 324, 'n_tokens_neox': 274, 'n_words': 55}