sprint 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|