working-rails 0.1.0 → 0.2.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.
- data/lib/working-rails.rb +1 -0
- data/lib/working-rails/test_helper.rb +7 -9
- data/lib/working-rails/version.rb +1 -1
- metadata +2 -2
data/lib/working-rails.rb
CHANGED
|
@@ -13,13 +13,11 @@ unless respond_to? :reload!
|
|
|
13
13
|
end
|
|
14
14
|
end
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
# Add more helper methods to be used by all tests here...
|
|
16
|
+
# If these are run before the fork, then they will very likely trigger a
|
|
17
|
+
# pre-fork load of the code that you end up wanting to test. Instead, we do it
|
|
18
|
+
# only on each_run
|
|
19
|
+
Spork.each_run do
|
|
20
|
+
class ActiveSupport::TestCase
|
|
21
|
+
fixtures :all
|
|
22
|
+
end
|
|
24
23
|
end
|
|
25
|
-
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: working-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-02-
|
|
12
|
+
date: 2013-02-09 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: working
|