Normalized file name and koan category name.

This commit is contained in:
Jim Weirich
2010-09-12 21:27:22 -04:00
parent 8d8287365b
commit ad99c372c3
5 changed files with 10 additions and 10 deletions

View File

@@ -7,7 +7,7 @@ class DiceSet
end
end
class AboutDiceSet < EdgeCase::Koan
class AboutDiceProject < EdgeCase::Koan
def test_can_create_a_dice_set
dice = DiceSet.new
assert_not_nil dice

View File

@@ -1,6 +1,6 @@
require File.expand_path(File.dirname(__FILE__) + '/edgecase')
class AboutUsingBlocks < EdgeCase::Koan
class AboutSandwichCode < EdgeCase::Koan
def count_lines(file_name)
file = open(file_name)

View File

@@ -54,7 +54,7 @@ def score(dice)
#++
end
class AboutScoringAssignment < EdgeCase::Koan
class AboutScoringProject < EdgeCase::Koan
def test_score_of_an_empty_list_is_zero
assert_equal 0, score([])
end

View File

@@ -3,7 +3,7 @@ require File.expand_path(File.dirname(__FILE__) + '/edgecase')
# You need to write the triangle method in the file 'triangle.rb'
require 'triangle.rb'
class AboutTriangleAssignment < EdgeCase::Koan
class AboutTriangleProject < EdgeCase::Koan
def test_equilateral_triangles_have_equal_sides
assert_equal :equilateral, triangle(2, 2, 2)
assert_equal :equilateral, triangle(10, 10, 10)

View File

@@ -3,7 +3,7 @@ require File.expand_path(File.dirname(__FILE__) + '/edgecase')
# You need to write the triangle method in the file 'triangle.rb'
require 'triangle.rb'
class AboutTriangleAssignment2 < EdgeCase::Koan
class AboutTriangleProject2 < EdgeCase::Koan
# The first assignment did not talk about how to handle errors.
# Let's handle that part now.
def test_illegal_triangles_throw_exceptions