diff --git a/src/spectator.cr b/src/spectator.cr index f08083c..2f61c4a 100644 --- a/src/spectator.cr +++ b/src/spectator.cr @@ -1,3 +1,5 @@ +require "./spectator/core/**" + # Feature-rich testing framework for Crystal inspired by RSpec. module Spectator # Current version of the Spectator library. diff --git a/src/core/example.cr b/src/spectator/core/example.cr similarity index 97% rename from src/core/example.cr rename to src/spectator/core/example.cr index 9eb45da..e05f056 100644 --- a/src/core/example.cr +++ b/src/spectator/core/example.cr @@ -1,4 +1,4 @@ -module Spectator +module Spectator::Core # Information about a test case and functionality for running it. class Example # Name of the example. diff --git a/src/core/example_group.cr b/src/spectator/core/example_group.cr similarity index 96% rename from src/core/example_group.cr rename to src/spectator/core/example_group.cr index 6fcc0f8..44c1a6f 100644 --- a/src/core/example_group.cr +++ b/src/spectator/core/example_group.cr @@ -1,4 +1,4 @@ -module Spectator +module Spectator::Core # Information about a group of examples and functionality for running them. # The group can be nested. class ExampleGroup