Sha256: 73c1283c67e7b86230fde85c0e9ef416713d01ed3e5bd5ece6d69582732b8133

Contents?: true

Size: 344 Bytes

Versions: 11

Compression:

Stored size: 344 Bytes

Contents

def scope(description=nil, &block)
  Matest::Runner.runner << Matest::ExampleGroup.new(block)
end

def xscope(description=nil, &block)
  Matest::Runner.runner << Matest::SkippedExampleGroup.new(block)
end

alias :describe :scope
alias :xdescribe :xscope

alias :context :scope
alias :xcontext :xscope

alias :group :scope
alias :xgroup :xscope

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
matest-1.7.4 lib/matest/top_level_methods.rb
matest-1.7.3 lib/matest/top_level_methods.rb
matest-1.7.2 lib/matest/top_level_methods.rb
matest-1.7.1 lib/matest/top_level_methods.rb
matest-1.7.0 lib/matest/top_level_methods.rb
matest-1.6.9 lib/matest/top_level_methods.rb
matest-1.6.6 lib/matest/top_level_methods.rb
matest-1.6.5 lib/matest/top_level_methods.rb
matest-1.6.4 lib/matest/top_level_methods.rb
matest-1.6.3 lib/matest/top_level_methods.rb
matest-1.6.2 lib/matest/top_level_methods.rb