Change test description to isolate files better

This commit is contained in:
Andrew Miner
2015-01-28 10:27:28 -08:00
parent ae66f52678
commit ea86e17d31
6 changed files with 7 additions and 6 deletions
+2 -1
View File
@@ -16,7 +16,7 @@ modPack = plan = null
######################################################################################################################## ########################################################################################################################
describe 'CraftingPlan', -> describe 'crafting_plan.coffee', ->
beforeEach -> beforeEach ->
mod = new Mod name:'Minecraft', slug:'minecraft' mod = new Mod name:'Minecraft', slug:'minecraft'
@@ -77,6 +77,7 @@ describe 'CraftingPlan', ->
plan.includingTools = true plan.includingTools = true
plan.want.add 'iron_sword' plan.want.add 'iron_sword'
plan.craft() plan.craft()
plan.need.toList().should.eql [ plan.need.toList().should.eql [
[8, 'cobblestone'], [2, 'furnace_fuel'], [2, 'iron_ore'], [2, 'oak_log'] [8, 'cobblestone'], [2, 'furnace_fuel'], [2, 'iron_ore'], [2, 'oak_log']
] ]
+1 -1
View File
@@ -16,7 +16,7 @@ inventory = null
######################################################################################################################## ########################################################################################################################
describe 'Inventory', -> describe 'inventory.coffee', ->
beforeEach -> beforeEach ->
inventory = new Inventory {}, silent:false inventory = new Inventory {}, silent:false
+1 -1
View File
@@ -15,7 +15,7 @@ parser = null
######################################################################################################################## ########################################################################################################################
describe 'InventoryParser', -> describe 'inventory_parser.coffee', ->
beforeEach -> parser = new InventoryParser beforeEach -> parser = new InventoryParser
@@ -14,7 +14,7 @@ baseText = modVersion = parser = null
######################################################################################################################## ########################################################################################################################
describe 'ModVersionParserV1', -> describe 'mod_version_parser_v1.coffee', ->
beforeEach -> beforeEach ->
modVersion = new ModVersion modSlug:'test', version:'0.0' modVersion = new ModVersion modSlug:'test', version:'0.0'
+1 -1
View File
@@ -14,7 +14,7 @@ input = output = pattern = recipe = null
######################################################################################################################## ########################################################################################################################
describe 'Recipe', -> describe 'recipe.coffee', ->
describe 'constructor', -> describe 'constructor', ->
+1 -1
View File
@@ -13,7 +13,7 @@ builder = null
######################################################################################################################## ########################################################################################################################
describe 'StringBuilder', -> describe 'string_builder.coffee', ->
beforeEach -> builder = new StringBuilder beforeEach -> builder = new StringBuilder