Class: Suture::PrescribesTestPlan
- Inherits:
-
Object
- Object
- Suture::PrescribesTestPlan
- Defined in:
- lib/suture/prescribes_test_plan.rb
Constant Summary collapse
- UN_ENV_IABLE_OPTIONS =
[:name, :subject, :comparator]
- DEFAULT_TEST_OPTIONS =
{ :fail_fast => false }
Instance Method Summary collapse
Instance Method Details
#prescribe(name, options = {}) ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/suture/prescribes_test_plan.rb', line 11 def prescribe(name, = {}) Value::TestPlan.new(DEFAULT_TEST_OPTIONS. merge(Suture.config). merge(). merge(:name => name). merge(Suture::Util::Env.to_map(UN_ENV_IABLE_OPTIONS))) end |