From 35010134197a1d1cf653e6e4416459f6b50f1319 Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Sun, 3 Jan 2021 06:49:51 +0100 Subject: [PATCH] Reorganize spec tree --- spec/{ => lib}/cli_spec.cr | 2 +- spec/{ => lib}/tui_spec.cr | 2 +- spec/spec_helper.cr | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) rename spec/{ => lib}/cli_spec.cr (87%) rename spec/{ => lib}/tui_spec.cr (87%) create mode 100644 spec/spec_helper.cr diff --git a/spec/cli_spec.cr b/spec/lib/cli_spec.cr similarity index 87% rename from spec/cli_spec.cr rename to spec/lib/cli_spec.cr index 2ef0bbd..3da2450 100644 --- a/spec/cli_spec.cr +++ b/spec/lib/cli_spec.cr @@ -1,6 +1,6 @@ require "spec" -require "../src/lib/cli" +require "../../src/lib/cli" describe Noozoid::Cli do describe "#start" do diff --git a/spec/tui_spec.cr b/spec/lib/tui_spec.cr similarity index 87% rename from spec/tui_spec.cr rename to spec/lib/tui_spec.cr index 12f24de..6baed29 100644 --- a/spec/tui_spec.cr +++ b/spec/lib/tui_spec.cr @@ -1,6 +1,6 @@ require "spec" -require "../src/lib/tui" +require "../../src/lib/tui" describe Noozoid::Tui do describe "#run" do diff --git a/spec/spec_helper.cr b/spec/spec_helper.cr new file mode 100644 index 0000000..efde361 --- /dev/null +++ b/spec/spec_helper.cr @@ -0,0 +1,2 @@ + +require "spec"