effective_test_bot 1.1.29 → 1.1.30
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/effective_test_bot.rb +5 -1
- data/lib/effective_test_bot/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9dec06ddd30a8548521d86039448de854f1ba937f40799d0289e161b4e894131
|
4
|
+
data.tar.gz: bd45ec5a42567d3e11ee9aecdd3cc9359c8351c8f4c8ed21e844f9baeb3d05da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d61ff64d42c6d0f95ce15ffb457307286e13ec36347b09c0c208241fb05ed3ca779140b44ad0af49143299f1135c48177a2137d442d5ffb815864359f642a13d
|
7
|
+
data.tar.gz: 3c86a02228efb83687c2b26d7daa878304616361d6ae123bc455b2329ffbc6fb6b53273fd19b1cea05b239d5c46c47ad2af9cfb39407bff1bdf74b3fb5de69e5
|
data/lib/effective_test_bot.rb
CHANGED
@@ -124,7 +124,11 @@ module EffectiveTestBot
|
|
124
124
|
return if EffectiveTestBot.passed_tests[name] == true
|
125
125
|
|
126
126
|
EffectiveTestBot.passed_tests[name] = true
|
127
|
-
|
127
|
+
|
128
|
+
# Make test pass directory
|
129
|
+
Dir.mkdir("#{Rails.root}/tmp") unless Dir.exist?("#{Rails.root}/tmp")
|
130
|
+
Dir.mkdir("#{Rails.root}/tmp/test_bot") unless Dir.exist?("#{Rails.root}/tmp/test_bot")
|
131
|
+
|
128
132
|
File.open(passed_tests_filename, 'a') { |file| file.puts(name) }
|
129
133
|
end
|
130
134
|
|