test-unit-rails 1.0.3 → 1.0.4
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.
- checksums.yaml +4 -4
- data/doc/text/news.textile +12 -0
- data/lib/test/unit/rails/test_help.rb +2 -2
- data/lib/test/unit/rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c15c0485ce662f55a3fe6fbc8bde3d34d2c137a3
|
|
4
|
+
data.tar.gz: 84e89f04b55e7aac1b1a1ffcc1aa760f9cf2a68f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 75e18623fa93c1ad8edea7ac56e6c8c9330e1696e1ca834eb7db268e02a2908332e270d128272e8ffe57364bee51f70f0cace03af3d928199b1b06ce896b12f6
|
|
7
|
+
data.tar.gz: 14c2601f8b6f38b008b9b20bbbe2489324552b69cb58ec398bde296786f545687771e7cbbe9e46ace24d8164d76249010fcf27c936a11a1a6daced62942f48b2
|
data/doc/text/news.textile
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
h1. News
|
|
2
2
|
|
|
3
|
+
h2(#1-0-4). 1.0.4 - 2014-09-07
|
|
4
|
+
|
|
5
|
+
Bug fixes release.
|
|
6
|
+
|
|
7
|
+
h3. Fixes
|
|
8
|
+
|
|
9
|
+
* Used the correct class to be extended for running tests by @Test::Unit@ .
|
|
10
|
+
@ActiveSupport::TestCase@ is used now but before @Test::Unit::TestCase@ was.
|
|
11
|
+
@ActiveSupport::TestCase@ (but @TestUnit::TestCase@ ) is inherited
|
|
12
|
+
by @ActionController::TestCase@ (for controller tests) and
|
|
13
|
+
@ActionDispatch::IntegrationTest@ (for integration tests).
|
|
14
|
+
|
|
3
15
|
h2(#1-0-3). 1.0.3 - 2014-09-04
|
|
4
16
|
|
|
5
17
|
h3. Improvements
|
|
@@ -40,7 +40,7 @@ if defined?(ActiveRecord::Migration)
|
|
|
40
40
|
end
|
|
41
41
|
|
|
42
42
|
if defined?(ActiveRecord::Base)
|
|
43
|
-
class ::
|
|
43
|
+
class ActiveSupport::TestCase
|
|
44
44
|
include ActiveRecord::TestFixtures
|
|
45
45
|
self.fixture_path = "#{Rails.root}/test/fixtures/"
|
|
46
46
|
|
|
@@ -53,7 +53,7 @@ if defined?(ActiveRecord::Base)
|
|
|
53
53
|
end
|
|
54
54
|
end
|
|
55
55
|
|
|
56
|
-
ActionDispatch::IntegrationTest.fixture_path = ::
|
|
56
|
+
ActionDispatch::IntegrationTest.fixture_path = ActiveSupport::TestCase.fixture_path
|
|
57
57
|
end
|
|
58
58
|
|
|
59
59
|
class ActionController::TestCase
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: test-unit-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kouhei Sutou
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-09-
|
|
11
|
+
date: 2014-09-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|