minitest-rails 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +2 -5
- data/gemfiles/3.0.gemfile.lock +31 -31
- data/gemfiles/3.1.gemfile.lock +34 -34
- data/gemfiles/3.2.gemfile.lock +35 -35
- data/gemfiles/4.0.gemfile.lock +18 -18
- data/lib/generators/mini_test/install/templates/test/minitest_helper.rb +1 -1
- data/lib/minitest/rails/tasks/minitest.rake +9 -1
- data/lib/minitest/rails/version.rb +1 -1
- data/minitest-rails.gemspec +6 -6
- metadata +5 -5
data/README.rdoc
CHANGED
@@ -3,7 +3,6 @@
|
|
3
3
|
MiniTest integration for Rails 3 and 4
|
4
4
|
|
5
5
|
{<img src="https://secure.travis-ci.org/blowmage/minitest-rails.png" alt="Build Status" />}[http://travis-ci.org/blowmage/minitest-rails]
|
6
|
-
<br>
|
7
6
|
{<img src="https://codeclimate.com/badge.png" />}[https://codeclimate.com/github/blowmage/minitest-rails]
|
8
7
|
|
9
8
|
== Install
|
@@ -20,11 +19,9 @@ Create a new rails app without Test::Unit:
|
|
20
19
|
|
21
20
|
rails new MyApp --skip-test-unit
|
22
21
|
|
23
|
-
Add <tt>minitest-rails</tt> to the
|
22
|
+
Add <tt>minitest-rails</tt> to the Gemfile:
|
24
23
|
|
25
|
-
|
26
|
-
gem 'minitest-rails'
|
27
|
-
end
|
24
|
+
gem "minitest-rails"
|
28
25
|
|
29
26
|
Next run the installation generator with the following:
|
30
27
|
|
data/gemfiles/3.0.gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: /Users/blowmage/codez/minitest-rails
|
3
3
|
specs:
|
4
|
-
minitest-rails (0.5.
|
4
|
+
minitest-rails (0.5.2.20130221095237)
|
5
5
|
minitest (~> 4.0)
|
6
6
|
rails (>= 3.0)
|
7
7
|
|
@@ -9,12 +9,12 @@ GEM
|
|
9
9
|
remote: http://rubygems.org/
|
10
10
|
specs:
|
11
11
|
abstract (1.0.0)
|
12
|
-
actionmailer (3.0.
|
13
|
-
actionpack (= 3.0.
|
12
|
+
actionmailer (3.0.20)
|
13
|
+
actionpack (= 3.0.20)
|
14
14
|
mail (~> 2.2.19)
|
15
|
-
actionpack (3.0.
|
16
|
-
activemodel (= 3.0.
|
17
|
-
activesupport (= 3.0.
|
15
|
+
actionpack (3.0.20)
|
16
|
+
activemodel (= 3.0.20)
|
17
|
+
activesupport (= 3.0.20)
|
18
18
|
builder (~> 2.1.2)
|
19
19
|
erubis (~> 2.6.6)
|
20
20
|
i18n (~> 0.5.0)
|
@@ -22,57 +22,57 @@ GEM
|
|
22
22
|
rack-mount (~> 0.6.14)
|
23
23
|
rack-test (~> 0.5.7)
|
24
24
|
tzinfo (~> 0.3.23)
|
25
|
-
activemodel (3.0.
|
26
|
-
activesupport (= 3.0.
|
25
|
+
activemodel (3.0.20)
|
26
|
+
activesupport (= 3.0.20)
|
27
27
|
builder (~> 2.1.2)
|
28
28
|
i18n (~> 0.5.0)
|
29
|
-
activerecord (3.0.
|
30
|
-
activemodel (= 3.0.
|
31
|
-
activesupport (= 3.0.
|
29
|
+
activerecord (3.0.20)
|
30
|
+
activemodel (= 3.0.20)
|
31
|
+
activesupport (= 3.0.20)
|
32
32
|
arel (~> 2.0.10)
|
33
33
|
tzinfo (~> 0.3.23)
|
34
|
-
activeresource (3.0.
|
35
|
-
activemodel (= 3.0.
|
36
|
-
activesupport (= 3.0.
|
37
|
-
activesupport (3.0.
|
34
|
+
activeresource (3.0.20)
|
35
|
+
activemodel (= 3.0.20)
|
36
|
+
activesupport (= 3.0.20)
|
37
|
+
activesupport (3.0.20)
|
38
38
|
arel (2.0.10)
|
39
39
|
builder (2.1.2)
|
40
40
|
erubis (2.6.6)
|
41
41
|
abstract (>= 1.0.0)
|
42
42
|
fakefs (0.4.2)
|
43
|
-
hoe (3.
|
43
|
+
hoe (3.5.0)
|
44
44
|
rake (>= 0.8, < 11.0)
|
45
45
|
i18n (0.5.0)
|
46
|
-
json (1.7.
|
46
|
+
json (1.7.7)
|
47
47
|
mail (2.2.19)
|
48
48
|
activesupport (>= 2.3.6)
|
49
49
|
i18n (>= 0.4.0)
|
50
50
|
mime-types (~> 1.16)
|
51
51
|
treetop (~> 1.4.8)
|
52
|
-
mime-types (1.
|
53
|
-
minitest (4.
|
52
|
+
mime-types (1.21)
|
53
|
+
minitest (4.6.1)
|
54
54
|
polyglot (0.3.3)
|
55
|
-
rack (1.2.
|
55
|
+
rack (1.2.8)
|
56
56
|
rack-mount (0.6.14)
|
57
57
|
rack (>= 1.0.0)
|
58
58
|
rack-test (0.5.7)
|
59
59
|
rack (>= 1.0)
|
60
|
-
rails (3.0.
|
61
|
-
actionmailer (= 3.0.
|
62
|
-
actionpack (= 3.0.
|
63
|
-
activerecord (= 3.0.
|
64
|
-
activeresource (= 3.0.
|
65
|
-
activesupport (= 3.0.
|
60
|
+
rails (3.0.20)
|
61
|
+
actionmailer (= 3.0.20)
|
62
|
+
actionpack (= 3.0.20)
|
63
|
+
activerecord (= 3.0.20)
|
64
|
+
activeresource (= 3.0.20)
|
65
|
+
activesupport (= 3.0.20)
|
66
66
|
bundler (~> 1.0)
|
67
|
-
railties (= 3.0.
|
68
|
-
railties (3.0.
|
69
|
-
actionpack (= 3.0.
|
70
|
-
activesupport (= 3.0.
|
67
|
+
railties (= 3.0.20)
|
68
|
+
railties (3.0.20)
|
69
|
+
actionpack (= 3.0.20)
|
70
|
+
activesupport (= 3.0.20)
|
71
71
|
rake (>= 0.8.7)
|
72
72
|
rdoc (~> 3.4)
|
73
73
|
thor (~> 0.14.4)
|
74
74
|
rake (10.0.3)
|
75
|
-
rdoc (3.12)
|
75
|
+
rdoc (3.12.1)
|
76
76
|
json (~> 1.4)
|
77
77
|
thor (0.14.6)
|
78
78
|
treetop (1.4.12)
|
data/gemfiles/3.1.gemfile.lock
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
PATH
|
2
2
|
remote: /Users/blowmage/codez/minitest-rails
|
3
3
|
specs:
|
4
|
-
minitest-rails (0.5.
|
4
|
+
minitest-rails (0.5.2.20130221095237)
|
5
5
|
minitest (~> 4.0)
|
6
6
|
rails (>= 3.0)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: http://rubygems.org/
|
10
10
|
specs:
|
11
|
-
actionmailer (3.1.
|
12
|
-
actionpack (= 3.1.
|
11
|
+
actionmailer (3.1.11)
|
12
|
+
actionpack (= 3.1.11)
|
13
13
|
mail (~> 2.3.3)
|
14
|
-
actionpack (3.1.
|
15
|
-
activemodel (= 3.1.
|
16
|
-
activesupport (= 3.1.
|
14
|
+
actionpack (3.1.11)
|
15
|
+
activemodel (= 3.1.11)
|
16
|
+
activesupport (= 3.1.11)
|
17
17
|
builder (~> 3.0.0)
|
18
18
|
erubis (~> 2.7.0)
|
19
19
|
i18n (~> 0.6)
|
@@ -22,63 +22,63 @@ GEM
|
|
22
22
|
rack-mount (~> 0.8.2)
|
23
23
|
rack-test (~> 0.6.1)
|
24
24
|
sprockets (~> 2.0.4)
|
25
|
-
activemodel (3.1.
|
26
|
-
activesupport (= 3.1.
|
25
|
+
activemodel (3.1.11)
|
26
|
+
activesupport (= 3.1.11)
|
27
27
|
builder (~> 3.0.0)
|
28
28
|
i18n (~> 0.6)
|
29
|
-
activerecord (3.1.
|
30
|
-
activemodel (= 3.1.
|
31
|
-
activesupport (= 3.1.
|
29
|
+
activerecord (3.1.11)
|
30
|
+
activemodel (= 3.1.11)
|
31
|
+
activesupport (= 3.1.11)
|
32
32
|
arel (~> 2.2.3)
|
33
33
|
tzinfo (~> 0.3.29)
|
34
|
-
activeresource (3.1.
|
35
|
-
activemodel (= 3.1.
|
36
|
-
activesupport (= 3.1.
|
37
|
-
activesupport (3.1.
|
38
|
-
multi_json (
|
34
|
+
activeresource (3.1.11)
|
35
|
+
activemodel (= 3.1.11)
|
36
|
+
activesupport (= 3.1.11)
|
37
|
+
activesupport (3.1.11)
|
38
|
+
multi_json (~> 1.0)
|
39
39
|
arel (2.2.3)
|
40
40
|
builder (3.0.4)
|
41
41
|
erubis (2.7.0)
|
42
42
|
fakefs (0.4.2)
|
43
43
|
hike (1.2.1)
|
44
|
-
hoe (3.
|
44
|
+
hoe (3.5.0)
|
45
45
|
rake (>= 0.8, < 11.0)
|
46
46
|
i18n (0.6.1)
|
47
|
-
json (1.7.
|
47
|
+
json (1.7.7)
|
48
48
|
mail (2.3.3)
|
49
49
|
i18n (>= 0.4.0)
|
50
50
|
mime-types (~> 1.16)
|
51
51
|
treetop (~> 1.4.8)
|
52
|
-
mime-types (1.
|
53
|
-
minitest (4.
|
54
|
-
multi_json (1.
|
52
|
+
mime-types (1.21)
|
53
|
+
minitest (4.6.1)
|
54
|
+
multi_json (1.6.1)
|
55
55
|
polyglot (0.3.3)
|
56
|
-
rack (1.3.
|
56
|
+
rack (1.3.10)
|
57
57
|
rack-cache (1.2)
|
58
58
|
rack (>= 0.4)
|
59
59
|
rack-mount (0.8.3)
|
60
60
|
rack (>= 1.0.0)
|
61
|
-
rack-ssl (1.3.
|
61
|
+
rack-ssl (1.3.3)
|
62
62
|
rack
|
63
63
|
rack-test (0.6.2)
|
64
64
|
rack (>= 1.0)
|
65
|
-
rails (3.1.
|
66
|
-
actionmailer (= 3.1.
|
67
|
-
actionpack (= 3.1.
|
68
|
-
activerecord (= 3.1.
|
69
|
-
activeresource (= 3.1.
|
70
|
-
activesupport (= 3.1.
|
65
|
+
rails (3.1.11)
|
66
|
+
actionmailer (= 3.1.11)
|
67
|
+
actionpack (= 3.1.11)
|
68
|
+
activerecord (= 3.1.11)
|
69
|
+
activeresource (= 3.1.11)
|
70
|
+
activesupport (= 3.1.11)
|
71
71
|
bundler (~> 1.0)
|
72
|
-
railties (= 3.1.
|
73
|
-
railties (3.1.
|
74
|
-
actionpack (= 3.1.
|
75
|
-
activesupport (= 3.1.
|
72
|
+
railties (= 3.1.11)
|
73
|
+
railties (3.1.11)
|
74
|
+
actionpack (= 3.1.11)
|
75
|
+
activesupport (= 3.1.11)
|
76
76
|
rack-ssl (~> 1.3.2)
|
77
77
|
rake (>= 0.8.7)
|
78
78
|
rdoc (~> 3.4)
|
79
79
|
thor (~> 0.14.6)
|
80
80
|
rake (10.0.3)
|
81
|
-
rdoc (3.12)
|
81
|
+
rdoc (3.12.1)
|
82
82
|
json (~> 1.4)
|
83
83
|
sprockets (2.0.4)
|
84
84
|
hike (~> 1.2)
|
data/gemfiles/3.2.gemfile.lock
CHANGED
@@ -1,38 +1,38 @@
|
|
1
1
|
PATH
|
2
2
|
remote: /Users/blowmage/codez/minitest-rails
|
3
3
|
specs:
|
4
|
-
minitest-rails (0.5.
|
4
|
+
minitest-rails (0.5.2.20130221095237)
|
5
5
|
minitest (~> 4.0)
|
6
6
|
rails (>= 3.0)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: http://rubygems.org/
|
10
10
|
specs:
|
11
|
-
actionmailer (3.2.
|
12
|
-
actionpack (= 3.2.
|
11
|
+
actionmailer (3.2.12)
|
12
|
+
actionpack (= 3.2.12)
|
13
13
|
mail (~> 2.4.4)
|
14
|
-
actionpack (3.2.
|
15
|
-
activemodel (= 3.2.
|
16
|
-
activesupport (= 3.2.
|
14
|
+
actionpack (3.2.12)
|
15
|
+
activemodel (= 3.2.12)
|
16
|
+
activesupport (= 3.2.12)
|
17
17
|
builder (~> 3.0.0)
|
18
18
|
erubis (~> 2.7.0)
|
19
19
|
journey (~> 1.0.4)
|
20
|
-
rack (~> 1.4.
|
20
|
+
rack (~> 1.4.5)
|
21
21
|
rack-cache (~> 1.2)
|
22
22
|
rack-test (~> 0.6.1)
|
23
23
|
sprockets (~> 2.2.1)
|
24
|
-
activemodel (3.2.
|
25
|
-
activesupport (= 3.2.
|
24
|
+
activemodel (3.2.12)
|
25
|
+
activesupport (= 3.2.12)
|
26
26
|
builder (~> 3.0.0)
|
27
|
-
activerecord (3.2.
|
28
|
-
activemodel (= 3.2.
|
29
|
-
activesupport (= 3.2.
|
27
|
+
activerecord (3.2.12)
|
28
|
+
activemodel (= 3.2.12)
|
29
|
+
activesupport (= 3.2.12)
|
30
30
|
arel (~> 3.0.2)
|
31
31
|
tzinfo (~> 0.3.29)
|
32
|
-
activeresource (3.2.
|
33
|
-
activemodel (= 3.2.
|
34
|
-
activesupport (= 3.2.
|
35
|
-
activesupport (3.2.
|
32
|
+
activeresource (3.2.12)
|
33
|
+
activemodel (= 3.2.12)
|
34
|
+
activesupport (= 3.2.12)
|
35
|
+
activesupport (3.2.12)
|
36
36
|
i18n (~> 0.6)
|
37
37
|
multi_json (~> 1.0)
|
38
38
|
arel (3.0.2)
|
@@ -40,50 +40,50 @@ GEM
|
|
40
40
|
erubis (2.7.0)
|
41
41
|
fakefs (0.4.2)
|
42
42
|
hike (1.2.1)
|
43
|
-
hoe (3.
|
43
|
+
hoe (3.5.0)
|
44
44
|
rake (>= 0.8, < 11.0)
|
45
45
|
i18n (0.6.1)
|
46
46
|
journey (1.0.4)
|
47
|
-
json (1.7.
|
47
|
+
json (1.7.7)
|
48
48
|
mail (2.4.4)
|
49
49
|
i18n (>= 0.4.0)
|
50
50
|
mime-types (~> 1.16)
|
51
51
|
treetop (~> 1.4.8)
|
52
|
-
mime-types (1.
|
53
|
-
minitest (4.
|
54
|
-
multi_json (1.
|
52
|
+
mime-types (1.21)
|
53
|
+
minitest (4.6.1)
|
54
|
+
multi_json (1.6.1)
|
55
55
|
polyglot (0.3.3)
|
56
|
-
rack (1.4.
|
56
|
+
rack (1.4.5)
|
57
57
|
rack-cache (1.2)
|
58
58
|
rack (>= 0.4)
|
59
|
-
rack-ssl (1.3.
|
59
|
+
rack-ssl (1.3.3)
|
60
60
|
rack
|
61
61
|
rack-test (0.6.2)
|
62
62
|
rack (>= 1.0)
|
63
|
-
rails (3.2.
|
64
|
-
actionmailer (= 3.2.
|
65
|
-
actionpack (= 3.2.
|
66
|
-
activerecord (= 3.2.
|
67
|
-
activeresource (= 3.2.
|
68
|
-
activesupport (= 3.2.
|
63
|
+
rails (3.2.12)
|
64
|
+
actionmailer (= 3.2.12)
|
65
|
+
actionpack (= 3.2.12)
|
66
|
+
activerecord (= 3.2.12)
|
67
|
+
activeresource (= 3.2.12)
|
68
|
+
activesupport (= 3.2.12)
|
69
69
|
bundler (~> 1.0)
|
70
|
-
railties (= 3.2.
|
71
|
-
railties (3.2.
|
72
|
-
actionpack (= 3.2.
|
73
|
-
activesupport (= 3.2.
|
70
|
+
railties (= 3.2.12)
|
71
|
+
railties (3.2.12)
|
72
|
+
actionpack (= 3.2.12)
|
73
|
+
activesupport (= 3.2.12)
|
74
74
|
rack-ssl (~> 1.3.2)
|
75
75
|
rake (>= 0.8.7)
|
76
76
|
rdoc (~> 3.4)
|
77
77
|
thor (>= 0.14.6, < 2.0)
|
78
78
|
rake (10.0.3)
|
79
|
-
rdoc (3.12)
|
79
|
+
rdoc (3.12.1)
|
80
80
|
json (~> 1.4)
|
81
81
|
sprockets (2.2.2)
|
82
82
|
hike (~> 1.2)
|
83
83
|
multi_json (~> 1.0)
|
84
84
|
rack (~> 1.0)
|
85
85
|
tilt (~> 1.1, != 1.3.0)
|
86
|
-
thor (0.
|
86
|
+
thor (0.17.0)
|
87
87
|
tilt (1.3.3)
|
88
88
|
treetop (1.4.12)
|
89
89
|
polyglot
|
data/gemfiles/4.0.gemfile.lock
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
GIT
|
2
2
|
remote: git://github.com/rails/rails.git
|
3
|
-
revision:
|
3
|
+
revision: b4051edf841c8a6780df9af7afa9892bfd811c79
|
4
4
|
specs:
|
5
5
|
actionmailer (4.0.0.beta)
|
6
6
|
actionpack (= 4.0.0.beta)
|
@@ -9,19 +9,19 @@ GIT
|
|
9
9
|
activesupport (= 4.0.0.beta)
|
10
10
|
builder (~> 3.1.0)
|
11
11
|
erubis (~> 2.7.0)
|
12
|
-
rack (~> 1.
|
13
|
-
rack-test (~> 0.6.
|
12
|
+
rack (~> 1.5.2)
|
13
|
+
rack-test (~> 0.6.2)
|
14
14
|
activemodel (4.0.0.beta)
|
15
15
|
activesupport (= 4.0.0.beta)
|
16
16
|
builder (~> 3.1.0)
|
17
17
|
activerecord (4.0.0.beta)
|
18
18
|
activemodel (= 4.0.0.beta)
|
19
|
-
activerecord-deprecated_finders (
|
19
|
+
activerecord-deprecated_finders (~> 0.0.3)
|
20
20
|
activesupport (= 4.0.0.beta)
|
21
21
|
arel (~> 3.0.2)
|
22
22
|
activesupport (4.0.0.beta)
|
23
23
|
i18n (~> 0.6)
|
24
|
-
minitest (~> 4.
|
24
|
+
minitest (~> 4.2)
|
25
25
|
multi_json (~> 1.3)
|
26
26
|
thread_safe (~> 0.1)
|
27
27
|
tzinfo (~> 0.3.33)
|
@@ -30,7 +30,7 @@ GIT
|
|
30
30
|
actionpack (= 4.0.0.beta)
|
31
31
|
activerecord (= 4.0.0.beta)
|
32
32
|
activesupport (= 4.0.0.beta)
|
33
|
-
bundler (>= 1.
|
33
|
+
bundler (>= 1.2.2, < 2.0)
|
34
34
|
railties (= 4.0.0.beta)
|
35
35
|
sprockets-rails (~> 2.0.0.rc1)
|
36
36
|
railties (4.0.0.beta)
|
@@ -38,53 +38,53 @@ GIT
|
|
38
38
|
activesupport (= 4.0.0.beta)
|
39
39
|
rake (>= 0.8.7)
|
40
40
|
rdoc (~> 3.4)
|
41
|
-
thor (>= 0.
|
41
|
+
thor (>= 0.17.0, < 2.0)
|
42
42
|
|
43
43
|
PATH
|
44
44
|
remote: /Users/blowmage/codez/minitest-rails
|
45
45
|
specs:
|
46
|
-
minitest-rails (0.5.
|
46
|
+
minitest-rails (0.5.2.20130221095237)
|
47
47
|
minitest (~> 4.0)
|
48
48
|
rails (>= 3.0)
|
49
49
|
|
50
50
|
GEM
|
51
51
|
remote: http://rubygems.org/
|
52
52
|
specs:
|
53
|
-
activerecord-deprecated_finders (0.0.
|
53
|
+
activerecord-deprecated_finders (0.0.3)
|
54
54
|
arel (3.0.2)
|
55
55
|
atomic (1.0.1)
|
56
56
|
builder (3.1.4)
|
57
57
|
erubis (2.7.0)
|
58
58
|
fakefs (0.4.2)
|
59
59
|
hike (1.2.1)
|
60
|
-
hoe (3.
|
60
|
+
hoe (3.5.0)
|
61
61
|
rake (>= 0.8, < 11.0)
|
62
62
|
i18n (0.6.1)
|
63
|
-
json (1.7.
|
63
|
+
json (1.7.7)
|
64
64
|
mail (2.5.3)
|
65
65
|
i18n (>= 0.4.0)
|
66
66
|
mime-types (~> 1.16)
|
67
67
|
treetop (~> 1.4.8)
|
68
|
-
mime-types (1.
|
69
|
-
minitest (4.
|
70
|
-
multi_json (1.
|
68
|
+
mime-types (1.21)
|
69
|
+
minitest (4.6.1)
|
70
|
+
multi_json (1.6.1)
|
71
71
|
polyglot (0.3.3)
|
72
|
-
rack (1.
|
72
|
+
rack (1.5.2)
|
73
73
|
rack-test (0.6.2)
|
74
74
|
rack (>= 1.0)
|
75
75
|
rake (10.0.3)
|
76
|
-
rdoc (3.12)
|
76
|
+
rdoc (3.12.1)
|
77
77
|
json (~> 1.4)
|
78
78
|
sprockets (2.8.2)
|
79
79
|
hike (~> 1.2)
|
80
80
|
multi_json (~> 1.0)
|
81
81
|
rack (~> 1.0)
|
82
82
|
tilt (~> 1.1, != 1.3.0)
|
83
|
-
sprockets-rails (2.0.0.
|
83
|
+
sprockets-rails (2.0.0.rc2)
|
84
84
|
actionpack (>= 3.0)
|
85
85
|
activesupport (>= 3.0)
|
86
86
|
sprockets (~> 2.8)
|
87
|
-
thor (0.
|
87
|
+
thor (0.17.0)
|
88
88
|
thread_safe (0.1.0)
|
89
89
|
atomic
|
90
90
|
tilt (1.3.3)
|
@@ -4,7 +4,7 @@ require File.expand_path('../../config/environment', __FILE__)
|
|
4
4
|
require "minitest/autorun"
|
5
5
|
require "minitest/rails"
|
6
6
|
|
7
|
-
# Add `gem "minitest
|
7
|
+
# Add `gem "minitest-rails-capybara"` to the test group of your Gemfile
|
8
8
|
# and uncomment the following if you want Capybara feature tests
|
9
9
|
# require "minitest/rails/capybara"
|
10
10
|
|
@@ -17,7 +17,11 @@ namespace "minitest" do
|
|
17
17
|
|
18
18
|
# Only run the default tasks defined in MiniTest::Rails::Testing.default_tasks
|
19
19
|
task :default do
|
20
|
-
|
20
|
+
if ENV["TEST"]
|
21
|
+
Rake::Task["minitest:single"].invoke
|
22
|
+
else
|
23
|
+
MiniTest::Rails::Testing.run_tests MiniTest::Rails::Testing.default_tasks
|
24
|
+
end
|
21
25
|
end
|
22
26
|
|
23
27
|
desc "Run all tests"
|
@@ -32,6 +36,10 @@ namespace "minitest" do
|
|
32
36
|
end
|
33
37
|
end
|
34
38
|
|
39
|
+
Rake::TestTask.new(:single => "test:prepare") do |t|
|
40
|
+
t.libs << "test"
|
41
|
+
end
|
42
|
+
|
35
43
|
MiniTest::Rails::Testing.all_tasks.each do |task_dir|
|
36
44
|
unless Rake::Task.task_defined? "minitest:#{task_dir}"
|
37
45
|
desc "Runs tests under test/#{task_dir}"
|
data/minitest-rails.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "minitest-rails"
|
5
|
-
s.version = "0.5.
|
5
|
+
s.version = "0.5.2.20130221095237"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Mike Moore"]
|
9
|
-
s.date = "2013-
|
9
|
+
s.date = "2013-02-21"
|
10
10
|
s.description = "Adds MiniTest as the default testing library in Rails 3 and 4"
|
11
11
|
s.email = ["mike@blowmage.com"]
|
12
12
|
s.extra_rdoc_files = ["CHANGELOG.rdoc", "Manifest.txt", "README.rdoc"]
|
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
|
|
15
15
|
s.rdoc_options = ["--main", "README.rdoc"]
|
16
16
|
s.require_paths = ["lib"]
|
17
17
|
s.rubyforge_project = "minitest-rails"
|
18
|
-
s.rubygems_version = "1.8.
|
18
|
+
s.rubygems_version = "1.8.25"
|
19
19
|
s.summary = "MiniTest integration for Rails 3 and 4"
|
20
20
|
s.test_files = ["test/generators/test_controller_generator.rb", "test/generators/test_helper_generator.rb", "test/generators/test_install_generator.rb", "test/generators/test_mailer_generator.rb", "test/generators/test_model_generator.rb", "test/generators/test_route_generator.rb", "test/generators/test_scaffold_generator.rb", "test/rails/action_controller/test_controllers.rb", "test/rails/action_controller/test_spec_type.rb", "test/rails/action_dispatch/test_spec_type.rb", "test/rails/action_mailer/test_mailers.rb", "test/rails/action_mailer/test_spec_type.rb", "test/rails/action_view/test_helpers.rb", "test/rails/action_view/test_spec_type.rb", "test/rails/active_support/test_spec_type.rb", "test/rails/test_constant_lookup.rb", "test/test_sanity.rb"]
|
21
21
|
|
@@ -27,19 +27,19 @@ Gem::Specification.new do |s|
|
|
27
27
|
s.add_runtime_dependency(%q<rails>, [">= 3.0"])
|
28
28
|
s.add_development_dependency(%q<rdoc>, ["~> 3.10"])
|
29
29
|
s.add_development_dependency(%q<fakefs>, ["~> 0.4"])
|
30
|
-
s.add_development_dependency(%q<hoe>, ["~> 3.
|
30
|
+
s.add_development_dependency(%q<hoe>, ["~> 3.5"])
|
31
31
|
else
|
32
32
|
s.add_dependency(%q<minitest>, ["~> 4.0"])
|
33
33
|
s.add_dependency(%q<rails>, [">= 3.0"])
|
34
34
|
s.add_dependency(%q<rdoc>, ["~> 3.10"])
|
35
35
|
s.add_dependency(%q<fakefs>, ["~> 0.4"])
|
36
|
-
s.add_dependency(%q<hoe>, ["~> 3.
|
36
|
+
s.add_dependency(%q<hoe>, ["~> 3.5"])
|
37
37
|
end
|
38
38
|
else
|
39
39
|
s.add_dependency(%q<minitest>, ["~> 4.0"])
|
40
40
|
s.add_dependency(%q<rails>, [">= 3.0"])
|
41
41
|
s.add_dependency(%q<rdoc>, ["~> 3.10"])
|
42
42
|
s.add_dependency(%q<fakefs>, ["~> 0.4"])
|
43
|
-
s.add_dependency(%q<hoe>, ["~> 3.
|
43
|
+
s.add_dependency(%q<hoe>, ["~> 3.5"])
|
44
44
|
end
|
45
45
|
end
|
metadata
CHANGED
@@ -2,14 +2,14 @@
|
|
2
2
|
name: minitest-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.5.
|
5
|
+
version: 0.5.2
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Mike Moore
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-02-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -81,7 +81,7 @@ dependencies:
|
|
81
81
|
requirements:
|
82
82
|
- - ~>
|
83
83
|
- !ruby/object:Gem::Version
|
84
|
-
version: '3.
|
84
|
+
version: '3.5'
|
85
85
|
name: hoe
|
86
86
|
type: :development
|
87
87
|
prerelease: false
|
@@ -90,7 +90,7 @@ dependencies:
|
|
90
90
|
requirements:
|
91
91
|
- - ~>
|
92
92
|
- !ruby/object:Gem::Version
|
93
|
-
version: '3.
|
93
|
+
version: '3.5'
|
94
94
|
description: Adds MiniTest as the default testing library in Rails 3 and 4
|
95
95
|
email:
|
96
96
|
- mike@blowmage.com
|
@@ -198,7 +198,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
198
198
|
version: '0'
|
199
199
|
requirements: []
|
200
200
|
rubyforge_project: minitest-rails
|
201
|
-
rubygems_version: 1.8.
|
201
|
+
rubygems_version: 1.8.25
|
202
202
|
signing_key:
|
203
203
|
specification_version: 3
|
204
204
|
summary: MiniTest integration for Rails 3 and 4
|