mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Change #it_behaves_like to a macro
This commit is contained in:
parent
b3b8efdd59
commit
7a6045a1f3
1 changed files with 2 additions and 2 deletions
|
@ -133,8 +133,8 @@ module Spectator
|
|||
::Spectator::DSL::Builder.add_example(Example%example)
|
||||
end
|
||||
|
||||
def it_behaves_like
|
||||
raise NotImplementedError.new("Spectator::DSL#it_behaves_like")
|
||||
macro it_behaves_like
|
||||
{% raise NotImplementedError.new("it_behaves_like functionality is not implemented") %}
|
||||
end
|
||||
|
||||
private macro _spectator_described_class(what)
|
||||
|
|
Loading…
Reference in a new issue