lib/matest/top_level_methods.rb in matest-1.6.1 vs lib/matest/top_level_methods.rb in matest-1.6.2
- old
+ new
@@ -1,10 +1,10 @@
def scope(description=nil, &block)
Matest::Runner.runner << Matest::ExampleGroup.new(block)
end
def xscope(description=nil, &block)
- # no-op
+ Matest::Runner.runner << Matest::SkippedExampleGroup.new(block)
end
alias :describe :scope
alias :xdescribe :xscope