Top Level Namespace

Includes:
Bbq::RSpecFeature

Defined Under Namespace

Modules: Bbq, Rspec, TestUnit Classes: TestUser

Class Method Summary collapse

Methods included from Bbq::RSpecFeature

included

Class Method Details

.feature(*args, &block) ⇒ Object



79
80
81
82
83
84
85
86
# File 'lib/bbq/rspec.rb', line 79

def self.feature(*args, &block)
  options = if args.last.is_a?(Hash) then args.pop else {} end
  options[:type] = :acceptance
  options[:caller] ||= caller
  args.push(options)

  describe(*args, &block)
end