test_unit-given 0.9.2 → 0.9.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/lib/test/unit/given/test_case.rb +6 -0
- data/lib/test/unit/given/version.rb +1 -1
- metadata +86 -80
@@ -21,6 +21,12 @@ module Test
|
|
21
21
|
class TestCase < Test::Unit::TestCase
|
22
22
|
include Simple
|
23
23
|
include TestThat
|
24
|
+
if RUBY_VERSION =~ /^1\.8\./
|
25
|
+
# Avoid the stupid behavior of
|
26
|
+
# complaining that no tests were specified for 1.8.-like rubies
|
27
|
+
def default_test
|
28
|
+
end
|
29
|
+
end
|
24
30
|
end
|
25
31
|
end
|
26
32
|
end
|
metadata
CHANGED
@@ -1,99 +1,105 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: test_unit-given
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.2
|
3
|
+
version: !ruby/object:Gem::Version
|
5
4
|
prerelease:
|
5
|
+
version: 0.9.3
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
8
|
-
- David Copeland
|
7
|
+
authors:
|
8
|
+
- David Copeland
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
Test::Unit tests, with no magic required, using straight Ruby syntax
|
49
|
-
email:
|
50
|
-
- davetron5000@gmail.com
|
12
|
+
|
13
|
+
date: 2011-11-21 00:00:00 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: rdoc
|
17
|
+
prerelease: false
|
18
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
19
|
+
none: false
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: "0"
|
24
|
+
type: :development
|
25
|
+
version_requirements: *id001
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: rake
|
28
|
+
prerelease: false
|
29
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
30
|
+
none: false
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: "0"
|
35
|
+
type: :development
|
36
|
+
version_requirements: *id002
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: simplecov
|
39
|
+
prerelease: false
|
40
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ">="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: "0"
|
46
|
+
type: :development
|
47
|
+
version_requirements: *id003
|
48
|
+
description: We don't need no stinkin' RSpec! Get all the fluency you want in your Test::Unit tests, with no magic required, using straight Ruby syntax
|
49
|
+
email:
|
50
|
+
- davetron5000@gmail.com
|
51
51
|
executables: []
|
52
|
+
|
52
53
|
extensions: []
|
54
|
+
|
53
55
|
extra_rdoc_files: []
|
54
|
-
|
55
|
-
|
56
|
-
- .
|
57
|
-
-
|
58
|
-
-
|
59
|
-
-
|
60
|
-
-
|
61
|
-
-
|
62
|
-
- lib/test/unit/given
|
63
|
-
- lib/test/unit/given/
|
64
|
-
- lib/test/unit/given/
|
65
|
-
- lib/test/unit/given/
|
66
|
-
- test/
|
67
|
-
- test/
|
68
|
-
- test/
|
69
|
-
- test/
|
70
|
-
-
|
71
|
-
|
56
|
+
|
57
|
+
files:
|
58
|
+
- .gitignore
|
59
|
+
- .rvmrc
|
60
|
+
- Gemfile
|
61
|
+
- LICENSE.txt
|
62
|
+
- README.rdoc
|
63
|
+
- Rakefile
|
64
|
+
- lib/test/unit/given.rb
|
65
|
+
- lib/test/unit/given/simple.rb
|
66
|
+
- lib/test/unit/given/test_case.rb
|
67
|
+
- lib/test/unit/given/test_that.rb
|
68
|
+
- lib/test/unit/given/version.rb
|
69
|
+
- test/bootstrap.rb
|
70
|
+
- test/test_circle.rb
|
71
|
+
- test/test_simple_given.rb
|
72
|
+
- test/test_test_that.rb
|
73
|
+
- test_unit-given.gemspec
|
74
|
+
homepage: ""
|
72
75
|
licenses: []
|
76
|
+
|
73
77
|
post_install_message:
|
74
78
|
rdoc_options: []
|
75
|
-
|
76
|
-
|
77
|
-
|
79
|
+
|
80
|
+
require_paths:
|
81
|
+
- lib
|
82
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
78
83
|
none: false
|
79
|
-
requirements:
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
84
|
+
requirements:
|
85
|
+
- - ">="
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: "0"
|
88
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
84
89
|
none: false
|
85
|
-
requirements:
|
86
|
-
|
87
|
-
|
88
|
-
|
90
|
+
requirements:
|
91
|
+
- - ">="
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: "0"
|
89
94
|
requirements: []
|
95
|
+
|
90
96
|
rubyforge_project: test_unit-given
|
91
|
-
rubygems_version: 1.8.
|
97
|
+
rubygems_version: 1.8.9
|
92
98
|
signing_key:
|
93
99
|
specification_version: 3
|
94
100
|
summary: Use Given/When/Then in your Test::Unit tests
|
95
|
-
test_files:
|
96
|
-
- test/bootstrap.rb
|
97
|
-
- test/test_circle.rb
|
98
|
-
- test/test_simple_given.rb
|
99
|
-
- test/test_test_that.rb
|
101
|
+
test_files:
|
102
|
+
- test/bootstrap.rb
|
103
|
+
- test/test_circle.rb
|
104
|
+
- test/test_simple_given.rb
|
105
|
+
- test/test_test_that.rb
|