Module: Fix
- Defined in:
- lib/fix.rb,
lib/fix/it.rb,
lib/fix/on.rb,
lib/fix/test.rb,
lib/fix/report.rb
Overview
Namespace for the Fix framework.
Defined Under Namespace
Class Method Summary collapse
-
.describe(front_object, options = {}, &specs) ⇒ Object
Specs are built with this method.
Class Method Details
.describe(front_object, options = {}, &specs) ⇒ Object
Specs are built with this method.
18 19 20 21 22 23 |
# File 'lib/fix.rb', line 18 def self.describe(front_object, = {}, &specs) t = Test.new(front_object, , &specs) print "#{t.report}" if .fetch(:verbose, true) exit t.pass? end |