summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-05-02 18:09:02 -0600
committermo khan <mo.khan@gmail.com>2020-05-02 18:09:02 -0600
commitb68c2b23b28bf88a22befc07bb439dccc4540c27 (patch)
treef4a0eff72d66ba99898d420bf66e722dd9187e00
parent96ffa5e41153352f788553c5792a4f117a3c5e6a (diff)
Detect license in under 10 ms
-rwxr-xr-xbin/test2
-rw-r--r--spec/unit/core/guess_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/test b/bin/test
index adbbd4b..1cb9218 100755
--- a/bin/test
+++ b/bin/test
@@ -13,5 +13,5 @@ echo ["$(date "+%H:%M:%S")"] "==> Running tests…"
if [ $# -eq 0 ]; then
bundle exec parallel_rspec spec
else
- bundle exec parallel_rspec "$@"
+ bundle exec rspec "$@"
fi
diff --git a/spec/unit/core/guess_spec.rb b/spec/unit/core/guess_spec.rb
index 750ac6e..2e267d4 100644
--- a/spec/unit/core/guess_spec.rb
+++ b/spec/unit/core/guess_spec.rb
@@ -55,7 +55,7 @@ RSpec.describe Spandx::Core::Guess do
pending algorithm do
expect do
subject.license_for(content, algorithm: algorithm)
- end.to perform_under(0.05).sample(10)
+ end.to perform_under(0.01).sample(10)
end
end
end