Class: SMARTAppLaunch::AppLaunchTest

Inherits:
Inferno::Test
  • Object
show all
Defined in:
lib/smart_app_launch/app_launch_test.rb

Instance Method Summary collapse

Instance Method Details

#wait_messageObject



15
16
17
18
19
20
21
22
23
24
25
26
# File 'lib/smart_app_launch/app_launch_test.rb', line 15

def wait_message
  return instance_exec(&config.options[:launch_message_proc]) if config.options[:launch_message_proc].present?

  %(
    ### #{self.class.parent&.parent&.title}

    Waiting for Inferno to be launched from the EHR.

    Tests will resume once Inferno receives a launch request at
    `#{config.options[:launch_uri]}` with an `iss` of `#{url}`.
  )
end