minitest-rails-shoulda 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
|
|
1
1
|
require "minitest/matchers"
|
2
|
+
require "minitest/rails"
|
2
3
|
|
3
4
|
if defined?(ActiveRecord)
|
4
|
-
require "minitest/rails/active_support"
|
5
5
|
require "shoulda/matchers/active_record"
|
6
6
|
|
7
7
|
Shoulda::Matchers::ActiveRecord.module_eval do
|
@@ -18,7 +18,6 @@ if defined?(ActiveRecord)
|
|
18
18
|
end
|
19
19
|
|
20
20
|
if defined?(ActiveModel)
|
21
|
-
require "minitest/rails/active_support"
|
22
21
|
require "shoulda/matchers/active_model"
|
23
22
|
|
24
23
|
Shoulda::Matchers::ActiveModel.module_eval do
|
@@ -35,7 +34,6 @@ if defined?(ActiveModel)
|
|
35
34
|
end
|
36
35
|
|
37
36
|
if defined?(ActionController)
|
38
|
-
require "minitest/rails/action_controller"
|
39
37
|
require "shoulda/matchers/action_controller"
|
40
38
|
|
41
39
|
Shoulda::Matchers::ActionController.module_eval do
|
@@ -52,7 +50,6 @@ if defined?(ActionController)
|
|
52
50
|
end
|
53
51
|
|
54
52
|
if defined?(ActionMailer)
|
55
|
-
require "minitest/rails/action_mailer"
|
56
53
|
require "shoulda/matchers/action_mailer"
|
57
54
|
|
58
55
|
Shoulda::Matchers::ActionMailer.module_eval do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest-rails-shoulda
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-01-
|
13
|
+
date: 2013-01-21 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: minitest-rails
|
@@ -99,7 +99,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
99
99
|
version: '0'
|
100
100
|
segments:
|
101
101
|
- 0
|
102
|
-
hash:
|
102
|
+
hash: -3883739058438567835
|
103
103
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
104
104
|
none: false
|
105
105
|
requirements:
|
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
108
|
version: '0'
|
109
109
|
segments:
|
110
110
|
- 0
|
111
|
-
hash:
|
111
|
+
hash: -3883739058438567835
|
112
112
|
requirements: []
|
113
113
|
rubyforge_project: minitest-rails-shoulda
|
114
114
|
rubygems_version: 1.8.24
|