summaryrefslogtreecommitdiffhomepage
path: root/spec
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-03-31 00:52:33 +0900
committerAdam Malczewski <[email protected]>2026-03-31 00:52:33 +0900
commit25488d32336e05b69a41391cc7b5153478d3cc8a (patch)
tree3570cccc44766d7268457adeff79f16f855c0d9f /spec
downloaddispatch-tool-files-main.tar.gz
dispatch-tool-files-main.zip
Diffstat (limited to 'spec')
-rw-r--r--spec/dispatch/tool/files_spec.rb11
-rw-r--r--spec/spec_helper.rb15
2 files changed, 26 insertions, 0 deletions
diff --git a/spec/dispatch/tool/files_spec.rb b/spec/dispatch/tool/files_spec.rb
new file mode 100644
index 0000000..5352b1e
--- /dev/null
+++ b/spec/dispatch/tool/files_spec.rb
@@ -0,0 +1,11 @@
+# frozen_string_literal: true
+
+RSpec.describe Dispatch::Tool::Files do
+ it "has a version number" do
+ expect(Dispatch::Tool::Files::VERSION).not_to be nil
+ end
+
+ it "does something useful" do
+ expect(false).to eq(true)
+ end
+end
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
new file mode 100644
index 0000000..298f383
--- /dev/null
+++ b/spec/spec_helper.rb
@@ -0,0 +1,15 @@
+# frozen_string_literal: true
+
+require "dispatch/tool/files"
+
+RSpec.configure do |config|
+ # Enable flags like --only-failures and --next-failure
+ config.example_status_persistence_file_path = ".rspec_status"
+
+ # Disable RSpec exposing methods globally on `Module` and `main`
+ config.disable_monkey_patching!
+
+ config.expect_with :rspec do |c|
+ c.syntax = :expect
+ end
+end