class Capybara::Workflows::WorkflowSet

for use in capybara integration tests session : the test session, where capybara and other libraries/helpers are available

Public Class Methods

workflow(name, &block) click to toggle source
# File lib/capybara/workflows.rb, line 8
def self.workflow(name, &block)
  workflow = Proc.new do |*args| session.instance_exec(*[*args, self], &block) end
  define_method(name, &workflow)
end