lib/howitzer/capybara_helpers.rb in howitzer-2.0.1 vs lib/howitzer/capybara_helpers.rb in howitzer-2.0.2
- old
+ new
@@ -8,10 +8,10 @@
# @return [Boolean] true if current driver related with SauceLab,
# Testingbot or Browserstack cloud service
def cloud_driver?
- [:sauce, :testingbot, :browserstack].include?(Howitzer.driver.to_sym)
+ %i(sauce testingbot browserstack).include?(Howitzer.driver.to_sym)
end
# @return [Boolean] whether or not current browser is
# Internet Explorer.
# @raise [CloudBrowserNotSpecifiedError] if cloud driver and missing browser name