Some cleanup

This commit is contained in:
Michael Miller 2018-08-19 01:38:02 -06:00
parent 0613344230
commit 0ade9f4dfd

View file

@ -12,11 +12,11 @@ module Spectator
end end
def describe def describe
raise NotImplementedError.new("Spectator::DSL::ExampleGroupDSL#describe") raise NotImplementedError.new("Spectator::DSL#describe")
end end
def context def context
raise NotImplementedError.new("Spectator::DSL::ExampleGroupDSL#context") raise NotImplementedError.new("Spectator::DSL#context")
end end
def it(description : String, &block) : Nil def it(description : String, &block) : Nil
@ -25,52 +25,52 @@ module Spectator
end end
def it_behaves_like def it_behaves_like
raise NotImplementedError.new("Spectator::DSL::ExampleGroupDSL#it_behaves_like") raise NotImplementedError.new("Spectator::DSL#it_behaves_like")
end end
def subject def subject
raise NotImplementedError.new("Spectator::DSL::ExampleGroupDSL#subject") raise NotImplementedError.new("Spectator::DSL#subject")
end end
def subject! def subject!
raise NotImplementedError.new("Spectator::DSL::ExampleGroupDSL#subject!") raise NotImplementedError.new("Spectator::DSL#subject!")
end end
def let def let
raise NotImplementedError.new("Spectator::DSL::ExampleGroupDSL#let") raise NotImplementedError.new("Spectator::DSL#let")
end end
def let! def let!
raise NotImplementedError.new("Spectator::DSL::ExampleGroupDSL#let!") raise NotImplementedError.new("Spectator::DSL#let!")
end end
def before_all def before_all
raise NotImplementedError.new("Spectator::DSL::ExampleGroupDSL#before_all") raise NotImplementedError.new("Spectator::DSL#before_all")
end end
def before_each def before_each
raise NotImplementedError.new("Spectator::DSL::ExampleGroupDSL#before_each") raise NotImplementedError.new("Spectator::DSL#before_each")
end end
def after_all def after_all
raise NotImplementedError.new("Spectator::DSL::ExampleGroupDSL#after_all") raise NotImplementedError.new("Spectator::DSL#after_all")
end end
def after_each def after_each
raise NotImplementedError.new("Spectator::DSL::ExampleGroupDSL#after_each") raise NotImplementedError.new("Spectator::DSL#after_each")
end end
def around_each def around_each
raise NotImplementedError.new("Spectator::DSL::ExampleGroupDSL#around_each") raise NotImplementedError.new("Spectator::DSL#around_each")
end end
def include_examples def include_examples
raise NotImplementedError.new("Spectator::DSL::ExampleGroupDSL#include_examples") raise NotImplementedError.new("Spectator::DSL#include_examples")
end end
# :nodoc: # :nodoc:
protected def _spec_build : Spectator::ExampleGroup protected def _spec_build
Spectator::ExampleGroup.new(@examples) ExampleGroup.new(@examples)
end end
end end
end end