factory_bot-preload 0.2.1 → 0.2.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/README.md +7 -1
- data/lib/factory_bot/preload/version.rb +1 -1
- metadata +1 -2
- data/lib/factory_bot-preload.rb +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 40f6db7436f6c2e5af62b1432b8d4c2e4910e68aa2ae6bfe3ffd9fb7d37540f8
|
4
|
+
data.tar.gz: e03e9fcbc0772227d7f05032422cfea1488442b692ab873b0d2c4edd03855500
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b5095f45aee005e1b1377d98a9649c8c46ee96a89218e46f06aa6f5e8c632a1a09b0db76c52fc7738c53ce6e4f67897d98829810dbc02ec2061fb6a612278cc
|
7
|
+
data.tar.gz: 7607063d3be8e6af9aec024b8fe286442ae858d84f495cdec6679744af7a5fd2ff978dfef68faa6b52c9609dee6bf6d691788c7f094598dc621d5d4e791ab772
|
data/.gitignore
CHANGED
data/README.md
CHANGED
@@ -43,7 +43,13 @@ ENV["RAILS_ENV"] ||= "test"
|
|
43
43
|
require File.expand_path("../../config/environment", __FILE__)
|
44
44
|
require "rspec/rails"
|
45
45
|
|
46
|
-
|
46
|
+
# First, load factory_bot/preload.
|
47
|
+
require "factory_bot/preload"
|
48
|
+
|
49
|
+
# Then load your factories
|
50
|
+
Dir[Rails.root.join("spec/support/factories/**/*.rb")].each do |file|
|
51
|
+
require file
|
52
|
+
end
|
47
53
|
|
48
54
|
RSpec.configure do |config|
|
49
55
|
config.use_transactional_fixtures = true
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: factory_bot-preload
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nando Vieira
|
@@ -196,7 +196,6 @@ files:
|
|
196
196
|
- factory_bot-preload.gemspec
|
197
197
|
- gemfiles/5_2.gemfile
|
198
198
|
- gemfiles/6_0.gemfile
|
199
|
-
- lib/factory_bot-preload.rb
|
200
199
|
- lib/factory_bot/preload.rb
|
201
200
|
- lib/factory_bot/preload/extension.rb
|
202
201
|
- lib/factory_bot/preload/helpers.rb
|
data/lib/factory_bot-preload.rb
DELETED