lib/testcentricity_web/environment.rb in testcentricity_web-2.0.21 vs lib/testcentricity_web/environment.rb in testcentricity_web-2.0.23

- old
+ new

@@ -90,11 +90,11 @@ else @test_environment.downcase.to_sym end end - # @deprecated Please use {#Environ.browser =} instead + # @deprecated Please use {#browser=} instead def self.set_browser(browser) warn "[DEPRECATION] 'TestCentricity::Environ.set_browser' is deprecated. Please use 'Environ.browser =' instead." @browser = browser.downcase.to_sym end @@ -112,11 +112,11 @@ def self.browser_size @browser_size end - # @deprecated Please use {#Environ.os =} instead + # @deprecated Please use {#os=} instead def self.set_os(os) warn "[DEPRECATION] 'TestCentricity::Environ.set_os' is deprecated. Please use 'Environ.os =' instead." @os = os end @@ -126,11 +126,11 @@ def self.os @os end - # @deprecated Please use {#Environ.device =} instead + # @deprecated Please use {#device=} instead def self.set_device(device) warn "[DEPRECATION] 'TestCentricity::Environ.set_device' is deprecated. Please use 'Environ.device =' instead." @device = device end @@ -140,11 +140,11 @@ def self.is_device? @device end - # @deprecated Please use {#Environ.device_type =} instead + # @deprecated Please use {#device_type=} instead def self.set_device_type(type) warn "[DEPRECATION] 'TestCentricity::Environ.set_device_type' is deprecated. Please use 'Environ.device_type =' instead." @device_type = type.downcase end @@ -170,11 +170,11 @@ def self.device_orientation @device_orientation end - # @deprecated Please use {#Environ.platform =} instead + # @deprecated Please use {#platform=} instead def self.set_platform(platform) warn "[DEPRECATION] 'TestCentricity::Environ.set_platform' is deprecated. Please use 'Environ.platform =' instead." @platform = platform end @@ -196,11 +196,11 @@ def self.is_signed_in? @signed_in end - # @deprecated Please use {#Environ.portal_state =} instead + # @deprecated Please use {#portal_state=} instead def self.set_portal_state(portal_state) warn "[DEPRECATION] 'TestCentricity::Environ.set_portal_state' is deprecated. Please use 'Environ.portal_state =' instead." @portal_status = portal_state end @@ -210,10 +210,10 @@ def self.portal_state @portal_status end - # @deprecated Please use {#Environ.portal_context =} instead + # @deprecated Please use {#portal_context=} instead def self.set_portal_context(portal_context) warn "[DEPRECATION] 'TestCentricity::Environ.set_portal_context' is deprecated. Please use 'Environ.portal_context =' instead." @portal_context = portal_context end