From 9d4a5886e50a7c3a815bad60adc925163789f90f Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Sat, 9 Oct 2021 13:39:44 -0600 Subject: [PATCH] Reorganize some specs --- spec/{spectator => features}/aggregate_failures_spec.cr | 0 spec/{spectator => features}/concise_spec.cr | 0 spec/{ => features}/custom_message_spec.cr | 2 +- spec/{ => features}/line_number_spec.cr | 2 +- spec/{ => features}/subject_spec.cr | 2 +- 5 files changed, 3 insertions(+), 3 deletions(-) rename spec/{spectator => features}/aggregate_failures_spec.cr (100%) rename spec/{spectator => features}/concise_spec.cr (100%) rename spec/{ => features}/custom_message_spec.cr (97%) rename spec/{ => features}/line_number_spec.cr (97%) rename spec/{ => features}/subject_spec.cr (94%) diff --git a/spec/spectator/aggregate_failures_spec.cr b/spec/features/aggregate_failures_spec.cr similarity index 100% rename from spec/spectator/aggregate_failures_spec.cr rename to spec/features/aggregate_failures_spec.cr diff --git a/spec/spectator/concise_spec.cr b/spec/features/concise_spec.cr similarity index 100% rename from spec/spectator/concise_spec.cr rename to spec/features/concise_spec.cr diff --git a/spec/custom_message_spec.cr b/spec/features/custom_message_spec.cr similarity index 97% rename from spec/custom_message_spec.cr rename to spec/features/custom_message_spec.cr index 64ca32b..a0dc973 100644 --- a/spec/custom_message_spec.cr +++ b/spec/features/custom_message_spec.cr @@ -1,4 +1,4 @@ -require "./spec_helper" +require "../spec_helper" Spectator.describe Spectator do it "supports custom expectation messages" do diff --git a/spec/line_number_spec.cr b/spec/features/line_number_spec.cr similarity index 97% rename from spec/line_number_spec.cr rename to spec/features/line_number_spec.cr index 5439ea0..ba273cf 100644 --- a/spec/line_number_spec.cr +++ b/spec/features/line_number_spec.cr @@ -1,4 +1,4 @@ -require "./spec_helper" +require "../spec_helper" Spectator.describe Spectator do let(current_example) { ::Spectator::Example.current } diff --git a/spec/subject_spec.cr b/spec/features/subject_spec.cr similarity index 94% rename from spec/subject_spec.cr rename to spec/features/subject_spec.cr index 43c5018..42436ea 100644 --- a/spec/subject_spec.cr +++ b/spec/features/subject_spec.cr @@ -1,4 +1,4 @@ -require "./spec_helper" +require "../spec_helper" class Base; end