spec-unit 0.0.1 → 0.1.0

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.
Files changed (2) hide show
  1. data/lib/spec-unit.rb +1 -1
  2. 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(:"test_#{name}_#{spec_name}") do
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.1
7
- date: 2006-10-06 00:00:00 -04:00
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