Module: RSpec::Core::ObjectExtensions

Defined in:
lib/saki.rb

Instance Method Summary collapse

Instance Method Details

#integrate(*args, &block) ⇒ Object



310
311
312
313
314
# File 'lib/saki.rb', line 310

def integrate(*args, &block)
  args << {} unless args.last.is_a?(Hash)
  args.last.update :type => :acceptance
  describe(*args, &block)
end