cutest 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +2 -0
- data/cutest.gemspec +1 -1
- data/lib/cutest.rb +3 -1
- metadata +2 -2
data/Rakefile
CHANGED
data/cutest.gemspec
CHANGED
data/lib/cutest.rb
CHANGED
@@ -27,6 +27,8 @@ def flunk(caller = caller[1])
|
|
27
27
|
raise ex
|
28
28
|
end
|
29
29
|
|
30
|
+
@_setup = nil
|
31
|
+
|
30
32
|
def setup(&block)
|
31
33
|
@_setup = block if block_given?
|
32
34
|
@_setup
|
@@ -39,7 +41,7 @@ def test(name = nil, &block)
|
|
39
41
|
end
|
40
42
|
|
41
43
|
class Cutest < Batch
|
42
|
-
VERSION = "0.0.
|
44
|
+
VERSION = "0.0.4"
|
43
45
|
|
44
46
|
def report_errors
|
45
47
|
return if @errors.empty?
|