From b13ec1794c81a70b457df70c0b34a32d94dc36b8 Mon Sep 17 00:00:00 2001 From: Adam Malczewski Date: Tue, 31 Mar 2026 19:05:55 +0900 Subject: init --- spec/dispatch/adapter/copilot_spec.rb | 11 +++++++++++ spec/spec_helper.rb | 15 +++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 spec/dispatch/adapter/copilot_spec.rb create mode 100644 spec/spec_helper.rb (limited to 'spec') diff --git a/spec/dispatch/adapter/copilot_spec.rb b/spec/dispatch/adapter/copilot_spec.rb new file mode 100644 index 0000000..eb28042 --- /dev/null +++ b/spec/dispatch/adapter/copilot_spec.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +RSpec.describe Dispatch::Adapter::Copilot do + it "has a version number" do + expect(Dispatch::Adapter::Copilot::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..700d63d --- /dev/null +++ b/spec/spec_helper.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +require "dispatch/adapter/copilot" + +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 -- cgit v1.2.3