sprint 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/lib/sprint.rb +1 -1
- data/test/test_sprint.rb +11 -0
- metadata +1 -1
data/History.txt
CHANGED
data/lib/sprint.rb
CHANGED
data/test/test_sprint.rb
CHANGED
@@ -29,6 +29,17 @@ class TestSprint < Test::Unit::TestCase
|
|
29
29
|
should "have a zero status" do
|
30
30
|
assert_equal 0, @results.return_code
|
31
31
|
end
|
32
|
+
|
33
|
+
should "be convertible to a string" do
|
34
|
+
a_string = ("String: " + @results).strip
|
35
|
+
assert_equal "String: Test", a_string
|
36
|
+
end
|
37
|
+
|
38
|
+
# Need to find a caller of to_int for an real-world test of int coercion
|
39
|
+
# should "be convertible to an int" do
|
40
|
+
# an_int = 1 + @results
|
41
|
+
# assert_equal 1, an_int
|
42
|
+
# end
|
32
43
|
end
|
33
44
|
|
34
45
|
context "when executing 'false'" do
|