lib/howitzer/capybara_helpers.rb in howitzer-2.0.0 vs lib/howitzer/capybara_helpers.rb in howitzer-2.0.1

- old
+ new

@@ -2,11 +2,11 @@ require 'howitzer/exceptions' module Howitzer # This module holds capybara helpers methods module CapybaraHelpers - CHECK_YOUR_SETTINGS_MSG = 'Please check your settings'.freeze + CHECK_YOUR_SETTINGS_MSG = 'Please check your settings'.freeze #:nodoc: # @return [Boolean] true if current driver related with SauceLab, # Testingbot or Browserstack cloud service def cloud_driver? @@ -58,10 +58,10 @@ return "[0m #{secs}s]" if secs >= 0 end # Updates a job status on the job cloud # @note SauceLabs is currently supported only - # @param json_data [String] (for example, {passed: true}) + # @param json_data [Hash] for example, (passed: true) def update_cloud_job_status(json_data = {}) case Howitzer.driver.to_sym when :sauce then update_sauce_job_status(json_data) else