Change #it_behaves_like to a macro

This commit is contained in:
Michael Miller 2018-09-23 16:10:07 -06:00
parent b3b8efdd59
commit 7a6045a1f3

View file

@ -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)