Merge branch 'issue-11-fix' into 'master'

Issue 11 fix

Closes #11

See merge request arctic-fox/spectator!4
This commit is contained in:
Mike Miller 2019-06-02 02:12:24 +00:00
commit b6ac736dd2
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
name: spectator name: spectator
version: 0.7.1 version: 0.7.2
description: | description: |
A feature-rich spec testing framework for Crystal with similarities to RSpec. A feature-rich spec testing framework for Crystal with similarities to RSpec.

View file

@ -1537,7 +1537,7 @@ module Spectator::DSL
# The block passed to this macro is the actual test code. # The block passed to this macro is the actual test code.
private macro _spectator_test(class_name, run_method_name) private macro _spectator_test(class_name, run_method_name)
# Wrapper class for isolating the test code. # Wrapper class for isolating the test code.
struct {{class_name.id}} class {{class_name.id}}
# Mix in methods and macros specifically for example DSL. # Mix in methods and macros specifically for example DSL.
include ::Spectator::DSL::ExampleDSL include ::Spectator::DSL::ExampleDSL