class TelegramActionExampleGroup::TestFlow

Attributes

example_group[RW]

Public Instance Methods

client() click to toggle source
# File lib/telegram_workflow/rspec.rb, line 55
def client
  example_group.subject.client
end
redirect_to(action_or_step, session_params = nil) click to toggle source
Calls superclass method TelegramWorkflow::Workflow#redirect_to
# File lib/telegram_workflow/rspec.rb, line 59
def redirect_to(action_or_step, session_params = nil)
  super

  if session_params
    example_group.subject.flow.send(:redirect_to, action_or_step, session_params)
  else
    example_group.subject.flow.send(:redirect_to, action_or_step)
  end
end