You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it'should log an error when provided a datafile of unsupported version'do
116
-
expect_any_instance_of(Optimizely::SimpleLogger).toreceive(:log).once.with(Logger::ERROR,'Provided datafile is an unsupported version. Please use SDK version 1.1.2 or earlier for datafile version 1.')
126
+
it'should log and raise an error when provided a datafile of unsupported version'do
expect_any_instance_of(Optimizely::SimpleLogger).toreceive(:log).once.with(Logger::ERROR,"This version of the Ruby SDK does not support the given datafile version: #{config_body_invalid_json['version']}.")
0 commit comments