aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/test_helper.rb7
-rw-r--r--tests/test_locusts.rb10
2 files changed, 17 insertions, 0 deletions
diff --git a/tests/test_helper.rb b/tests/test_helper.rb
new file mode 100644
index 0000000..f390cdd
--- /dev/null
+++ b/tests/test_helper.rb
@@ -0,0 +1,7 @@
+# typed: strict
+# frozen_string_literal: true
+
+$LOAD_PATH.unshift File.expand_path("../src", __dir__)
+require "locusts"
+
+require "minitest/autorun"
diff --git a/tests/test_locusts.rb b/tests/test_locusts.rb
new file mode 100644
index 0000000..d2e8811
--- /dev/null
+++ b/tests/test_locusts.rb
@@ -0,0 +1,10 @@
+# typed: true
+# frozen_string_literal: true
+
+require "test_helper"
+
+class TestLocusts < Minitest::Test
+ def test_it_does_something_useful
+ assert_nil ::Locusts::Locusts.introduceLocusts
+ end
+end