Class: Object

Inherits:
BasicObject
Defined in:
lib/nanotest/spec.rb

Instance Method Summary collapse

Instance Method Details

#mustObject



21
22
23
# File 'lib/nanotest/spec.rb', line 21

def must
  Nanotest::Spec.new(self)
end

#wontObject



24
25
26
# File 'lib/nanotest/spec.rb', line 24

def wont
  Nanotest::Spec.new(self, false)
end