Module: Ccp::Commands::Fixturable
- Defined in:
- lib/ccp/commands/fixturable.rb
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
4 5 6 7 8 9 10 11 12 13 |
# File 'lib/ccp/commands/fixturable.rb', line 4 def self.included(base) base.class_eval do include Ccp::Utils::Options dsl_accessor :fixture, (:stub, :mock, :fail, :save, :keys, :dir, :kvs, :ext) def self.test( = {}) execute({:fixture_test=>true,:logger=>Logger.new(STDOUT)}.merge()) end end end |