effective_test_bot 1.5.4 → 1.5.5
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c320a94c17497abc43a0f37559dcee2e608ba899a2aabc4f4a4b7cc7a9e5be8
|
4
|
+
data.tar.gz: e5753beb4030d91505ee07ee221abe9b76d79a69d4da1c41a1a11542b1d703dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0530afa717c87156b8b07b78b4660d62e82f13294d3075b8f27e09fc6fb26760bced8f3c579a9f0cfd442d4f70bd0dbcff1a7efc2b49300cf19c107e02e5076
|
7
|
+
data.tar.gz: bbe0ab99a02579405943790b1da5fe05604e7a8b66451b80df844baa6757626a4f64df47e2d608be6ef7ab98d4c2c75bb36b0dbccc96501d97b7d84c92a32db4
|
@@ -34,12 +34,12 @@ module TestSeedable
|
|
34
34
|
|
35
35
|
case seed
|
36
36
|
when :all
|
37
|
-
load(db_seeds) if File.
|
38
|
-
load(test_seeds) if File.
|
37
|
+
load(db_seeds) if File.exist?(db_seeds)
|
38
|
+
load(test_seeds) if File.exist?(test_seeds)
|
39
39
|
when :db
|
40
|
-
load(db_seeds) if File.
|
40
|
+
load(db_seeds) if File.exist?(db_seeds)
|
41
41
|
when :test
|
42
|
-
load(test_seeds) if File.
|
42
|
+
load(test_seeds) if File.exist?(test_seeds)
|
43
43
|
else
|
44
44
|
raise('unexpected seed argument. use :all, :db or :test')
|
45
45
|
end
|
@@ -166,7 +166,7 @@ module EffectiveTestBotFormFaker
|
|
166
166
|
# If this is a file field, make sure the file is present at Rails.root/test/fixtures/
|
167
167
|
if fill.present? && fill != :unselect && field_name == 'input_file'
|
168
168
|
filename = (fill.to_s.include?('/') ? fill : "#{Rails.root}/test/fixtures/#{fill}")
|
169
|
-
raise("Warning: Unable to load fill file #{fill}. Expected file #{filename}") unless File.
|
169
|
+
raise("Warning: Unable to load fill file #{fill}. Expected file #{filename}") unless File.exist?(filename)
|
170
170
|
return filename
|
171
171
|
end
|
172
172
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_test_bot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -192,7 +192,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
192
192
|
- !ruby/object:Gem::Version
|
193
193
|
version: '0'
|
194
194
|
requirements: []
|
195
|
-
rubygems_version: 3.
|
195
|
+
rubygems_version: 3.5.6
|
196
196
|
signing_key:
|
197
197
|
specification_version: 4
|
198
198
|
summary: A shared library of rails model & system tests that should pass in every
|