Top Level Namespace

Defined Under Namespace

Modules: Skink

Class Method Summary collapse

Class Method Details

.api_feature(*args, &block) ⇒ Object



21
22
23
24
25
26
27
28
29
# File 'lib/skink/integrations/rspec.rb', line 21

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

  describe(*args, &block)
end