activerecord-creating_foreign_keys 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/active_record/creating_foreign_keys/version.rb +1 -1
- data/test/test_helper.rb +7 -7
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d4c5a35e6a8a7b83f2673c41c0d9ed7c6992c823
|
4
|
+
data.tar.gz: feb454ca176f7146438926a8412f170cc7276601
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a68d697adf0721d4a3ab0bbeda9475e75a52ba3323cfc3c62602d854cf27ff3a4e52c80915884590262db8f1cecc301a5ea90b3f4fb1f9ae272725acfec1b18
|
7
|
+
data.tar.gz: dcf29bbf8929e716fccff4926e0f2646dacfa8c6e70076de711ced74ddc85e8ae6c0c9ec350c28a5a8c9c2575a34fc841eaccc5acf507afec20891a25d57ccf3
|
data/test/test_helper.rb
CHANGED
@@ -3,6 +3,13 @@
|
|
3
3
|
# Configure Rails Environment
|
4
4
|
ENV["RAILS_ENV"] = "test"
|
5
5
|
|
6
|
+
if ENV["CI"]
|
7
|
+
require "simplecov"
|
8
|
+
SimpleCov.start "rails" do
|
9
|
+
add_filter "/test/"
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
6
13
|
require File.expand_path("../../test/dummy/config/environment.rb", __FILE__)
|
7
14
|
ActiveRecord::Migrator.migrations_paths = [File.expand_path("../../test/dummy/db/migrate", __FILE__)]
|
8
15
|
require "rails/test_help"
|
@@ -18,10 +25,3 @@ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
|
18
25
|
if ActiveSupport::TestCase.respond_to?(:fixture_path=)
|
19
26
|
ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
|
20
27
|
end
|
21
|
-
|
22
|
-
if ENV["CI"]
|
23
|
-
require "simplecov"
|
24
|
-
SimpleCov.start "rails" do
|
25
|
-
add_filter "/test/"
|
26
|
-
end
|
27
|
-
end
|