inheritable_fixtures 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/lib/inheritable_fixtures/rails_extensions/engine.rb +2 -1
- data/lib/inheritable_fixtures/version.rb +1 -1
- 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: c4d5c0d773db77d64c60d34898ea2af61196308d
|
4
|
+
data.tar.gz: 391c5c79d9868305926653d6fcdb4069c7a699d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f1d75012b022b1c5bef1498545098d99039184d8493fcfd2a7c6e6570e5709f2b2e0f2d04623363c62877df995420f3fa9d2e90a204914462f2f27052f717bd
|
7
|
+
data.tar.gz: 0568d5092d8609a4b7d1fd93596330423a64ee0e2247a2d42c65dcb7d963211344dc65eb69870352e5352f56080100110d635512ae876c4ad0548cf916c2dc9c
|
data/.gitignore
CHANGED
@@ -4,7 +4,8 @@ module InheritableFixtures
|
|
4
4
|
def self.included(target)
|
5
5
|
target.class_eval do
|
6
6
|
initializer :append_fixtures_paths, group: :all do |app|
|
7
|
-
|
7
|
+
fixtures_path = root.join('lib', name.underscore, 'test', 'fixtures').to_s
|
8
|
+
app.config.fixtures_paths.unshift(fixtures_path) if File.exists?(fixtures_path)
|
8
9
|
end
|
9
10
|
end
|
10
11
|
end
|