aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMatthew Strapp <matt@mattstrapp.net>2024-10-30 15:01:13 -0500
committerGitHub <noreply@github.com>2024-10-30 15:01:13 -0500
commit7fb5261783bc975fdde6894a8c7f4ef778a19189 (patch)
tree34fcb0ba4055382a5bf5093661e39ec8eccf5bbd /tests
parentdocs: Fix error in .NET example (diff)
downloadlocusts-7fb5261783bc975fdde6894a8c7f4ef778a19189.tar
locusts-7fb5261783bc975fdde6894a8c7f4ef778a19189.tar.gz
locusts-7fb5261783bc975fdde6894a8c7f4ef778a19189.tar.bz2
locusts-7fb5261783bc975fdde6894a8c7f4ef778a19189.tar.lz
locusts-7fb5261783bc975fdde6894a8c7f4ef778a19189.tar.xz
locusts-7fb5261783bc975fdde6894a8c7f4ef778a19189.tar.zst
locusts-7fb5261783bc975fdde6894a8c7f4ef778a19189.zip
feat: Ruby (#33)
* bundle gem locusts Signed-off-by: Matt Strapp <matt@mattstrapp.net> * Add changeset and flesh out gemspec Signed-off-by: Matt Strapp <matt@mattstrapp.net> * Oops Signed-off-by: Matt Strapp <matt@mattstrapp.net> * nothing Signed-off-by: Matt Strapp <matt@mattstrapp.net> * actually draw the owl Signed-off-by: Matt Strapp <matt@mattstrapp.net> * oops Signed-off-by: Matt Strapp <matt@mattstrapp.net> * oops 2 Signed-off-by: Matt Strapp <matt@mattstrapp.net> --------- Signed-off-by: Matt Strapp <matt@mattstrapp.net>
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