factory_boy 2.0.0 → 2.0.1
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/setup.rb +1 -0
- metadata +3 -3
data/lib/setup.rb
CHANGED
@@ -14,6 +14,7 @@ module Plant
|
|
14
14
|
end
|
15
15
|
|
16
16
|
if defined?(ActiveSupport::TestCase)
|
17
|
+
require 'active_support/test_case' #fix constant not found Test when ran as gem under rails 3 app
|
17
18
|
module ActiveSupport
|
18
19
|
class TestCase < ::Test::Unit::TestCase
|
19
20
|
alias_method :original_run, :run
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: factory_boy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 13
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 2.0.
|
9
|
+
- 1
|
10
|
+
version: 2.0.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Philippe Cantin
|