The #is_expected macro must be in example for visibility in #it

This commit is contained in:
Michael Miller 2018-08-28 16:44:21 -06:00
parent b1d70453cf
commit aeb09b4e0d
2 changed files with 4 additions and 4 deletions

View File

@ -70,10 +70,6 @@ module Spectator
end
end
macro is_expected
expect(subject)
end
def before_all
raise NotImplementedError.new("Spectator::DSL#before_all")
end

View File

@ -1,5 +1,9 @@
module Spectator
abstract class Example
macro is_expected
expect(subject)
end
abstract def run
end
end