diff --git a/shard.yml b/shard.yml index 9f25812..ce851ea 100644 --- a/shard.yml +++ b/shard.yml @@ -1,5 +1,5 @@ name: spectator -version: 0.9.4 +version: 0.9.5 description: | A feature-rich spec testing framework for Crystal with similarities to RSpec. diff --git a/src/spectator.cr b/src/spectator.cr index 52c4e52..6ad00a3 100644 --- a/src/spectator.cr +++ b/src/spectator.cr @@ -6,7 +6,7 @@ module Spectator extend self # Current version of the Spectator library. - VERSION = "0.9.4" + VERSION = "0.9.5" # Top-level describe method. # All specs in a file must be wrapped in this call. diff --git a/src/spectator/dsl/groups.cr b/src/spectator/dsl/groups.cr index 227c224..33c12a1 100644 --- a/src/spectator/dsl/groups.cr +++ b/src/spectator/dsl/groups.cr @@ -24,7 +24,7 @@ module Spectator {{what}} end - def _spectator_implicit_subject(*args) + def subject(*args) described_class.new(*args) end {% else %}