Sha256: e51eaa642cebaa27f06c04f4761a4f7a67460c5f4a9ae223c6a5825089aaaf4b

Contents?: true

Size: 288 Bytes

Versions: 14

Compression:

Stored size: 288 Bytes

Contents

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

def xscope(description=nil, &block)
  # no-op
end

alias :describe :scope
alias :xdescribe :xscope

alias :context :scope
alias :xcontext :xscope

alias :group :scope
alias :xgroup :xscope

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
matest-1.6.1 lib/matest/top_level_methods.rb
matest-1.6.0 lib/matest/top_level_methods.rb
matest-1.5.6 lib/matest/top_level_methods.rb
matest-1.5.5 lib/matest/top_level_methods.rb
matest-1.5.4 lib/matest/top_level_methods.rb
matest-1.5.3 lib/matest/top_level_methods.rb
matest-1.5.2 lib/matest/top_level_methods.rb
matest-1.5.1 lib/matest/top_level_methods.rb
matest-1.5.0 lib/matest/top_level_methods.rb
matest-1.4.1 lib/matest/top_level_methods.rb
matest-1.4.0 lib/matest/top_level_methods.rb
matest-1.3.2 lib/matest/top_level_methods.rb
matest-1.3.1 lib/matest/top_level_methods.rb
matest-1.3.0 lib/matest/top_level_methods.rb