test-unit-rails 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f98aaf8a7f9d6a6ca59c25ebe7b2ae042e3d8dd9
4
- data.tar.gz: ed1415f008b8c4ee7ae82c5e6939ebd19651e3d2
3
+ metadata.gz: c15c0485ce662f55a3fe6fbc8bde3d34d2c137a3
4
+ data.tar.gz: 84e89f04b55e7aac1b1a1ffcc1aa760f9cf2a68f
5
5
  SHA512:
6
- metadata.gz: 6a80e454bb82195110759846b7c2f2040eb48181594498bed66e56084348c2f60991075c83a0277915df786992a6116434c4aa223d58b2df498c792731cc227b
7
- data.tar.gz: 5b77127befb87561aeaaced0e86d360cf1acce6447eb745aa557235f3c0f2f9c23b155c8aca6df1ab3352dbd5b7c542f9eb71c206df927b5a3e5a614ce90205a
6
+ metadata.gz: 75e18623fa93c1ad8edea7ac56e6c8c9330e1696e1ca834eb7db268e02a2908332e270d128272e8ffe57364bee51f70f0cace03af3d928199b1b06ce896b12f6
7
+ data.tar.gz: 14c2601f8b6f38b008b9b20bbbe2489324552b69cb58ec398bde296786f545687771e7cbbe9e46ace24d8164d76249010fcf27c936a11a1a6daced62942f48b2
@@ -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 ::Test::Unit::TestCase
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 = ::Test::Unit::TestCase.fixture_path
56
+ ActionDispatch::IntegrationTest.fixture_path = ActiveSupport::TestCase.fixture_path
57
57
  end
58
58
 
59
59
  class ActionController::TestCase
@@ -19,7 +19,7 @@
19
19
  module Test
20
20
  module Unit
21
21
  module Rails
22
- VERSION = "1.0.3"
22
+ VERSION = "1.0.4"
23
23
  end
24
24
  end
25
25
  end
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.3
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-04 00:00:00.000000000 Z
11
+ date: 2014-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails