Module: Fix
- Defined in:
- lib/fix.rb,
lib/fix/it.rb,
lib/fix/on.rb,
lib/fix/test.rb,
lib/fix/report.rb,
lib/fix/helpers/it_helper.rb,
lib/fix/helpers/on_helper.rb
Overview
Namespace for the Fix framework.
Defined Under Namespace
Modules: ItHelper, OnHelper Classes: It, On, Report, Test
Class Method Summary collapse
-
.describe(front_object, options = {}, &specs) ⇒ ExpectationTarget
Specs are built with this method.
Class Method Details
.describe(front_object, options = {}, &specs) ⇒ ExpectationTarget
Specs are built with this method.
20 21 22 23 24 25 |
# File 'lib/fix.rb', line 20 def self.describe(front_object, = {}, &specs) t = Test.new(front_object, , &specs) puts "#{t.report}" if .fetch(:verbose, true) exit t.pass? end |