spec-unit 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/spec-unit.rb +1 -1
- metadata +2 -2
data/lib/spec-unit.rb
CHANGED
@@ -28,7 +28,7 @@ module SpecUnit
|
|
28
28
|
spec_method = unbound_method(spec)
|
29
29
|
spec_name = spec.to_s.split(/^\w+?_/)[1]
|
30
30
|
|
31
|
-
define_method(
|
31
|
+
define_method("test_#{name}_#{spec_name}".to_sym) do
|
32
32
|
setup.bind(self).call if setup
|
33
33
|
spec_method.bind(self).call
|
34
34
|
teardown.bind(self).call if teardown
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
|
|
3
3
|
specification_version: 1
|
4
4
|
name: spec-unit
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.0
|
7
|
-
date: 2006-10-
|
6
|
+
version: 0.1.0
|
7
|
+
date: 2006-10-11 00:00:00 -04:00
|
8
8
|
summary: A library for separating Test::Unit tests into contexts.
|
9
9
|
require_paths:
|
10
10
|
- lib
|